Skip to content
Snippets Groups Projects
Commit 07d05697 authored by Dutta, Ayushi (PG/R - Comp Sci & Elec Eng)'s avatar Dutta, Ayushi (PG/R - Comp Sci & Elec Eng)
Browse files

init

parent c2aa8401
No related branches found
No related tags found
No related merge requests found
Pipeline #102065 passed
...@@ -5,19 +5,15 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04 ...@@ -5,19 +5,15 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
%post %post
# Install special software or additions # Install special software or additions
apt-get update -y # Good practice, update the package database. apt-get update -y # Good practice, update the package database.
apt-get install -y libopenblas-dev # Install the BLAS. apt-get install -y \
apt-get autoremove -y && apt-get autoclean -y # Good practice, to keep the Docker image as small as possible. wget curl vim bzip2 git build-essential \
libopenblas-dev
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* # keep the Docker image as small as possible.
%environment %environment
# Set some environment vars # Set some environment vars
export PATH=/opt/root/bin:$PATH export TORCH_CUDA_ARCH_LIST="7.5;8.0;8.6+PTX"
export LD_LIBRARY_PATH=/opt/root/lib:$LD_LIBRARY_PATH export TCNN_CUDA_ARCHITECTURES="75;80;86"
export PYTHONPATH=/opt/root/lib
%runscript
# The command that will run when container is started via apptainer run command.
python /opt/root/tutorials/roofit/rf101_basics.py
%labels %labels
# Add custom metadata to the container. # Add custom metadata to the container.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment