Skip to content

Commit

Permalink
Few changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich committed Mar 8, 2021
1 parent 4135314 commit a2a58ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/v1beta1/pytorch-mnist/mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def main():
default=dist.Backend.GLOO)
args = parser.parse_args()

# Use this format (%Y-%m-%dT%H:%M:%SZ) to record timestamp of the metrics
# Use this format (%Y-%m-%dT%H:%M:%SZ) to record timestamp of the metrics.
# If log_path is empty print log to StdOut, otherwise print log to the file.
if args.log_path == "":
logging.basicConfig(
Expand Down
1 change: 1 addition & 0 deletions operators/katib-controller/files/pytorchJobTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
command:
- "python3"
- "/opt/pytorch-mnist/mnist.py"
- "--epochs=1"
- "--lr=${trialParameters.learningRate}"
- "--momentum=${trialParameters.momentum}"
Worker:
Expand Down
4 changes: 2 additions & 2 deletions test/scripts/v1beta1/setup-katib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ sed -i -e "s@docker.io/kubeflowkatib\/trial-darts-cnn-cifar10:.*@${ECR_REGISTRY}

# TODO (andreyvelich): For testing
cat examples/v1beta1/random-example.yaml
cat examples/v1beta1/early-stopping/median.stop.yaml
cat examples/v1beta1/early-stopping/median-stop.yaml
cat examples/v1beta1/grid-example.yaml
cat examples/v1beta1/pytorch-example.yaml
cat examples/v1beta1/pytorchjob-example.yaml
cat examples/v1beta1/nas/darts-example-cpu.yaml
cat examples/v1beta1/nas/enas-example-cpu.yaml

Expand Down

0 comments on commit a2a58ff

Please sign in to comment.