Skip to content

Conversation

@eternalNight
Copy link
Contributor

The check-torchcuda.py today will search for all occurrences of .is_cuda in the repository when a commit only modifies C++ headers and sources, which I believe is not intended.

Check usage of .is_cuda only when a commit modifies any non-C++ file.

@eternalNight eternalNight force-pushed the eternalNight/update_is_cuda_check branch from 2c6aab5 to 7b4cb1a Compare September 16, 2025 02:42
The check-torchcuda.py today will search for all occurrences of .is_cuda
in the repository when a commit only modifies C++ headers and sources,
which I believe is not intended.

Check usage of .is_cuda only when a commit modifies any non-C++ file.

Signed-off-by: Junjie Mao <[email protected]>
Suggested-by: Olatunji Ruwase <[email protected]>
@eternalNight eternalNight force-pushed the eternalNight/update_is_cuda_check branch from 7b4cb1a to 009814b Compare September 16, 2025 10:22
@loadams loadams enabled auto-merge (squash) September 19, 2025 04:40
@loadams loadams merged commit 6b731c5 into deepspeedai:master Sep 19, 2025
12 checks passed
mauryaavinash95 pushed a commit to DataStates/DeepSpeed that referenced this pull request Oct 4, 2025
The check-torchcuda.py today will search for all occurrences of .is_cuda
in the repository when a commit only modifies C++ headers and sources,
which I believe is not intended.

Check usage of .is_cuda only when a commit modifies any non-C++ file.

Signed-off-by: Junjie Mao <[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.

3 participants