Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/examples
/ run_trainer
Function
run_trainer
distributed/rpc/batch/parameter_server.py:101–103 ·
view source on GitHub ↗
(ps_rref)
Source
from the content-addressed store, hash-verified
99
100
101
def
run_trainer(ps_rref):
102
trainer = Trainer(ps_rref)
103
trainer.train()
104
105
106
def
run_ps(trainers):
Callers
nothing calls this directly
Calls
2
train
Method · 0.95
Trainer
Class · 0.70
Tested by
no test coverage detected