-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
pytorch jupyter notebooks? #1057
Comments
Users can do |
Supporting <framework>'s operator should be orthogonal to supporting <framework> in our jupyter notebook. +1 for @pdmack suggestion. Generally speaking our story for supporting a pip / python package in jupyter notebook should be |
I agree in general. However, I feel that it would be a better user
experience if pytorch package is supported out of the box.
…On Fri, Jun 22, 2018 at 5:06 AM Ankush Agarwal ***@***.***> wrote:
With the PyTorch operator coming should we add better support for PyTorch
to our notebooks.
Supporting <framework>'s operator should be orthogonal to supporting
<framework> in our jupyter notebook.
+1 for @pdmack <https://github.com/pdmack> suggestion. Generally speaking
our story for supporting a pip / python package in jupyter notebook should
be pip install or conda install
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1057 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEj_zR2DkDsdgqi3n26sZlTF7hUQLSkks5t_C4BgaJpZM4Uyel2>
.
|
I think we should try to provide a wholistic experience for other frameworks just like we do for TF. So now that we are adding PyTorch support we should think about supporting it across the stack e.g
|
Regarding option 1, the name of the notebooks advertise TF 1.x. I don't know if that would be an impedance to pytorch users where the installed version is more or less unknown from just browsing image names. |
@pdmack Agreed but we could always rename the images. For me the question is what's the right balance between the overhead of maintaining a set of container images, providing a container that has what you need to do things out of the box, and keeping image size tolerable. I like the idea of building an uber, kitchen sync container like Kaggle. Mostly as an experiment to see whether customers find that extreme solution valuable. |
Also I think it would be really valuable if users could run any Kaggle solution right out of the box. |
What about that? A big, honkin' Kaggle image that we de-couple from the release cadence. Latest of all the frameworks, lightly curated, and loosely maintained. At least to start. Keep it out of the spawner defaults but promote it through docs, website. Make it clear that it's a long pull, other caveats, etc. |
I feel, there is always a value in providing what user needs rather than asking them to install something before using it. |
FYI, just tried to build the kaggle image but ran out of room in my base dm. But, it's at least 59 minutes in and approaching 12 Gb in size. |
I'm skeptical that a multi-stage build with the Kaggle image would work but I'll have a look. But we could consider deriving a Kaggle image from our TF 1.8 image and adding in the missing parts. I'm guessing there's a good amount of overlap. |
Oh my...
https://gist.github.com/pdmack/6bea356917d6edbad0eccf46a27970eb |
"gulp" |
@pdmack This is pretty cool. Were you able to start Jupyter in the Kaggle image and use it with JupyterHub? |
No, it doesn't have |
This is as far as I got reusing the kaggle docker image and adding our special sauce:
|
2c from the binder ecosystem- I've seen people install PyTorch and torchvision on binder after creating a conda environment using @soumith 's conda channel, though this is not the latest installation instructions See example: https://github.com/jrzech/reproduce-chexnet/blob/master/postBuild |
@pdmack Point taken. Perhaps we should create an examples container intended to be used for running the examples. By definition, the image will contain the union of dependencies needed to run the Kubeflow examples. So it will grow over time until i) it becomes too large or ii) version conflicts. By that definition it would make sense to start building an image with PyTorch and TF. For 0.3 I'd like to be able to
I'd like users to be able to do everything from JupyterLab; i.e. JupyterLab provides a notebook editor, basic text editor, and terminal which is sufficient for running the codelabs. |
Looks like @pdmack published a version of the image in |
I retagged into gcr.io/kubeflow-images-public/kaggle-notebook:v20180629 I retagged it using Google Container Builder; trying to use gcloud container add tag choked. |
Lets add PyTorch to our codelab notebook image see #1157 and then close this out. |
/remove-priority p2 |
Anyone working on this? |
Move to 0.5.0, same priority. |
Downgrading to P2 since we are focusing on xgboost and TF. I think a good next step would be to try to use some stock Jupyter images for PyTorch with the new notebook CR. Ideally, we'd like existing jupyter images to just work so that we don't need to build custom images; see #2208. This should be more doable now that we no longer use JupyterHub. |
Hello @jlewi , |
@siddsuresh97 Docs for creating custom Jupyter images are here So I think if you were interested you could start by building a jupyter image suitable for PyTorch and making it work with Kubeflow. You could then publish it on DockerHub and provide instructions here or in kubeflow/website on how people could use it for PyTorch. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@jlewi I was going through the Notebook issues and found this one. I created a PyTorch image based on the
|
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! |
* Add first run condition in BO Suggestion * Tell to Optimizer only about new Trials * Logging Return new trials in each getSuggestion call * Small fix log * Remove n_points from ask * Fix log * Add newline to log * Change log * Change dict to list of recorded trials * Get search space only for the first run
With the PyTorch operator coming should we add better support for PyTorch to our notebooks.
I can think of a couple options
/cc @johnugeorge
/cc @pdmack
The text was updated successfully, but these errors were encountered: