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

[Build issue]: Building wheel for specific arch not supported without GPU but with all ROCm components installed #92

Open
caaatch22 opened this issue Nov 13, 2024 · 2 comments

Comments

@caaatch22
Copy link

Problem Description

I want to build TE inside docker which has all rocm components installed, but the host machine does not have a GPU.
And I encountered the issue shown in the snapshot:
image

I think we can add a env variable to detect desired arch and by setting cmake_flags 'AMDGPU_TARGETS' can solve the problem.

Operating System

AlmaLinux

CPU

Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz

GPU

MI308X

ROCm Version

ROCm 6.2.3

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

@wenchenvincent
Copy link
Collaborator

@caaatch22 Do you have a reproducer?

@hliuca
Copy link

hliuca commented Nov 16, 2024

Use NVTE_ROCM_ARCH, such as,

export NVTE_ROCM_ARCH=gfx942

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