Skip to content

Commit

Permalink
Orca change default backend of PyTorch estimator to bigdl (intel-anal…
Browse files Browse the repository at this point in the history
…ytics#2966)

* 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 f85b270 commit 0bc5c9b
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 0bc5c9b

Please sign in to comment.