python310Packages.torchinfo 1.7.2 -> 1.64 https://repology.org/project/python:torchinfo/versions attrpath: python310Packages.torchinfo Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/6jixzr4zaf710h6adbygwbxc0b9j32yj-packages.json.drv building '/nix/store/6jixzr4zaf710h6adbygwbxc0b9j32yj-packages.json.drv'... Going to be running update for following packages: - python3.10-torchinfo-1.7.2 Press Enter key to continue... Running update for: - python3.10-torchinfo-1.7.2: UPDATING ... - python3.10-torchinfo-1.7.2: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/torchinfo/default.nix b/pkgs/development/python-modules/torchinfo/default.nix index 420a5fd8dfc..e22993e8d23 100644 --- a/pkgs/development/python-modules/torchinfo/default.nix +++ b/pkgs/development/python-modules/torchinfo/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "torchinfo"; - version = "1.7.2"; + version = "1.64"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "TylerYep"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-O+I7BNQ5moV/ZcbbuP/IFoi0LO0WsGHBbSfgPmFu1Ec="; + hash = "sha256-gcl8RxCD017FP4LtB60WVtOh7jg2Otv/vNd9hKneEAU="; }; propagatedBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.torchinfo nix build failed. ) with torch.no_grad(): # type: ignore[no-untyped-call] if isinstance(x, (list, tuple)): _ = model.to(device)(*x, **kwargs) elif isinstance(x, dict): _ = model.to(device)(**x, **kwargs) else: # Should not reach this point, since process_input_data ensures # x is either a list, tuple, or dict raise ValueError("Unknown input type") except Exception as e: executed_layers = [layer for layer in summary_list if layer.executed] > raise RuntimeError( "Failed to run torchinfo. See above stack traces for more details. " f"Executed layers up to: {executed_layers}" ) from e E RuntimeError: Failed to run torchinfo. See above stack traces for more details. Executed layers up to: [] torchinfo/torchinfo.py:303: RuntimeError =============================== warnings summary =============================== tests/exceptions_test.py::test_exception /build/source/torchinfo/torchinfo.py:455: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() action_fn=lambda data: sys.getsizeof(data.storage()), -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/exceptions_test.py::test_input_size_half_precision - RuntimeError: Failed to run torchinfo. See above stack traces for more deta... ============== 1 failed, 48 passed, 5 skipped, 1 warning in 0.64s ============== /nix/store/blpvf60m29q02c0lc5fyhim30ma4y1vv-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context