From bcbabd90ddcbff9aaf9be9ee45ec75caa8585d8d Mon Sep 17 00:00:00 2001
From: "Dutta, Ayushi (PG/R - Comp Sci & Elec Eng)" <ayushi.dutta@surrey.ac.uk>
Date: Mon, 7 Apr 2025 15:48:08 +0000
Subject: [PATCH] cuda compute added

---
 container.def | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/container.def b/container.def
index c5c63e0..4c077b1 100644
--- a/container.def
+++ b/container.def
@@ -14,11 +14,14 @@ From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
     wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
     bash miniconda.sh -b -p /opt/conda
     rm miniconda.sh
+
+    # Code environment setup
     export PATH=/opt/conda/bin:$PATH
+    export TORCH_CUDA_ARCH_LIST="7.5;8.0;8.6+PTX"
+    export TCNN_CUDA_ARCHITECTURES="75;80;86"
     . /opt/conda/etc/profile.d/conda.sh # Non - interactive sessions we need this
     conda init bash # For future interactive sessions, optional
     
-    # Conda environment
     git clone https://github.com/snuvclab/gala.git
     cd gala
     conda env create -f env.yaml
-- 
GitLab