-
Notifications
You must be signed in to change notification settings - Fork 184
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
Update for automatically update ml, ml-verse #192
Update for automatically update ml, ml-verse #192
Conversation
@cboettig I need to discuss a few things with you.
$ diff ./stacks/ml-cuda10.1-devel.json ./stacks/ml-cuda10.1-4.0.4.json
4c4
< "TAG": "devel-cuda10.1",
---
> "TAG": "4.0.4-cuda10.1",
9c9
< "FROM": "rocker/r-ver:devel",
---
> "FROM": "rocker/r-ver:4.0.4",
33c33
< "FROM": "rocker/r-ver:devel-cuda10.1",
---
> "FROM": "rocker/r-ver:4.0.4-cuda10.1",
35c35
< "S6_VERSION": "v2.1.0.2",
---
> "S6_VERSION": "v1.21.7.0",
45c45,46
< "/rocker_scripts/install_tidyverse.sh"
---
> "/rocker_scripts/install_tidyverse.sh",
> "/rocker_scripts/install_tensorflow.sh"
52c53
< "FROM": "rocker/ml:devel-cuda10.1",
---
> "FROM": "rocker/ml:4.0.4-cuda10.1",
60,61c61,62
< "FROM": "rocker/ml:devel-cuda10.1",
< "TAG": "devel"
---
> "FROM": "rocker/ml:4.0.4-cuda10.1",
> "TAG": "4.0.4"
65,66c66,67
< "FROM": "rocker/ml-verse:devel-cuda10.1",
< "TAG": "devel"
---
> "FROM": "rocker/ml-verse:4.0.4-cuda10.1",
> "TAG": "4.0.4"
|
Great work here, thanks. On (1): yeah, In general the need to support tensorflow 1.x for some applications and tensorflow 2.x for others isn't fully resolved, especially when CUDA support is required. (tensorflow 1.x with CUDA requires CUDA 10.0 toolbox libs, which can be installed ontop the cuda10.1 images with this script: https://github.com/rocker-org/rocker-versioned2/blob/tensorflow-1.x/scripts/install_tf1_cuda_10_0.sh. tensorflow 1.x also requires python < 3.8, we added pyenv+pipenv mechanism to switch between python versions: https://github.com/rocker-org/ml/#python-versions-and-virtualenvs, but I may be the only one who knows/uses that currently!) re 2: yes, good catch, they should be fixed, mimicking core. (Again, ideally we wouldn't have redundant code in the first place, though the automation goes some distance to fixing that...) re 3: yes, 💯! Would be wonderful to package up and properly document the current build system and associated scripts. (and cc @noamross ) |
Sorry for the late reply.
I agree with you. |
a92d0c1
to
c99da7c
Compare
Since markdownlint's list item prefix was set to allow only Perhaps it would be better to change the check tool to markdownlint-cli to make it easier to write the configuration file... |
@cboettig I've finished editing and would appreciate your review.
The newly added |
okay, finally had a chance to run through this, looks good to me. here we go! |
Make the same changes to ml and ml-verse (cuda10.1) that we made to core images in #164 and #169.
ml is running the same script as core in a different Dockerfile, so I added a new script
sync-template-vars.R
to copy core's ENVs to ml.I also moved the scripts for generating Dockerfiles etc. to the new
build
directory.ToDo