Skip to content

Instantly share code, notes, and snippets.

@warroyo
Created August 6, 2019 16:35
Show Gist options
  • Save warroyo/fbc45bd87e062c4916ccf3b3c3df7272 to your computer and use it in GitHub Desktop.
Save warroyo/fbc45bd87e062c4916ccf3b3c3df7272 to your computer and use it in GitHub Desktop.
tensorflow sample
apiVersion: batch/v1
kind: Job
metadata:
labels:
app: samples-tf-mnist-demo
name: samples-tf-mnist-demo
spec:
template:
metadata:
labels:
app: samples-tf-mnist-demo
spec:
containers:
- name: samples-tf-mnist-demo
image: microsoft/samples-tf-mnist-demo:gpu
args: ["--max_steps", "500"]
imagePullPolicy: IfNotPresent
resources:
limits:
nvidia.com/gpu: 1
restartPolicy: Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment