none
commited on
Commit
·
e82cba1
1
Parent(s):
44846c9
0.0.19
Browse files- Dockerfile +7 -5
- start.sh +1 -0
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
# build with: docker build . --tag sctg/roco-idefics3:0.0.
|
2 |
# run with
|
3 |
-
# docker run --gpus all --user=42420:42420 -p 7000-8000:7000-8000 -p 8080:8080 -e WANDB_API_KEY=wdkfjzfjz -e HF_TOKEN=hf_TOKEN -it sctg/roco-idefics3:0.0.
|
4 |
-
# docker run --gpus all --user=42420:42420 -p 7000-8000:7000-8000 -p 8080:8080 -it sctg/roco-idefics3:0.0.
|
5 |
FROM cloudflare/cloudflared:latest as cloudflared
|
6 |
FROM nvidia/cuda:12.6.2-cudnn-devel-ubuntu22.04
|
7 |
ARG NODE_MAJOR="20"
|
@@ -42,11 +42,13 @@ RUN . /workspace/.miniconda3/bin/activate \
|
|
42 |
&& pip install gradio \
|
43 |
&& pip uninstall unsloth -y \
|
44 |
&& pip install --upgrade --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git \
|
45 |
-
&& pip install wandb
|
|
|
|
|
46 |
|
47 |
COPY --chmod=777 libbitsandbytes_cuda124.so /workspace/.miniconda3/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_cuda124.so
|
48 |
COPY --chmod=777 libbitsandbytes_cuda126.so /workspace/.miniconda3/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_cuda126.so
|
49 |
-
RUN rm /tmp/bitsandbytes-0.45.0-cp312-cp312-linux_x86_64.whl
|
50 |
|
51 |
RUN . /workspace/.miniconda3/bin/activate && conda install -y jupyter
|
52 |
RUN rm -f /workspace/miniconda.sh
|
|
|
1 |
+
# build with: docker build . --tag sctg/roco-idefics3:0.0.19 --tag sctg/roco-idefics3:latest --push
|
2 |
# run with
|
3 |
+
# docker run --gpus all --user=42420:42420 -p 7000-8000:7000-8000 -p 8080:8080 -e WANDB_API_KEY=wdkfjzfjz -e HF_TOKEN=hf_TOKEN -it sctg/roco-idefics3:0.0.19 bash -i /start.sh sleep infinity
|
4 |
+
# docker run --gpus all --user=42420:42420 -p 7000-8000:7000-8000 -p 8080:8080 -it sctg/roco-idefics3:0.0.19 bash -i /start.sh python /learn.py hf_...
|
5 |
FROM cloudflare/cloudflared:latest as cloudflared
|
6 |
FROM nvidia/cuda:12.6.2-cudnn-devel-ubuntu22.04
|
7 |
ARG NODE_MAJOR="20"
|
|
|
42 |
&& pip install gradio \
|
43 |
&& pip uninstall unsloth -y \
|
44 |
&& pip install --upgrade --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git \
|
45 |
+
&& pip install wandb \
|
46 |
+
&& pip install spaces \
|
47 |
+
&& pip install -U mistune
|
48 |
|
49 |
COPY --chmod=777 libbitsandbytes_cuda124.so /workspace/.miniconda3/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_cuda124.so
|
50 |
COPY --chmod=777 libbitsandbytes_cuda126.so /workspace/.miniconda3/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_cuda126.so
|
51 |
+
#RUN rm -f /tmp/bitsandbytes-0.45.0-cp312-cp312-linux_x86_64.whl
|
52 |
|
53 |
RUN . /workspace/.miniconda3/bin/activate && conda install -y jupyter
|
54 |
RUN rm -f /workspace/miniconda.sh
|
start.sh
CHANGED
@@ -46,6 +46,7 @@ if [ -f /workspace/.config/kaggle.json.enc ]; then
|
|
46 |
fi
|
47 |
|
48 |
git clone https://huggingface.co/eltorio/IDEFICS3_ROCOv2
|
|
|
49 |
git config --global user.email "[email protected]"
|
50 |
git config --global user.name "[email protected]"
|
51 |
git config --global credential.helper store
|
|
|
46 |
fi
|
47 |
|
48 |
git clone https://huggingface.co/eltorio/IDEFICS3_ROCOv2
|
49 |
+
git clone https://huggingface.co/spaces/eltorio/Llama-3.2-3B-appreciation
|
50 |
git config --global user.email "[email protected]"
|
51 |
git config --global user.name "[email protected]"
|
52 |
git config --global credential.helper store
|