Skip to content
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

Enable building arm images for every image except tensorflow-notebook #1446

Merged

Conversation

mathbunnyru
Copy link
Member

@mathbunnyru mathbunnyru commented Aug 25, 2021

Fix: #1019

@@ -64,6 +64,7 @@ RUN mamba install --quiet --yes \
'r-caret' \
'r-crayon' \
'r-devtools' \
'r-e1071' # dependency of the caret R package \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We install r-caret here and have this in r-notebook.
And, without this line, build doesn't work for arm.

I don't really want to dwell into details the cause of the problem, but it makes 100% sense to have everything for r-notebook here, especially because we tell that we do this.
https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-datascience-notebook

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 !

datascience-notebook \
pyspark-notebook \
all-spark-notebook
# Images that can only be built on the amd64 architecture (aka. x86_64)
AMD64_ONLY_IMAGES:= \
tensorflow-notebook
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tensorflow is a bit tricky because there are no official wheels for arm.
I will find some more-or-less official wheels and support tensorflow as well.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmmm hmmmmm, if it comes to installing separate non-official packages, is it really worth the long term maintenance effort?

@mathbunnyru
Copy link
Member Author

Hmmmm hmmmmm, if it comes to installing separate non-official packages, is it really worth the long term maintenance effort?

Ok, I think I agree with you on this 👍

I updated the docs to reflect that we only do not support tensorflow-notebook.
I do also want to close the issue about arm images.

If tensorflow arm will be really popular one day, I think there will be an arm wheel.
And then adding arm support for this image will be trivial.

For now, I think 7 out of 8 is good enough to close the issue 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ARM architecture (multi-arch images)
2 participants