mistralai-distributed / Dockerfile
changgyu's picture
Upload 19 files
668bf5d verified
raw
history blame contribute delete
798 Bytes
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
# Python 3.10 ์„ค์น˜
RUN apt update && apt install -y software-properties-common git curl && \
add-apt-repository ppa:deadsnakes/ppa && apt update && \
apt install -y python3.10 python3.10-venv python3.10-dev python3.10-distutils && \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 && \
update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 1
# ํ•„์ˆ˜ ํŒจํ‚ค์ง€ ์„ค์น˜
RUN pip install --upgrade pip
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
RUN pip install deepspeed transformers datasets accelerate peft bitsandbytes tensorboard
WORKDIR /workspace
COPY . .