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

import triton files when triton is supported and installed #6989

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

oelayan7
Copy link
Contributor

@oelayan7 oelayan7 commented Feb 1, 2025

Those files have code that gets run when importing them, so in systems that doesn't support triton but have triton installed this causes issues.

In general, I think it is better to import triton when it is installed and supported.

@oelayan7
Copy link
Contributor Author

oelayan7 commented Feb 4, 2025

@loadams some CI job is failing on this
image

@loadams
Copy link
Collaborator

loadams commented Feb 5, 2025

@loadams some CI job is failing on this image

This should be transient, but taking a look.

We can't merge master into the branch as easily now due to the DCO changes, could you merge master in again?

@loadams loadams enabled auto-merge February 5, 2025 20:18
@loadams
Copy link
Collaborator

loadams commented Feb 6, 2025

Hi @oelayan7 - could you add the DCO that's now required as a result of the repo move? More information about fixing this check can be found here, and going forward we will need to sign all commits with DCO.

auto-merge was automatically disabled February 6, 2025 19:10

Head branch was pushed to by a user without write access

@oelayan7
Copy link
Contributor Author

oelayan7 commented Feb 6, 2025

@loadams Done, sorry for delay.
Can you please retrigger the CI?

@loadams loadams added this pull request to the merge queue Feb 6, 2025
Merged via the queue into deepspeedai:master with commit 301bc28 Feb 6, 2025
10 checks passed
siqi654321 pushed a commit to siqi654321/DeepSpeed that referenced this pull request Feb 7, 2025
…ai#6989)

Those files have code that gets run when importing them, so in systems
that doesn't support triton but have triton installed this causes
issues.

In general, I think it is better to import triton when it is installed
and supported.

Signed-off-by: Omar Elayan <[email protected]>
Signed-off-by: siqi <[email protected]>
@oelayan7 oelayan7 deleted the has_triton branch February 7, 2025 05:58
loadams pushed a commit that referenced this pull request Feb 7, 2025
Those files have code that gets run when importing them, so in systems
that doesn't support triton but have triton installed this causes
issues.

In general, I think it is better to import triton when it is installed
and supported.

Signed-off-by: Omar Elayan <[email protected]>
Signed-off-by: Logan Adams <[email protected]>
traincheck-team pushed a commit to traincheck-team/DeepSpeed that referenced this pull request Feb 9, 2025
…ai#6989)

Those files have code that gets run when importing them, so in systems
that doesn't support triton but have triton installed this causes
issues.

In general, I think it is better to import triton when it is installed
and supported.

Signed-off-by: Omar Elayan <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants