Skip to content

Commit

Permalink
test(sagemaker): update pytorch-cifar10-sagemaker example to use a wo…
Browse files Browse the repository at this point in the history
…rking combination of stuff versions (#466)
  • Loading branch information
dmitryduev authored Sep 20, 2023
1 parent 6e9aab7 commit 1c3e1b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/pytorch/pytorch-cifar10-sagemaker/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@
estimator = PyTorch(entry_point="cifar10.py",
source_dir=os.getcwd() + "/source",
role=role,
framework_version='1.7.1',
py_version='py3',
framework_version='1.12.1',
py_version='py38',
instance_count=1,
instance_type='ml.c5.xlarge',
hyperparameters={
'epochs': args.train_epochs,
'momentum': 0.9
'momentum': 0.9,
'num_round': 10,
})

hyperparameter_ranges = {
Expand Down

0 comments on commit 1c3e1b6

Please sign in to comment.