Skip to content

xFormers wasn't build with CUDA support #1358

Closed

Description

@criogennn

trying start training on windows with RTX 3050 8GB

[email protected] is not supported because:
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
cutlassF-pt is not supported because:
xFormers wasn't build with CUDA support

-xformers 0.0.28.post3
-pytorch 2.5.1
-pytorch-cuda 12.1
-python 3.11.10

python -m xformers.info give me this

xFormers 0.0.28.post3
memory_efficient_attention.ckF: unavailable
memory_efficient_attention.ckB: unavailable
memory_efficient_attention.ck_decoderF: unavailable
memory_efficient_attention.ck_splitKF: unavailable
memory_efficient_attention.cutlassF-pt: available
memory_efficient_attention.cutlassB-pt: available
[email protected]: unavailable
[email protected]: unavailable
[email protected]: unavailable
[email protected]: unavailable
memory_efficient_attention.triton_splitKF: available
indexing.scaled_index_addF: available
indexing.scaled_index_addB: available
indexing.index_select: available
sequence_parallel_fused.write_values: available
sequence_parallel_fused.wait_values: available
sequence_parallel_fused.cuda_memset_32b_async: available
sp24.sparse24_sparsify_both_ways: available
sp24.sparse24_apply: available
sp24.sparse24_apply_dense_output: available
sp24._sparse24_gemm: available
[email protected]: available
[email protected]: available
swiglu.dual_gemm_silu: available
swiglu.gemm_fused_operand_sum: available
swiglu.fused.p.cpp: available
is_triton_available: True
pytorch.version: 2.5.1
pytorch.cuda: available
gpu.compute_capability: 8.6
gpu.name: NVIDIA GeForce RTX 3050
dcgm_profiler: unavailable
build.info: available
build.cuda_version: None
build.hip_version: None
build.python_version: 3.11.10
build.torch_version: 2.5.1
build.env.TORCH_CUDA_ARCH_LIST: None
build.env.PYTORCH_ROCM_ARCH: None
build.env.XFORMERS_BUILD_TYPE: None
build.env.XFORMERS_ENABLE_DEBUG_ASSERTIONS: None
build.env.NVCC_FLAGS: None
build.env.XFORMERS_PACKAGE_FROM: None
source.privacy: open source

how i can install or build xformers with CUDA support?

Activity

  1. danielhanchen commented on Dec 4, 2024

    @danielhanchen
    Member

    Apologies on the delay - another option is to ignore xformers ie pip uninstall xformers then just use Unsloth as is

  2. criogennn commented on Dec 4, 2024

    @criogennn
    Author

    Apologies on the delay - another option is to ignore xformers ie pip uninstall xformers then just use Unsloth as is

    thx for help. i am already switch on Ubuntu and now got this issue #1376

  3. rolandtannous commented on Jun 29, 2025

    @rolandtannous
    Contributor

    xformers should now work .
    We also have an updated windows installation guide here:
    Follow the instructions here: #1841
    Checkout the guide here: https://docs.unsloth.ai/get-started/installing-+-updating/windows-installation
    Join the conversation and leave feedback here: #1849

    I will close this thread for now.
    If xformers is still not working for you feel free to open a new issue and describe your issue in detail.
    Thank you for using unsloht

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions