Editing
Tutorials:container which trains MNIST using Tensorflow
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Uploading the final container to the cluster registry == Once you are happy with your code, you can upload the container image to the cluster registry just as in the basic tutorial before. Replace the tag by whatever you have used in the docker-compose.yml. <syntaxhighlight lang="bash"> docker push ccu-k8s.inf.uni-konstanz.de:32250/<your.username>/tf_mnist:0.1 </syntaxhighlight> You can now execute this image from '''any''' computer which has the nvidia docker infrastructure installed and is logged into our cluster registry, for example like this: <syntaxhighlight lang="bash"> docker run --runtime=nvidia -d ccu.uni-konstanz.de:5000/<your.username>/tf_mnist:0.1 </syntaxhighlight> This should give you an idea of how powerful this framework is. In particular, the image can now be executed from any compute node in the cluster, and it is ready to be deployed using Kubernetes.
Summary:
Please note that all contributions to Collective Computational Unit may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
CCU:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Collective Computational Unit
Main page
Projects
Tutorials
GPU Cluster
Core Facilitys
Mediawiki
Recent changes
Random page
Help
Tools
What links here
Related changes
Page information