Open mrorii opened 1 year ago
If I want to use xformers 0.0.21 with python
3.10.9
, do I need to install from source?
Following up on this, I verified that after installing from source, the output of python -m xformers.info
no longer contains the xFormers can't load C++/CUDA extensions
warning:
root@0b7da6dd0c4a:/# python -m xformers.info
xFormers 0.0.21+320b5ad.d20230915
memory_efficient_attention.cutlassF: available
memory_efficient_attention.cutlassB: available
memory_efficient_attention.decoderF: available
memory_efficient_attention.flshattF@v2.0.8: available
memory_efficient_attention.flshattB@v2.0.8: available
memory_efficient_attention.smallkF: available
memory_efficient_attention.smallkB: available
memory_efficient_attention.tritonflashattF: unavailable
memory_efficient_attention.tritonflashattB: unavailable
indexing.scaled_index_addF: available
indexing.scaled_index_addB: available
indexing.index_select: available
swiglu.dual_gemm_silu: available
swiglu.gemm_fused_operand_sum: available
swiglu.fused.p.cpp: available
is_triton_available: True
is_functorch_available: False
pytorch.version: 2.0.1+cu118
pytorch.cuda: available
gpu.compute_capability: 8.6
gpu.name: NVIDIA A10G
build.info: available
build.cuda_version: 1108
build.python_version: 3.10.9
build.torch_version: 2.0.1+cu118
build.env.TORCH_CUDA_ARCH_LIST: 3.7 5.0 7.0+PTX 7.5+PTX 8.0
build.env.XFORMERS_BUILD_TYPE: None
build.env.XFORMERS_ENABLE_DEBUG_ASSERTIONS: None
build.env.NVCC_FLAGS: None
build.env.XFORMERS_PACKAGE_FROM: None
build.nvcc_version: 11.8.89
source.privacy: open source
❓ Questions and Help
Hello, thanks for developing this great library!
I'm currently trying to install xformers on an AWS Deep Learning Container, but when running
python -m xformers.info
to check the installation, it looks like it fails due to incompatible Python versions and was wondering whether the pip wheels target a specific Python patch version.I'm not sure where the
build.python_version
of3.10.12
is coming from, even though I'm using python3.10.9
. If I want to use xformers 0.0.21 with python3.10.9
, do I need to install from source?