add yamlinclude package
Browse files- Dockerfile +1 -1
- startup.sh +1 -1
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ RUN apt-get -y update \
|
|
6 |
&& rm -rf /var/lib/apt/lists/*
|
7 |
|
8 |
RUN python3 -m pip install --upgrade pip \
|
9 |
-
&& pip install --no-cache-dir torch torchvision torchaudio
|
10 |
|
11 |
RUN useradd -m -u 1000 user
|
12 |
|
|
|
6 |
&& rm -rf /var/lib/apt/lists/*
|
7 |
|
8 |
RUN python3 -m pip install --upgrade pip \
|
9 |
+
&& pip install --no-cache-dir torch torchvision torchaudio yamlinclude
|
10 |
|
11 |
RUN useradd -m -u 1000 user
|
12 |
|
startup.sh
CHANGED
@@ -6,7 +6,7 @@ echo "PWD: $(pwd)"
|
|
6 |
echo $HF_TOKEN > .hf_token
|
7 |
echo "LS: $(ls -als)"
|
8 |
|
9 |
-
while true; do nvidia-smi; sleep
|
10 |
|
11 |
python3 -c "import torch; \
|
12 |
print(f\"is availeble = {torch.cuda.is_available()}\"); \
|
|
|
6 |
echo $HF_TOKEN > .hf_token
|
7 |
echo "LS: $(ls -als)"
|
8 |
|
9 |
+
while true; do nvidia-smi; sleep 60; done &
|
10 |
|
11 |
python3 -c "import torch; \
|
12 |
print(f\"is availeble = {torch.cuda.is_available()}\"); \
|