Skip to content

Commit f05aa5a

Browse files
[CI] install release pkg instead of source (#2901)
1 parent 2e8920d commit f05aa5a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/unit_tests_reusable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ jobs:
151151
uv pip uninstall gptqmodel || true
152152
/opt/env/install_torch.sh ${{ inputs.check_vm_cuda_version }} ${{ env.TORCH_VERSION }}
153153
uv pip install -r requirements.txt -i http://$RUNNER/simple/ --trusted-host $RUNNER --extra-index-url https://pypi.org/simple
154-
uv pip install . -i http://$RUNNER/simple/ --trusted-host $RUNNER --extra-index-url https://pypi.org/simple
154+
rm -rf dist
155+
python -m build --sdist
156+
uv pip install dist/*.tar.gz -i http://$RUNNER/simple/ --trusted-host $RUNNER --extra-index-url https://pypi.org/simple
155157
.github/scripts/ci_install_modelcloud_git_deps.sh
156158
/opt/env/install_torch.sh ${{ inputs.check_vm_cuda_version }} ${{ env.TORCH_VERSION }}
157159

0 commit comments

Comments
 (0)