-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run in stand-alone mode #826
Labels
Comments
You can create just one worker, and use this pod to train locally. |
Thank you for your reply. like this? @gaocegege apiVersion: "kubeflow.org/v1alpha2"
kind: "TFJob"
metadata:
name: "dist-mnist-sigle"
namespace: "default"
spec:
tfReplicaSpecs:
Worker:
replicas: 1
restartPolicy: OnFailure
template:
spec:
containers:
- name: tensorflow
image: kubeflow/tf-dist-mnist-test:1.0
env:
- name: TEST_TMPDIR
value: /training
command: ["python /training/main.py"]
volumeMounts:
- name: mnist-data
mountPath: /training
volumes:
- name: mnist-data
persistentVolumeClaim:
claimName: mnist-my-a |
Yeah, and you do not need to write replicas: 1 since the default value for replicas is 1 |
I am going to close the issue. If you have any question please leave comments here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to run in stand-alone mode ,in other words, no ps and worker in v1alpha2 api?
The text was updated successfully, but these errors were encountered: