Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install on a 7900xtx #17

Open
Coldwinds5167 opened this issue Jul 6, 2024 · 2 comments
Open

Failed to install on a 7900xtx #17

Coldwinds5167 opened this issue Jul 6, 2024 · 2 comments

Comments

@Coldwinds5167
Copy link

🐛 Bug

Command

pip install -v -U --no-build-isolation --no-deps git+https://github.com/ROCm/xformers.git@develop#egg=xformers

To Reproduce

In file included from xformers/csrc/attention/hip_fmha/attention_ck_rand_uniform.hip:15: In file included from /home/ubuntu/.local/lib/python3.10/site-packages/torch/include/ATen/hip/HIPGraphsUtils.cuh:5: /home/ubuntu/.local/lib/python3.10/site-packages/torch/include/ATen/hip/HIPEvent.h:54:9: error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result] 54 | hipEventDestroy(event_); | ^~~~~~~~~~~~~~~ ~~~~~~ 1 error generated when compiling for gfx1100.

Environment

Please copy and paste the output from the
environment collection script from PyTorch
(or fill out the checklist below manually).

You can run the script with:

# For security purposes, please check the contents of collect_env.py before running it.
python -m torch.utils.collect_env

PyTorch version: 2.1.2+rocm6.1.3
Is debug build: False
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: 6.1.40093-bd86f1708

OS: Ubuntu 22.04.3 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: AMD Radeon RX 7900 XTX

Additional context

@hackey
Copy link

hackey commented Jul 30, 2024

Dear developers, please tell me if this library (xformers) supports the 7900 xtx video card? If not, is there any work being done to support it?

@Kademo15
Copy link

Dear developers, please tell me if this library (xformers) supports the 7900 xtx video card? If not, is there any work being done to support it?

It isn't supported on rdna 3 see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants