Skip to content

Commit

Permalink
Orca change default backend of PyTorch estimator to bigdl (#2966)
Browse files Browse the repository at this point in the history
* change type

* Change default backend of PyTorch estimator to bigdl

* Update PythonInferenceModel.scala

* fix

* update docs
  • Loading branch information
cyita committed Oct 16, 2020
1 parent a2fd232 commit b1021f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/orca/example/learn/horovod/pytorch_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def train_example(workers_per_node):
"lr": 1e-2, # used in optimizer_creator
"hidden_size": 1, # used in model_creator
"batch_size": 4, # used in data_creator
})
}, backend="horovod")

# train 5 epochs
stats = estimator.fit(train_data_creator, epochs=5)
Expand Down

0 comments on commit b1021f9

Please sign in to comment.