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

[Issue]: aotriton depends on downloading CUDART to build #58

Open
LunNova opened this issue Dec 8, 2024 · 1 comment
Open

[Issue]: aotriton depends on downloading CUDART to build #58

LunNova opened this issue Dec 8, 2024 · 1 comment

Comments

@LunNova
Copy link

LunNova commented Dec 8, 2024

Problem Description

Building aotriton builds triton which fetches CUDART from the internet.

Is this intended? I thought ROCm software wasn't supposed to depend on CUDA at all.

Fetching occurs here: https://github.com/ROCm/triton/blob/2335045634b163134ef4f9ee4047dce4b1b5cc27/python/setup.py#L503-L561

If disabled by setting env var TRITON_OFFLINE_BUILD=1 build fails.

Operating System

Ubuntu 22.04

ROCm Version

ROCm 6.2.4

@xinyazhang
Copy link
Collaborator

Hi @LunNova This is expected, mainly due to Triton's NVIDIA dependency is not optional.

Previously we patched our Triton fork to make CUDA bits optional but those patches are not sustainable due to constant upstream changes.

We are planning to file PRs to upstream to make all backends optional, but currently this is low-priority.

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

2 participants