-
Notifications
You must be signed in to change notification settings - Fork 13
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
Notebook Interactivity #3
Comments
Allegedly it is possible to make colab work with conda by installing
|
Idk if those are trustworthy solutions. What if you install torch in your conda environment? Then aren't there two installations of torch on your python path? The one that comes with colab and the conda one? This seems like a more robust solution from the RAPIDs (repo). Looking at the script they run, it's basically the same as the linked answers, but with a bunch of |
As for scvi-tools, we can stick to binder if we decide to only load pre-trained models, which seems like a decent compromise to me. As even on GPU, waiting for training is not fun |
FWIW, it should be possible to manipulate the PYTHONPATH so that it only refers to conda packages. |
Summarizing a couple discussions on hosting about this: mybinder has a very small amount of resources. E.g. they promise 1gb of memory but may give you 2gb. This would be pretty restrictive for anything more than a single small-ish dataset. So integration, reference mapping, compositional analysis, etc could be difficult. @Zethson has concluded this means mybinder probably won't work for the best practices book, and they will need alternative hosting. I then saw you can run a jupyterlab instance on |
So what's the conclusion here for the hackathon?
|
I think so Specifically about binderhubI have my doubts about there every being a binder hub on galaxy, but I think we could have a "link to galaxy that will start a job". I think a binder hub could happen through denbi, but then we'd have to figure this for other parts of the world. |
Do you think geographic location matters that much? Running a notebook is neither particularly low-latency nor high-traffic... |
Having used US or EU hosted services from Australia: it's very noticeable. It can take seconds to execute something very simple and connections can be dropped. |
In principle it works to launch mybinder from the tutorials with one click. |
Yes, I'd be super keen to get support for this. (I'd normally volunteer now but I've reached my limit). |
👍, I'd be happy to say we're not going to follow this one up immediately, but leave it for later. |
I'm gonna say that pushing this to a later date also entails putting off: |
Splitting out the discussion on how we do interactivity of the notebooks.
Originally posted by @Zethson in #1 (comment)
Platforms
AFAICT, the two ways we could do this are
colab
andbinder
.I think we could try to do both. The issue here is "how do we do dependencies" since we can specify an environment for binder, but not for colab.
Maybe there is some way to specify dependencies in an
environment.yml
, then have colab use them?Dependencies more generally
I don't think we should have one environment that every notebook runs in. How can we manage this?
I think it should be possible to have multiple conda environments created on a binder image. Then notebooks could specify which environment to use with their kernel.
@Zethson, does the best practices manage this in anyway? I'm trying to figure it out right now, but the binder is taking a really long time to build 😅
The text was updated successfully, but these errors were encountered: