MCPcopy
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

printflockFunction · 0.85
deviceMethod · 0.45
toMethod · 0.45
is_availableMethod · 0.45
cudaMethod · 0.45

Tested by

no test coverage detected