Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
e2eQPAT-apptainer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Surrey Shared Containers
e2eQPAT-apptainer
Commits
19aed1a6
Commit
19aed1a6
authored
3 months ago
by
William Vale
Browse files
Options
Downloads
Patches
Plain Diff
Edit container.def
parent
aa3746f0
No related branches found
No related tags found
No related merge requests found
Pipeline
#100619
failed
3 months ago
Stage: build
Stage: push
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
container.def
+3
-5
3 additions, 5 deletions
container.def
with
3 additions
and
5 deletions
container.def
+
3
−
5
View file @
19aed1a6
...
...
@@ -4,7 +4,7 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
%files
# Copy the env.yaml file into the container
requirements.
txt
/opt/env/requirements.
txt
requirements.
yml
/opt/env/requirements.
yml
%post
# Install special software or additions
...
...
@@ -27,8 +27,8 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
/opt/conda/bin/conda init zsh
/opt/conda/bin/conda init tcsh
# Install Python packages from
MSOT_diffusion_env
.yaml into the base environment
/opt/conda/bin/conda env update -n base
python=3.8
--prune
# Install Python packages from
requirements
.yaml into the base environment
/opt/conda/bin/conda env update -n base
--file /opt/env/requirements.yaml
--prune
%environment
# Set some environment vars
...
...
@@ -43,8 +43,6 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
source /etc/profile.d/conda.sh
source ~/.bashrc
exec "$@"
pip install "jax[cpu]===0.3.14" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html --use-deprecated legacy-resolver
pip install -r /opt/env/requirements.txt
%labels
# Add custom metadata to the container.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment