Skip to content

Commit

Permalink
disable pip cache
Browse files Browse the repository at this point in the history
  • Loading branch information
guocuimi committed Mar 1, 2025
1 parent daf3dfa commit ca34f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
-e SCALELLM_VERSION_SUFFIX="+cu${CUDA_VERSION//./}torch${TORCH_VERSION}" \
-e VCPKG_DEFAULT_BINARY_CACHE=/ci_cache/.vcpkg/bincache \
-e CCACHE_DIR=/ci_cache/.ccache \
-e PIP_CACHE_DIR=/ci_cache/.pip \
-u $(id -u):$(id -g) \
vectorchai/scalellm_manylinux:cuda${CUDA_VERSION} \
bash /ScaleLLM/scripts/build_wheel.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export PATH="/opt/python/cp${PYVER}-cp${PYVER}/bin:$PATH"
python -m pip install --upgrade pip

# install PyTorch
pip install torch==$TORCH_VERSION --index-url "https://download.pytorch.org/whl/cu${CUDA_VERSION//./}"
pip install torch==$TORCH_VERSION -i "https://download.pytorch.org/whl/cu${CUDA_VERSION//./}"

# install other dependencies
pip install numpy jinja2
Expand Down

0 comments on commit ca34f43

Please sign in to comment.