-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Build docker image #2542
Build docker image #2542
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2542
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 5ae8ead with merge base 9ceac50 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
5a72eee
to
a75016d
Compare
0f4db08
to
f2d52bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for all the updates
MAJOR_PYTHON_VERSION=$(echo "$ANACONDA_PYTHON_VERSION" | cut -d . -f 1) | ||
MINOR_PYTHON_VERSION=$(echo "$ANACONDA_PYTHON_VERSION" | cut -d . -f 2) | ||
|
||
CONDA_FILE="Miniconda3-latest-Linux-x86_64.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if latest is such a good idea, perhaps one can specify the version here.
Also, why not depend on the system python? (Should be 3.8 or something like that)
vim \ | ||
unzip \ | ||
gdb \ | ||
rsync \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not hurt, but why?
rsync \ |
apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake=3.16* \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need cmake to build tutorials?
cmake=3.16* \ |
sudo \ | ||
vim \ | ||
jq \ | ||
vim \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like vim
, but installing it once is sufficient
vim \ |
Downloading pip dependencies takes 2-4 min, but downloading the new docker image takes +1min from the pytorch one Not sure how downloading all dependencies to a new image takes in comparison to pulling docker image Docker image scripts are copied from pytorch, I tried to remove stuff but there's definitely a lot left over
Downloading pip dependencies takes 2-4 min, but downloading the new docker image takes +1min from the pytorch one
Not sure how downloading all dependencies to a new image takes in comparison to pulling docker image
Docker image scripts are copied from pytorch, I tried to remove stuff but there's definitely a lot left over