Replies: 4 comments 11 replies
-
@singhsaluja @prasadbandarkar @rainxfan @phall-brown @paulstey |
Beta Was this translation helpful? Give feedback.
-
This is great, @gtdang!! Thank you so much!! Just out of curiosity, is there any reason we wouldn't want to use the latest Python on Oscar? Our latest version is 3.11, isn't it? Does the above only work with Python 3.7 or 3.9? Again, thank you so much for writing this up, George!! |
Beta Was this translation helpful? Give feedback.
-
I wonder if it might be a good idea to let faculty know that they can
create conda environments (or whatever env manager) themselves, and the
oscar team could help them make the environments accessible to their
students? All the students need to do is to launch the notebook
environment with the environments already created. That would really
simplify the process especially for beginners and ensures that everyone
taking the same course is using the same software environment. Might be a
huge advantage for using Oscar. I tried this when I was doing DsCov and it
saved me lots of time and sweat.
Thanks!
Paul
…On Mon, Mar 13, 2023 at 1:58 PM Paul Stey ***@***.***> wrote:
@phall-brown <https://github.com/phall-brown>: I might be wrong, but
don't our docs still suggest using Conda for Python environments? I would
definitely prefer pointing people towards virtualenv rather than conda
envs.
And as you note, I also don't think our docs lay this out as an example
use case, which I think is super beneficial!
—
Reply to this email directly, view it on GitHub
<#38 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJNTY2HWOZ7C6PK7DU3F63W35N5XANCNFSM6AAAAAAVZL4LMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: <brown-ccv/oscar-documentation/repo-discussions/38/comments/5294685@
github.com>
--
<http://ccv.brown.edu/> Paul Xu, PhD <https://github.com/digicosmos86>
Data Scientist
Center for Computation and Visualization
Brown University | OIT
Pronouns: he/him/his
|
Beta Was this translation helpful? Give feedback.
-
Hi at the documentation meeting this week we discussed the format and use of these discussion pages for future examples and questions. We decided that they should be formatted with an initial question and then add a reply with the answer. That way we can mark the reply as an answer. See #40 for an example of this thread reformatted into the Q&A format. Other things discussed:
I will keep this page as a legacy of this discussion. |
Beta Was this translation helpful? Give feedback.
-
Documentation Example
OOD Jupyter Notebook Python with virtualenv and GPU
Tags: GPU, Jupyter Notebook, OOD, Python, virtualenv
Set up for an OOD Jupyter Notebook with python virtual environment /w tensorflow installation and GPU set-up.
Several students from Deep Learning for Scientists and Engineers (APMA-2070 / ENGN 2912) came in for help on 3/10/23 for help with this set-up.
GPU setup on Oscar
module load python/3.7.4 # alternatively, 3.9.0 or 3.11.0 module load cuda/11.3.1 module load cudnn/8.2.0 module load openssl/3.0.0
b. Modified from the documentation at the following page: https://docs.ccv.brown.edu/oscar/gpu-computing/ampere-architecture-gpus
Create a python virtual environment using virtualenv and install tensorflow
Install jupyter notebook and create the jupyter kernel
Back at the OOD dashboard start a request for a Jupyter Notebook for Python Environments GUI and fill in the following fields.
Python Module on Oscar: Select the python version you loaded in step 1 (
python/3.7.4
for this example)Python Virtual Environment: Use the full path to
<myenv>
set up in step 2. It should look something like/users/<USERNAME>/<myenv>
Modules: List all the modules loaded in step 1 separated by a space.
python/3.7.4 cuda/11.3.1 cudnn/8.2.0 openssl/3.0.0
Partition:
gpu
Links
Beta Was this translation helpful? Give feedback.
All reactions