python311Packages.accelerate 0 -> 1 attrpath: python311Packages.accelerate 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 [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/kfhx2d5qxqaxj17699ylylghdq7r5jmn-packages.json.drv building '/nix/store/kfhx2d5qxqaxj17699ylylghdq7r5jmn-packages.json.drv'... Going to be running update for following packages: - python3.11-accelerate-0.29.3 Press Enter key to continue... Running update for: - python3.11-accelerate-0.29.3: UPDATING ... - python3.11-accelerate-0.29.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index d3bfb9cf1b0c..136cd92aea1a 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "accelerate"; - version = "0.29.3"; + version = "0.30.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-oQGb/hlMN8JfwEyWufBvMk2Z1FMSl1lsdIbgZ3ZMdF8="; + hash = "sha256-E20pI5BrcTrMYrhriuOUl5/liSaQQy6eqRyCoauwb9Q="; }; nativeBuildInputs = [ setuptools ]; No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/03a4f9rij2z4mmwprlbip3mrnnfaw0yd-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.accelerate nix build failed. tests/test_accelerator.py:218: AssertionError =============================== warnings summary =============================== ../../nix/store/9r4lvpi270qc6p4bkqnaar9mywp8p1cd-python3.11-transformers-4.40.1/lib/python3.11/site-packages/transformers/utils/import_utils.py:401 /nix/store/9r4lvpi270qc6p4bkqnaar9mywp8p1cd-python3.11-transformers-4.40.1/lib/python3.11/site-packages/transformers/utils/import_utils.py:401: FutureWarning: The util is_torch_bf16_available is deprecated, please use is_torch_bf16_gpu_available or is_torch_bf16_cpu_available instead according to whether it's used with cpu or gpu warnings.warn( tests/test_accelerator.py::AcceleratorTester::test_save_model_offload_use_pytorch tests/test_accelerator.py::AcceleratorTester::test_save_model_offload_use_safetensors /nix/store/hcbriir9ndbq5k0pywz2fr56ygxgdmc3-python3.11-torch-2.2.2/lib/python3.11/site-packages/torch/nn/modules/module.py:2025: UserWarning: for batchnorm.weight: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?) warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta ' tests/test_accelerator.py::AcceleratorTester::test_save_model_offload_use_pytorch tests/test_accelerator.py::AcceleratorTester::test_save_model_offload_use_safetensors /nix/store/hcbriir9ndbq5k0pywz2fr56ygxgdmc3-python3.11-torch-2.2.2/lib/python3.11/site-packages/torch/nn/modules/module.py:2025: UserWarning: for batchnorm.bias: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?) warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta ' tests/test_utils.py::UtilsTester::test_honor_type /nix/store/zk9l6ljkw05124k3hpgv6qr7q37qjlz6-python3.11-accelerate-0.30.0/lib/python3.11/site-packages/accelerate/utils/operations.py:126: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor). return func(data, *args, **kwargs) tests/test_utils.py::UtilsTester::test_pad_across_processes /nix/store/hcbriir9ndbq5k0pywz2fr56ygxgdmc3-python3.11-torch-2.2.2/lib/python3.11/site-packages/torch/nested/__init__.py:166: UserWarning: The PyTorch API of nested tensors is in prototype stage and will change in the near future. (Triggered internally at /build/source/aten/src/ATen/NestedTensorImpl.cpp:177.) return _nested.nested_tensor( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_accelerator.py::AcceleratorTester::test_free_memory_dereferences_prepared_components - assert 92566 <= 92494 = 1 failed, 157 passed, 138 skipped, 28 deselected, 7 warnings in 71.20s (0:01:11) = /nix/store/558iw5j1bk7z6wrg8cp96q2rx03jqj1v-stdenv-linux/setup: line 1579: pop_var_context: head of shell_variables not a function context