Unverified Commit 8aeac597 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

onnx: 1.20.1 -> 1.21.0 (#504718)

parents 3e55c89b 5cba6204
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,13 +33,13 @@ stdenv.mkDerivation (finalAttrs: {
  strictDeps = true;

  pname = "onnx";
  version = "1.20.1";
  version = "1.21.0";

  src = fetchFromGitHub {
    owner = "onnx";
    repo = "onnx";
    tag = "v${finalAttrs.version}";
    hash = "sha256-XZJXD6sBvVJ6cLPyDkKOW8oSkjqcw9whUqDWd7dxY3c=";
    hash = "sha256-eF6BdTwTuHh6ckuLGN1d6z2GLU47lPqtzu4zIv8+cTs=";
  };

  outputs = [
+4 −0
Original line number Diff line number Diff line
@@ -74,6 +74,10 @@ buildPythonPackage (finalAttrs: {
  disabledTestPaths = [
    # Circular dependency with onnxscript
    "src/onnx_ir/passes/common/common_subexpression_elimination_test.py"

    # ImportError: cannot import name 'hub' from 'onnx'
    # onnx.hub was removed in 1.21.0
    "tools/model_zoo_test/model_zoo_test.py"
  ];

  # Importing onnxruntime in the sandbox crashes on aarch64-linux: