Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vikanezrimaya/9c3ef4df90db445489ed71418e275c7e to your computer and use it in GitHub Desktop.
Save vikanezrimaya/9c3ef4df90db445489ed71418e275c7e to your computer and use it in GitHub Desktop.
python3Packages.accelerate build failure log (with ROCm)
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/ys57j62krrglks7h8fvmsdxgssq6h1wi-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/utils/stale.py
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing pypaBuildPhase
Creating a wheel...
* Getting build dependencies for wheel...
running egg_info
creating src/accelerate.egg-info
writing src/accelerate.egg-info/PKG-INFO
writing dependency_links to src/accelerate.egg-info/dependency_links.txt
writing entry points to src/accelerate.egg-info/entry_points.txt
writing requirements to src/accelerate.egg-info/requires.txt
writing top-level names to src/accelerate.egg-info/top_level.txt
writing manifest file 'src/accelerate.egg-info/SOURCES.txt'
reading manifest file 'src/accelerate.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/accelerate.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/accelerate
copying src/accelerate/__init__.py -> build/lib/accelerate
copying src/accelerate/accelerator.py -> build/lib/accelerate
copying src/accelerate/big_modeling.py -> build/lib/accelerate
copying src/accelerate/checkpointing.py -> build/lib/accelerate
copying src/accelerate/data_loader.py -> build/lib/accelerate
copying src/accelerate/hooks.py -> build/lib/accelerate
copying src/accelerate/inference.py -> build/lib/accelerate
copying src/accelerate/launchers.py -> build/lib/accelerate
copying src/accelerate/local_sgd.py -> build/lib/accelerate
copying src/accelerate/logging.py -> build/lib/accelerate
copying src/accelerate/memory_utils.py -> build/lib/accelerate
copying src/accelerate/optimizer.py -> build/lib/accelerate
copying src/accelerate/scheduler.py -> build/lib/accelerate
copying src/accelerate/state.py -> build/lib/accelerate
copying src/accelerate/tracking.py -> build/lib/accelerate
creating build/lib/accelerate/commands
copying src/accelerate/commands/__init__.py -> build/lib/accelerate/commands
copying src/accelerate/commands/accelerate_cli.py -> build/lib/accelerate/commands
copying src/accelerate/commands/env.py -> build/lib/accelerate/commands
copying src/accelerate/commands/estimate.py -> build/lib/accelerate/commands
copying src/accelerate/commands/launch.py -> build/lib/accelerate/commands
copying src/accelerate/commands/test.py -> build/lib/accelerate/commands
copying src/accelerate/commands/tpu.py -> build/lib/accelerate/commands
creating build/lib/accelerate/test_utils
copying src/accelerate/test_utils/__init__.py -> build/lib/accelerate/test_utils
copying src/accelerate/test_utils/examples.py -> build/lib/accelerate/test_utils
copying src/accelerate/test_utils/testing.py -> build/lib/accelerate/test_utils
copying src/accelerate/test_utils/training.py -> build/lib/accelerate/test_utils
creating build/lib/accelerate/utils
copying src/accelerate/utils/__init__.py -> build/lib/accelerate/utils
copying src/accelerate/utils/bnb.py -> build/lib/accelerate/utils
copying src/accelerate/utils/constants.py -> build/lib/accelerate/utils
copying src/accelerate/utils/dataclasses.py -> build/lib/accelerate/utils
copying src/accelerate/utils/deepspeed.py -> build/lib/accelerate/utils
copying src/accelerate/utils/environment.py -> build/lib/accelerate/utils
copying src/accelerate/utils/fsdp_utils.py -> build/lib/accelerate/utils
copying src/accelerate/utils/imports.py -> build/lib/accelerate/utils
copying src/accelerate/utils/launch.py -> build/lib/accelerate/utils
copying src/accelerate/utils/megatron_lm.py -> build/lib/accelerate/utils
copying src/accelerate/utils/memory.py -> build/lib/accelerate/utils
copying src/accelerate/utils/modeling.py -> build/lib/accelerate/utils
copying src/accelerate/utils/offload.py -> build/lib/accelerate/utils
copying src/accelerate/utils/operations.py -> build/lib/accelerate/utils
copying src/accelerate/utils/other.py -> build/lib/accelerate/utils
copying src/accelerate/utils/random.py -> build/lib/accelerate/utils
copying src/accelerate/utils/rich.py -> build/lib/accelerate/utils
copying src/accelerate/utils/torch_xla.py -> build/lib/accelerate/utils
copying src/accelerate/utils/tqdm.py -> build/lib/accelerate/utils
copying src/accelerate/utils/transformer_engine.py -> build/lib/accelerate/utils
copying src/accelerate/utils/versions.py -> build/lib/accelerate/utils
creating build/lib/accelerate/commands/config
copying src/accelerate/commands/config/__init__.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/cluster.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/config.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/config_args.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/config_utils.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/default.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/sagemaker.py -> build/lib/accelerate/commands/config
copying src/accelerate/commands/config/update.py -> build/lib/accelerate/commands/config
creating build/lib/accelerate/commands/menu
copying src/accelerate/commands/menu/__init__.py -> build/lib/accelerate/commands/menu
copying src/accelerate/commands/menu/cursor.py -> build/lib/accelerate/commands/menu
copying src/accelerate/commands/menu/helpers.py -> build/lib/accelerate/commands/menu
copying src/accelerate/commands/menu/input.py -> build/lib/accelerate/commands/menu
copying src/accelerate/commands/menu/keymap.py -> build/lib/accelerate/commands/menu
copying src/accelerate/commands/menu/selection_menu.py -> build/lib/accelerate/commands/menu
creating build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/__init__.py -> build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/test_cli.py -> build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/test_distributed_data_loop.py -> build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/test_notebook.py -> build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/test_ops.py -> build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/test_script.py -> build/lib/accelerate/test_utils/scripts
copying src/accelerate/test_utils/scripts/test_sync.py -> build/lib/accelerate/test_utils/scripts
creating build/lib/accelerate/test_utils/scripts/external_deps
copying src/accelerate/test_utils/scripts/external_deps/__init__.py -> build/lib/accelerate/test_utils/scripts/external_deps
copying src/accelerate/test_utils/scripts/external_deps/test_checkpointing.py -> build/lib/accelerate/test_utils/scripts/external_deps
copying src/accelerate/test_utils/scripts/external_deps/test_metrics.py -> build/lib/accelerate/test_utils/scripts/external_deps
copying src/accelerate/test_utils/scripts/external_deps/test_peak_memory_usage.py -> build/lib/accelerate/test_utils/scripts/external_deps
copying src/accelerate/test_utils/scripts/external_deps/test_performance.py -> build/lib/accelerate/test_utils/scripts/external_deps
copying src/accelerate/test_utils/scripts/external_deps/test_pippy.py -> build/lib/accelerate/test_utils/scripts/external_deps
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/accelerator.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/big_modeling.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/checkpointing.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/data_loader.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/hooks.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/inference.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/launchers.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/local_sgd.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/logging.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/memory_utils.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/optimizer.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/scheduler.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/state.py -> build/bdist.linux-x86_64/wheel/accelerate
copying build/lib/accelerate/tracking.py -> build/bdist.linux-x86_64/wheel/accelerate
creating build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/accelerate_cli.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/env.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/estimate.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/launch.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/test.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
copying build/lib/accelerate/commands/tpu.py -> build/bdist.linux-x86_64/wheel/accelerate/commands
creating build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/cluster.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/config.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/config_args.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/config_utils.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/default.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/sagemaker.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
copying build/lib/accelerate/commands/config/update.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/config
creating build/bdist.linux-x86_64/wheel/accelerate/commands/menu
copying build/lib/accelerate/commands/menu/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/menu
copying build/lib/accelerate/commands/menu/cursor.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/menu
copying build/lib/accelerate/commands/menu/helpers.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/menu
copying build/lib/accelerate/commands/menu/input.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/menu
copying build/lib/accelerate/commands/menu/keymap.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/menu
copying build/lib/accelerate/commands/menu/selection_menu.py -> build/bdist.linux-x86_64/wheel/accelerate/commands/menu
creating build/bdist.linux-x86_64/wheel/accelerate/test_utils
copying build/lib/accelerate/test_utils/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils
copying build/lib/accelerate/test_utils/examples.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils
copying build/lib/accelerate/test_utils/testing.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils
copying build/lib/accelerate/test_utils/training.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils
creating build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/test_cli.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/test_distributed_data_loop.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/test_notebook.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/test_ops.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/test_script.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
copying build/lib/accelerate/test_utils/scripts/test_sync.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts
creating build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
copying build/lib/accelerate/test_utils/scripts/external_deps/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
copying build/lib/accelerate/test_utils/scripts/external_deps/test_checkpointing.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
copying build/lib/accelerate/test_utils/scripts/external_deps/test_metrics.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
copying build/lib/accelerate/test_utils/scripts/external_deps/test_peak_memory_usage.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
copying build/lib/accelerate/test_utils/scripts/external_deps/test_performance.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
copying build/lib/accelerate/test_utils/scripts/external_deps/test_pippy.py -> build/bdist.linux-x86_64/wheel/accelerate/test_utils/scripts/external_deps
creating build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/__init__.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/bnb.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/constants.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/dataclasses.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/deepspeed.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/environment.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/fsdp_utils.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/imports.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/launch.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/megatron_lm.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/memory.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/modeling.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/offload.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/operations.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/other.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/random.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/rich.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/torch_xla.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/tqdm.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/transformer_engine.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
copying build/lib/accelerate/utils/versions.py -> build/bdist.linux-x86_64/wheel/accelerate/utils
running install_egg_info
running egg_info
writing src/accelerate.egg-info/PKG-INFO
writing dependency_links to src/accelerate.egg-info/dependency_links.txt
writing entry points to src/accelerate.egg-info/entry_points.txt
writing requirements to src/accelerate.egg-info/requires.txt
writing top-level names to src/accelerate.egg-info/top_level.txt
reading manifest file 'src/accelerate.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/accelerate.egg-info/SOURCES.txt'
Copying src/accelerate.egg-info to build/bdist.linux-x86_64/wheel/accelerate-0.27.0-py3.11.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/accelerate-0.27.0.dist-info/WHEEL
creating '/build/source/dist/.tmp-wv3vukns/accelerate-0.27.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'accelerate/__init__.py'
adding 'accelerate/accelerator.py'
adding 'accelerate/big_modeling.py'
adding 'accelerate/checkpointing.py'
adding 'accelerate/data_loader.py'
adding 'accelerate/hooks.py'
adding 'accelerate/inference.py'
adding 'accelerate/launchers.py'
adding 'accelerate/local_sgd.py'
adding 'accelerate/logging.py'
adding 'accelerate/memory_utils.py'
adding 'accelerate/optimizer.py'
adding 'accelerate/scheduler.py'
adding 'accelerate/state.py'
adding 'accelerate/tracking.py'
adding 'accelerate/commands/__init__.py'
adding 'accelerate/commands/accelerate_cli.py'
adding 'accelerate/commands/env.py'
adding 'accelerate/commands/estimate.py'
adding 'accelerate/commands/launch.py'
adding 'accelerate/commands/test.py'
adding 'accelerate/commands/tpu.py'
adding 'accelerate/commands/config/__init__.py'
adding 'accelerate/commands/config/cluster.py'
adding 'accelerate/commands/config/config.py'
adding 'accelerate/commands/config/config_args.py'
adding 'accelerate/commands/config/config_utils.py'
adding 'accelerate/commands/config/default.py'
adding 'accelerate/commands/config/sagemaker.py'
adding 'accelerate/commands/config/update.py'
adding 'accelerate/commands/menu/__init__.py'
adding 'accelerate/commands/menu/cursor.py'
adding 'accelerate/commands/menu/helpers.py'
adding 'accelerate/commands/menu/input.py'
adding 'accelerate/commands/menu/keymap.py'
adding 'accelerate/commands/menu/selection_menu.py'
adding 'accelerate/test_utils/__init__.py'
adding 'accelerate/test_utils/examples.py'
adding 'accelerate/test_utils/testing.py'
adding 'accelerate/test_utils/training.py'
adding 'accelerate/test_utils/scripts/__init__.py'
adding 'accelerate/test_utils/scripts/test_cli.py'
adding 'accelerate/test_utils/scripts/test_distributed_data_loop.py'
adding 'accelerate/test_utils/scripts/test_notebook.py'
adding 'accelerate/test_utils/scripts/test_ops.py'
adding 'accelerate/test_utils/scripts/test_script.py'
adding 'accelerate/test_utils/scripts/test_sync.py'
adding 'accelerate/test_utils/scripts/external_deps/__init__.py'
adding 'accelerate/test_utils/scripts/external_deps/test_checkpointing.py'
adding 'accelerate/test_utils/scripts/external_deps/test_metrics.py'
adding 'accelerate/test_utils/scripts/external_deps/test_peak_memory_usage.py'
adding 'accelerate/test_utils/scripts/external_deps/test_performance.py'
adding 'accelerate/test_utils/scripts/external_deps/test_pippy.py'
adding 'accelerate/utils/__init__.py'
adding 'accelerate/utils/bnb.py'
adding 'accelerate/utils/constants.py'
adding 'accelerate/utils/dataclasses.py'
adding 'accelerate/utils/deepspeed.py'
adding 'accelerate/utils/environment.py'
adding 'accelerate/utils/fsdp_utils.py'
adding 'accelerate/utils/imports.py'
adding 'accelerate/utils/launch.py'
adding 'accelerate/utils/megatron_lm.py'
adding 'accelerate/utils/memory.py'
adding 'accelerate/utils/modeling.py'
adding 'accelerate/utils/offload.py'
adding 'accelerate/utils/operations.py'
adding 'accelerate/utils/other.py'
adding 'accelerate/utils/random.py'
adding 'accelerate/utils/rich.py'
adding 'accelerate/utils/torch_xla.py'
adding 'accelerate/utils/tqdm.py'
adding 'accelerate/utils/transformer_engine.py'
adding 'accelerate/utils/versions.py'
adding 'accelerate-0.27.0.dist-info/LICENSE'
adding 'accelerate-0.27.0.dist-info/METADATA'
adding 'accelerate-0.27.0.dist-info/WHEEL'
adding 'accelerate-0.27.0.dist-info/entry_points.txt'
adding 'accelerate-0.27.0.dist-info/top_level.txt'
adding 'accelerate-0.27.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built accelerate-0.27.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for accelerate-0.27.0-py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed accelerate-0.27.0-py3-none-any.whl
Finished executing pypaInstallPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Running phase: pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0
checking for references to /build/ in /nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0...
patching script interpreter paths in /nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0
stripping (with command strip and flags -S -p) in /nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/lib /nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/4d4pj3i7z1ajysb1ccnnym7bq0w6gk3h-python3.11-accelerate-0.27.0-dist
checking for references to /build/ in /nix/store/4d4pj3i7z1ajysb1ccnnym7bq0w6gk3h-python3.11-accelerate-0.27.0-dist...
patching script interpreter paths in /nix/store/4d4pj3i7z1ajysb1ccnnym7bq0w6gk3h-python3.11-accelerate-0.27.0-dist
Rewriting #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python3.11 to #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8
wrapping `/nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/bin/accelerate'...
Rewriting #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python3.11 to #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8
wrapping `/nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/bin/accelerate-config'...
Rewriting #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python3.11 to #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8
wrapping `/nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/bin/accelerate-estimate-memory'...
Rewriting #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python3.11 to #!/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8
wrapping `/nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/bin/accelerate-launch'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
Running phase: installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Running phase: pythonImportsCheckPhase
Executing pythonImportsCheckPhase
Check whether the following modules can be imported: accelerate
There was a problem when trying to write in your cache folder (/homeless-shelter/.cache/huggingface/hub). You should set the environment variable TRANSFORMERS_CACHE to a writable directory.
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
Running phase: pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
rootdir: /build/source
collecting ...  collecting 0 items  collected 300 items / 26 deselected / 274 selected 
tests/test_accelerator.py ssssss..s............. [ 8%]
tests/test_big_modeling.py .ss.s.s.ssssssssssssssssss..ssssssss [ 21%]
tests/test_cli.py ....s.........s [ 26%]
tests/test_cpu.py .. [ 27%]
tests/test_data_loader.py ........... [ 31%]
tests/test_examples.py .. [ 32%]
tests/test_grad_sync.py ..ss [ 33%]
tests/test_hooks.py ...s...... [ 37%]
tests/test_kwargs_handlers.py sss.. [ 39%]
tests/test_memory_utils.py ....s.. [ 41%]
tests/test_metrics.py ssFatal Python error: Aborted
Thread 0x00007ffdada006c0 (most recent call first):
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/threading.py", line 331 in wait
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/threading.py", line 629 in wait
File "/nix/store/yd5z6lnhsjim5ik01zbjaijnagi2mn5d-python3.11-tqdm-4.66.2/lib/python3.11/site-packages/tqdm/_monitor.py", line 60 in run
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/threading.py", line 1045 in _bootstrap_inner
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/threading.py", line 1002 in _bootstrap
Current thread 0x00007ffff7eaf740 (most recent call first):
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 1241 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/axmnjinwgvl6drzx61clvxclhmh4wzw3-python3.11-pyarrow-15.0.0/lib/python3.11/site-packages/pyarrow/__init__.py", line 65 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/nm9q1ykw4d8rxhyslcq50kjajy75dk2a-python3.11-pandas-2.2.1/lib/python3.11/site-packages/pandas/compat/pyarrow.py", line 8 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/nm9q1ykw4d8rxhyslcq50kjajy75dk2a-python3.11-pandas-2.2.1/lib/python3.11/site-packages/pandas/compat/__init__.py", line 27 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/nm9q1ykw4d8rxhyslcq50kjajy75dk2a-python3.11-pandas-2.2.1/lib/python3.11/site-packages/pandas/__init__.py", line 26 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/72dvbl0dsscvhfqh23bxmb2bdhq4lw7a-python3.11-datasets-2.18.0/lib/python3.11/site-packages/datasets/arrow_dataset.py", line 59 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/72dvbl0dsscvhfqh23bxmb2bdhq4lw7a-python3.11-datasets-2.18.0/lib/python3.11/site-packages/datasets/__init__.py", line 18 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/nix/store/h7lw224pj3lg1c0vy28vc22f39b9310m-python3.11-accelerate-0.27.0/lib/python3.11/site-packages/accelerate/test_utils/scripts/external_deps/test_metrics.py", line 20 in <module>
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/assertion/rewrite.py", line 186 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1232 in _handle_fromlist
File "/build/source/tests/test_metrics.py", line 40 in setUp
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/unittest/case.py", line 576 in _callSetUp
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/unittest/case.py", line 619 in run
File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/unittest/case.py", line 678 in __call__
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/unittest.py", line 333 in runtest
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_callers.py", line 102 in _multicall
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_manager.py", line 119 in _hookexec
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_hooks.py", line 501 in __call__
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 262 in <lambda>
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 341 in from_call
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 222 in call_and_report
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 133 in runtestprotocol
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_callers.py", line 102 in _multicall
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_manager.py", line 119 in _hookexec
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_hooks.py", line 501 in __call__
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/main.py", line 350 in pytest_runtestloop
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_callers.py", line 102 in _multicall
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_manager.py", line 119 in _hookexec
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_hooks.py", line 501 in __call__
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/main.py", line 325 in _main
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/main.py", line 271 in wrap_session
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/main.py", line 318 in pytest_cmdline_main
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_callers.py", line 102 in _multicall
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_manager.py", line 119 in _hookexec
File "/nix/store/yqcv2gvxqjw25ypg2vaixdfl6qcsgpna-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_hooks.py", line 501 in __call__
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/config/__init__.py", line 169 in main
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/config/__init__.py", line 192 in console_main
File "/nix/store/hhw56q66rd3sx60pxc19w5d17xbikgpv-python3.11-pytest-7.4.4/lib/python3.11/site-packages/pytest/__main__.py", line 5 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, yaml._yaml, _cffi_backend, google.protobuf.pyext._message, google3.net.proto2.python.internal.cpp._message, pyarrow.lib (total: 25)
/nix/store/a5ckgf82x3hbyxjchr2gq75vgp2h9h21-pytest-check-hook/nix-support/setup-hook: line 53: 801 Aborted (core dumped) /nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python3.11 -m pytest -k "not FeatureExamplesTests and not test_infer_auto_device_map_on_t0pp and not test_explicit_dtypes and not test_gated and not test_invalid_model_name and not test_invalid_model_name_transformers and not test_no_metadata and not test_no_split_modules and not test_remote_code and not test_transformers_model and not test_patch_environment_key_exists and not test_dynamo_extract_model" tests
/nix/store/v5lsd029lz5lfhamivbgqyp3zdv94ah2-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment