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

print warning if actual triton cache dir is on NFS, not just for default #6487

Merged

Conversation

jrandall
Copy link
Contributor

@jrandall jrandall commented Sep 4, 2024

move the logic that prints a warning when triton cache dir is on NFS to act on the actual calculated cache_dir rather than on the default.

this means that:

  • when the default directory (in the user's home directory) is on NFS but TRITON_CACHE_DIR is set to a non-NFS directory, no warning will be printed whereas prior to this change a spurious and confusing warning was printed
  • when the user's home directory is not on NFS but TRITON_CACHE_DIR is set to an NFS directory, a warning will be printed whereas prior to this change no warning would be printed

fixes #6486

…ult cache dir
@tjruwase tjruwase requested review from tohtana and removed request for arashb and awan-10 September 4, 2024 15:18
@tohtana
Copy link
Contributor

tohtana commented Sep 4, 2024

@jrandall Thank you for the contribution!

@loadams loadams added this pull request to the merge queue Sep 4, 2024
Merged via the queue into deepspeedai:master with commit 9d17116 Sep 4, 2024
12 checks passed
mauryaavinash95 pushed a commit to DataStates/DeepSpeed that referenced this pull request Mar 20, 2025
…ult (deepspeedai#6487)

move the logic that prints a warning when triton cache dir is on NFS to
act on the actual calculated cache_dir rather than on the default.

this means that:
- when the default directory (in the user's home directory) is on NFS
but `TRITON_CACHE_DIR` is set to a non-NFS directory, no warning will be
printed whereas prior to this change a spurious and confusing warning
was printed
- when the user's home directory is not on NFS but `TRITON_CACHE_DIR` is
set to an NFS directory, a warning will be printed whereas prior to this
change no warning would be printed
 
fixes deepspeedai#6486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants