Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/huggingface/transformers
/ torch-distributed-gpu-test.py
File
torch-distributed-gpu-test.py
scripts/distributed/torch-distributed-gpu-test.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python
2
3
#
4
# This a `torch.distributed` diagnostics script that checks that all GPUs in the cluster (one or
Callers
nothing calls this directly
Calls
5
printflock
Function · 0.85
device
Method · 0.45
to
Method · 0.45
is_available
Method · 0.45
cuda
Method · 0.45
Tested by
no test coverage detected