-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add input argument to control custom python envs #10
Comments
Hey aneergaard! If you have an sbatch script that uses conda environments + notebooks, you can totally submit it as a PR. Probably just have the conda env specified as an additional input to the sbatch script. |
hey @aneergaard ! I've taken over maintainer for this repo, and I think the repo2docker-conda would fit the bill for you to use, and then use the sherlock/singularity-notebook.sbatch with it. Do you want to give it a try? Here is the repo2docker-conda template you would want to start with --> https://github.com/vsoch/repo2docker-conda |
thank you very much for this repo @vsoch. I've manngered to use my own conda env and train my model. Follow these steps, you could use any conda env you want.
|
This is really useful! Do you want to add a recipe, or write this up as a note in the README documentation? |
I just create my own conda envs and follow your tutorial. I could make a PR if you need a recipe @vsoch |
I'd love that, if you have the bandwidth. I think your derivation (with cuda) is more akin to what would be a real world example, and helpful for others! There is definitely no rush, but I'll be excited to share widely when it's ready. I can also offer to help however you might need it, hopefully should be fairly straight forward to write the markdown! |
@vsoch , I've add a recipe in my repo: https://github.com/zqfang/forward/blob/master/recipe.sherlock-gpu.md . Where should I put this file? I could submit a PR if needed |
I think it would be appropriate to add to the Tiny Tutorials section - what do you think? If you don't intend to keep the repository, you can add an examples folder at the root here and drop the file there (and link from tiny tutorials) otherwise, a link should work :) |
First off, this is great and much better than what I had made for myself.
Second, something that I thought was nice was the option to specify a conda environment to activate before running the notebook. I've implemented something basic, but I don't know it is something that is good for general use.
The text was updated successfully, but these errors were encountered: