Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files24 unmodified lines252627282930313233343536371 unmodified line394041424344454624 unmodified linesRUN python -m venv $VENV_PATH# Upgrade pip and install dependencies inside venvRUN python -m pip install --upgrade pipRUN python -m pip install -r requirements.txtRUN python -m pip install huggingface_hub# Optional: Hugging Face tokenARG HF_TOKENRUN huggingface-cli login --token $HF_TOKEN || true# Download modelRUN python -m huggingface-cli download HF1BitLLM/Llama3-8B-1.58-100B-tokens --local-dir models/Llama3-8B-1.58-100B-tokens1 unmodified line# Setup environment / quantizationRUN python -m setup_env -md models/Llama3-8B-1.58-100B-tokens -q i2_s# Build C++ runtimeRUN mkdir -p build && cd build && cmake .. && make -j$(nproc)# Default commandCMD ["python", "app.py"]24 unmodified lines252627282930313233341 unmodified line36373839404124 unmodified linesRUN python -m venv $VENV_PATH# Upgrade pip and install dependencies inside venvRUN pip install --upgrade pipRUN pip install -r requirements.txtRUN pip install huggingface_hub# Download modelRUN python -m huggingface-cli download HF1BitLLM/Llama3-8B-1.58-100B-tokens --local-dir models/Llama3-8B-1.58-100B-tokens1 unmodified line# Setup environment / quantizationRUN python -m setup_env -md models/Llama3-8B-1.58-100B-tokens -q i2_s# Default commandCMD ["python", "app.py"]
Dockerfile+3-8