Open
Conversation
jaguillette
approved these changes
Mar 12, 2026
Contributor
jaguillette
left a comment
There was a problem hiding this comment.
Glad to see reusing the existing environment for CS 1090b works well for this. I was able to validate in prod from a development app that the CPU app has the regular packages available, and that the GPU app has those packages and appropriate access to a GPU. Thanks!
arthurian
approved these changes
Mar 17, 2026
| spack: "mamba" | ||
|
|
||
| # mamba environment to activate from inside the Spack environment | ||
| mamba: "cs1090b-cpu" # Assuming this mamba environment is built and already created in the spack mamba environment |
Member
There was a problem hiding this comment.
Nice idea to reuse the cs1090b environments.
| spack: "mamba-gpu" | ||
|
|
||
| # mamba environment to activate from inside the Spack environment | ||
| mamba: "cs1090b-gpu" |
Member
There was a problem hiding this comment.
I was able to successfully launch the Jupyter Lab - APCOMP 297R (GPU) app in my sandbox apps from this branch and confirmed I was able to load tensorflow and see a GPU.
import tensorflow as tf
gpus = tf.config.list_physical_devices('GPU')
print(f"Detected GPUs: {gpus}")Output:
Detected GPUs: [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
The purpose of this PR is to create 2 IPython Jupyterlab based course enviornments for APCOMP297r, a capstone course in order to provide an interactive python cpu environment and GPU environment, this leverages the GPU/CPU setup for cs1090b.
Changes
local/apcomp297r-cpu.yml.erbfor CPUlocal/apcomp297r-gpu.yml.erbfor GPUcs1090b-cpuandcs1090b-gpumamba environments (reused from CS 1090b)Notes
Key differences between APCOMP 297R GPU differs from CS 1090b GPU:
diff: apcomp297r-gpu.yml.erb vs. cs1090b-gpu.yml.erb
References
APCOMP 297r Course Setup Outline