Created
December 18, 2021 23:23
-
-
Save jramapuram/c4a8e6f372a6fceb96d88c09e0b27cad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(pytorch1.10.0-py39) ➜ ~ pip install xformers | |
Collecting xformers | |
Using cached xformers-0.0.7.tar.gz (95 kB) | |
Preparing metadata (setup.py) ... done | |
Requirement already satisfied: torch>=1.8.1 in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages (from xformers) (1.10.0) | |
Requirement already satisfied: numpy in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages (from xformers) (1.21.4) | |
Requirement already satisfied: pyre-extensions==0.0.23 in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages (from xformers) (0.0.23) | |
Requirement already satisfied: typing-inspect in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages (from pyre-extensions==0.0.23->xformers) (0.7.1) | |
Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages (from pyre-extensions==0.0.23->xformers) (4.0.0) | |
Requirement already satisfied: mypy-extensions>=0.3.0 in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages (from typing-inspect->pyre-extensions==0.0.23->xformers) (0.4.3) | |
Building wheels for collected packages: xformers | |
Building wheel for xformers (setup.py) ... error | |
ERROR: Command errored out with exit status 1: | |
command: /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"'; __file__='"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-wheel-4m6s2pkz | |
cwd: /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/ | |
Complete output (143 lines): | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.macosx-11.0-arm64-3.9 | |
creating build/lib.macosx-11.0-arm64-3.9/xformers | |
copying xformers/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers | |
copying xformers/utils.py -> build/lib.macosx-11.0-arm64-3.9/xformers | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/fused_linear_layer.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/activations.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/k_layer_norm.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/utils.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/k_fused_matmul_fw.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/dropout.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/k_dropout.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/softmax.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/layer_norm.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/k_fused_matmul_bw.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
copying xformers/triton/k_softmax.py -> build/lib.macosx-11.0-arm64-3.9/xformers/triton | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/components | |
copying xformers/components/in_proj_container.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components | |
copying xformers/components/residual.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components | |
copying xformers/components/reversible.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components | |
copying xformers/components/activations.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components | |
copying xformers/components/multi_head_dispatch.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components | |
copying xformers/components/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_vit_timm.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_revnet.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_triton_layernorm.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_triton_fused_linear.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_triton_blocksparse.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_triton_softmax.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/utils.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_encoder.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_triton_dropout.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_pytorch_transformer.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_nystrom_utils.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_sddmm.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
copying xformers/benchmarks/benchmark_core.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/helpers | |
copying xformers/helpers/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/helpers | |
copying xformers/helpers/timm_sparse_attention.py -> build/lib.macosx-11.0-arm64-3.9/xformers/helpers | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/factory | |
copying xformers/factory/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/factory | |
copying xformers/factory/block_factory.py -> build/lib.macosx-11.0-arm64-3.9/xformers/factory | |
copying xformers/factory/model_factory.py -> build/lib.macosx-11.0-arm64-3.9/xformers/factory | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/global_tokens.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/ortho.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/blocksparse.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/local.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/_sputnik_sparse.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/core.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/lambda_layer.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/random.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/fourier_mix.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/scaled_dot_product.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/utils.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/attention_mask.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/linformer.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/attention_patterns.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/nystrom.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/favor.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
copying xformers/components/attention/base.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/components/feedforward | |
copying xformers/components/feedforward/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/feedforward | |
copying xformers/components/feedforward/mlp.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/feedforward | |
copying xformers/components/feedforward/fused_mlp.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/feedforward | |
copying xformers/components/feedforward/base.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/feedforward | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/components/positional_embedding | |
copying xformers/components/positional_embedding/vocab.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/positional_embedding | |
copying xformers/components/positional_embedding/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/positional_embedding | |
copying xformers/components/positional_embedding/sine.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/positional_embedding | |
copying xformers/components/positional_embedding/rotary.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/positional_embedding | |
copying xformers/components/positional_embedding/base.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/positional_embedding | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/components/attention/feature_maps | |
copying xformers/components/attention/feature_maps/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention/feature_maps | |
copying xformers/components/attention/feature_maps/softmax.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention/feature_maps | |
copying xformers/components/attention/feature_maps/base.py -> build/lib.macosx-11.0-arm64-3.9/xformers/components/attention/feature_maps | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
copying xformers/benchmarks/LRA/batch_submit.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
copying xformers/benchmarks/LRA/batch_fetch_results.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
copying xformers/benchmarks/LRA/run_with_submitit.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
copying xformers/benchmarks/LRA/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
copying xformers/benchmarks/LRA/run_tasks.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
copying xformers/benchmarks/LRA/run_grid_search.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA | |
creating build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA/code | |
copying xformers/benchmarks/LRA/code/__init__.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA/code | |
copying xformers/benchmarks/LRA/code/model_wrapper.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA/code | |
copying xformers/benchmarks/LRA/code/dataset.py -> build/lib.macosx-11.0-arm64-3.9/xformers/benchmarks/LRA/code | |
running build_ext | |
building 'xformers._C' extension | |
Emitting ninja build file /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/build/temp.macosx-11.0-arm64-3.9/build.ninja... | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py", line 121, in <module> | |
setuptools.setup( | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup | |
return distutils.core.setup(**attrs) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 966, in run_commands | |
self.run_command(cmd) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run | |
self.run_command('build') | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run | |
_build_ext.run(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 340, in run | |
self.build_extensions() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions | |
build_ext.build_extensions(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions | |
self._build_extensions_serial() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial | |
self.build_extension(ext) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 202, in build_extension | |
_build_ext.build_extension(self, ext) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension | |
objects = self.compiler.compile(sources, | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 556, in unix_wrap_ninja_compile | |
_write_ninja_file_and_compile_objects( | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1386, in _write_ninja_file_and_compile_objects | |
_write_ninja_file( | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1926, in _write_ninja_file | |
assert len(sources) > 0 | |
AssertionError | |
---------------------------------------- | |
ERROR: Failed building wheel for xformers | |
Running setup.py clean for xformers | |
ERROR: Command errored out with exit status 1: | |
command: /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"'; __file__='"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all | |
cwd: /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00 | |
Complete output (2 lines): | |
running clean | |
error: [Errno 2] No such file or directory: '.gitignore' | |
---------------------------------------- | |
ERROR: Failed cleaning build dir for xformers | |
Failed to build xformers | |
Installing collected packages: xformers | |
Running setup.py install for xformers ... error | |
ERROR: Command errored out with exit status 1: | |
command: /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"'; __file__='"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-record-8_9ohfcd/install-record.txt --single-version-externally-managed --compile --install-headers /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/include/python3.9/xformers | |
cwd: /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/ | |
Complete output (55 lines): | |
running install | |
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
running build | |
running build_py | |
running build_ext | |
building 'xformers._C' extension | |
Emitting ninja build file /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/build/temp.macosx-11.0-arm64-3.9/build.ninja... | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py", line 121, in <module> | |
setuptools.setup( | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup | |
return distutils.core.setup(**attrs) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/core.py", line 148, in setup | |
dist.run_commands() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 966, in run_commands | |
self.run_command(cmd) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run | |
return orig.install.run(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/install.py", line 546, in run | |
self.run_command('build') | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build.py", line 135, in run | |
self.run_command(cmd_name) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/cmd.py", line 313, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/dist.py", line 985, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run | |
_build_ext.run(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 340, in run | |
self.build_extensions() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions | |
build_ext.build_extensions(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions | |
self._build_extensions_serial() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial | |
self.build_extension(ext) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 202, in build_extension | |
_build_ext.build_extension(self, ext) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension | |
objects = self.compiler.compile(sources, | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 556, in unix_wrap_ninja_compile | |
_write_ninja_file_and_compile_objects( | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1386, in _write_ninja_file_and_compile_objects | |
_write_ninja_file( | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1926, in _write_ninja_file | |
assert len(sources) > 0 | |
AssertionError | |
---------------------------------------- | |
ERROR: Command errored out with exit status 1: /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"'; __file__='"'"'/private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-install-5ivfy5mg/xformers_6948d373bb1b4b69aec847934af0dd00/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/bc/f1m4skms411d78k1nnw1mm0h0000gn/T/pip-record-8_9ohfcd/install-record.txt --single-version-externally-managed --compile --install-headers /opt/homebrew/Caskroom/miniforge/base/envs/pytorch1.10.0-py39/include/python3.9/xformers Check the logs for full command output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment