Conversation
This was referenced Oct 20, 2025
Member
|
How much of this code is similar to the one in I would be in favor of reusing as much as code as possible and avoid duplication as much as possible. Here's the diff: 0a1,5
> #!/usr/bin/env python
> """
> Build the ML training container (with CUDA support) for
> Perlmutter (NERSC) and publish it to registry.nersc.gov
> """
28c33
< command = "docker build --platform linux/amd64 -t gui -f dashboard/Dockerfile ."
---
> command = "docker build --platform linux/amd64 -t gui -f ml/Dockerfile ."
35,37c40,42
< "docker tag gui:latest registry.nersc.gov/m558/superfacility/gui:latest",
< "docker tag gui:latest registry.nersc.gov/m558/superfacility/gui:$(date '+%y.%m')",
< "docker push -a registry.nersc.gov/m558/superfacility/gui",
---
> "docker tag gui:latest registry.nersc.gov/m558/superfacility/ml-training:latest",
> "docker tag gui:latest registry.nersc.gov/m558/superfacility/ml-training:$(date '+%y.%m')",
> "docker push -a registry.nersc.gov/m558/superfacility/ml-training", |
Member
|
If it comes down to basically replacing or, maybe more concise, If you want, I could push some changes to this PR to implement this - let me know. |
Member
Author
95% :D |
Member
Author
Ok sounds good. I can do it real quick. |
4bd432b to
fbddd50
Compare
ax3l
commented
Oct 20, 2025
85a3e7d to
c50adb8
Compare
ax3l
commented
Oct 22, 2025
Add a script to build and publish the ML container.
c50adb8 to
d5073e8
Compare
EZoni
reviewed
Oct 29, 2025
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
EZoni
approved these changes
Oct 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generalize our container build and publish script to also build the ML container #302.