I was able to use your Colab, but ran into some issues while trying to set things up locally (on a fresh ubuntu:latest Docker image, after having installed a reasonable set of system dependencies to support building things from source).
The problematic step for me was this one:
pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers
Here is the error I bumped into:
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/14] c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/small_k.o.d -pthread -B /root/miniconda3/envs/glv/compi
ler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/envs/gl
v/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/T
H -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csr
c/attention/cpu/small_k.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/small_k.o -O3 -fopenmp -DTORCH_API_INCLUDE_EXT
ENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/small_k.o
c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/small_k.o.d -pthread -B /root/miniconda3/envs/glv/compiler_com
pat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/envs/glv/lib/p
ython3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/TH -I/ro
ot/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc/atten
tion/cpu/small_k.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/small_k.o -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_
H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/ATen/cpu/vec/vec256/vec256.h:8,
from /root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/ATen/cpu/vec/vec.h:6,
from /root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/ATen/cpu/vec/functional_base.h:6,
from /root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/ATen/cpu/vec/functional.h:3,
from /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc/attention/cpu/small_k.cpp:14:
/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/ATen/cpu/vec/vec_base.h:976: warning: ignoring ‘#pragma unroll ’ [-Wunknown-pragmas]
976 | # pragma unroll
|
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[2/14] c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/autograd/matmul.o.d -pthread -B /root/miniconda3/envs/glv/c
ompiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/env
s/glv/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/inclu
de/TH -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers
/csrc/attention/autograd/matmul.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/autograd/matmul.o -O3 -fopenmp -DTORCH_API
_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/autograd/matmul.o
c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/autograd/matmul.o.d -pthread -B /root/miniconda3/envs/glv/compiler
_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/envs/glv/l
ib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/TH -
I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc/a
ttention/autograd/matmul.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/autograd/matmul.o -O3 -fopenmp -DTORCH_API_INCLUD
E_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[3/14] c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/attention.o.d -pthread -B /root/miniconda3/envs/glv/compile
r_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/envs/glv/
lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/TH
-I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc/
attention/attention.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/attention.o -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION
_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[4/14] c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/matmul.o.d -pthread -B /root/miniconda3/envs/glv/compil
er_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/envs/glv
/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/TH
-I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc
/attention/cpu/matmul.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/matmul.o -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENS
ION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[5/14] c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/sparse_softmax.o.d -pthread -B /root/miniconda3/envs/gl
v/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/
envs/glv/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/in
clude/TH -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xform
ers/csrc/attention/cpu/sparse_softmax.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/sparse_softmax.o -O3 -fopenmp -D
TORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[6/14] c++ -MMD -MF /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/sddmm.o.d -pthread -B /root/miniconda3/envs/glv/compile
r_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc -I/root/miniconda3/envs/glv/
lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/TH
-I/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/include/THC -I/root/miniconda3/envs/glv/include/python3.8 -c -c /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/xformers/csrc/
attention/cpu/sddmm.cpp -o /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/build/temp.linux-x86_64-cpython-38/xformers/csrc/attention/cpu/sddmm.o -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION
_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1900, in _run_ninja_build
subprocess.run(
File "/root/miniconda3/envs/glv/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/setup.py", line 397, in <module>
setuptools.setup(
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 346, in run
self.run_command("build")
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/setup.py", line 342, in build_extensions
super().build_extensions()
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
objects = self.compiler.compile(
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 658, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1573, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/root/miniconda3/envs/glv/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1916, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /root/miniconda3/envs/glv/bin/python -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-ijkrp58n
cwd: /tmp/pip-install-ju61h9ea/xformers_5a4f9261469340c192ed2be26d8fc695/
ERROR: Failed building wheel for xformers
Building wheel for xformers (setup.py): finished with status 'error'
Running setup.py clean for xformers
Running command python setup.py clean
No CUDA runtime is found, using CUDA_HOME='/root/miniconda3/envs/glv'
running clean
'build/lib.linux-x86_64-cpython-38' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.8' does not exist -- can't clean it
Failed to build xformers
ERROR: Could not build wheels for xformers, which is required to install pyproject.toml-based projects
The setup instructions from https://github.com/facebookresearch/xformers are also incompatible with this project, due to software version conflicts (e.g. even the Python version).
It would be great if you could provide a Dockerfile in this repository. It would make it super easy for users to try things out locally without having to worry about issues like this.
PS: Congratulations on this project, it's very impressive.
Hi!
I was able to use your Colab, but ran into some issues while trying to set things up locally (on a fresh ubuntu:latest Docker image, after having installed a reasonable set of system dependencies to support building things from source).
The problematic step for me was this one:
pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers
Here is the error I bumped into:
The setup instructions from https://github.com/facebookresearch/xformers are also incompatible with this project, due to software version conflicts (e.g. even the Python version). It would be great if you could provide a Dockerfile in this repository. It would make it super easy for users to try things out locally without having to worry about issues like this.
PS: Congratulations on this project, it's very impressive.