Skip to content

Conversation

@Flamefire
Copy link
Contributor

I found some paths used by Triton defaulting to $HOME: https://github.com/triton-lang/triton/blob/f33bcbd4f1051d0d9ea3fdfc0b2e68f53ededfe4/python/triton/knobs.py#L338-L349

As all paths are relative to $TRITON_HOME if not set otherwise it is safe to just unset them and set TRITON_HOME

The current match unsets also required `TRITON_*_PATH` variables like
`TRITON_PTXAS_PATH` set by the Triton module.
@boegel boegel changed the title Avoid writes to $HOME from Triton during PyTorch tests Avoid writes to $HOME from Triton during PyTorch tests by setting $TRITON_HOME Aug 13, 2025
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel boegel added this to the next release (5.1.2) milestone Aug 13, 2025
@boegel boegel merged commit 28df329 into easybuilders:develop Aug 13, 2025
17 checks passed
@Flamefire Flamefire deleted the pytorch-triton branch August 13, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants