mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
[sgd] Distributed Training via PyTorch (#4797)
Implements distributed SGD using distributed PyTorch.
This commit is contained in:
committed by
Richard Liaw
parent
88bab5d3c4
commit
c2ade075a3
@@ -53,6 +53,10 @@ MOCK_MODULES = [
|
||||
"tensorflow.python",
|
||||
"tensorflow.python.client",
|
||||
"tensorflow.python.util",
|
||||
"torch",
|
||||
"torch.distributed",
|
||||
"torch.nn",
|
||||
"torch.utils.data",
|
||||
]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = mock.Mock()
|
||||
|
||||
Reference in New Issue
Block a user