ryankert01 commented on code in PR #872:
URL: https://github.com/apache/mahout/pull/872#discussion_r2703888396
##########
.github/workflows/pre-commit.yml:
##########
@@ -41,16 +41,9 @@ jobs:
run: pip install uv
- name: Install dependencies
- run: uv sync --group dev
-
- - name: Install libtorch (CPU)
- run: |
- set -euo pipefail
- libtorch_version="2.2.0"
-
libtorch_zip="libtorch-cxx11-abi-shared-with-deps-${libtorch_version}%2Bcpu.zip"
- curl -L -o libtorch.zip
"https://download.pytorch.org/libtorch/cpu/${libtorch_zip}"
- unzip -q libtorch.zip
- echo "LIBTORCH=${GITHUB_WORKSPACE}/libtorch" >> "$GITHUB_ENV"
+ run: uv sync --extra qdp --group dev
- name: Run pre-commit hooks
run: uv run pre-commit run --all-files
+ env:
+ LIBTORCH_USE_PYTORCH: 1
Review Comment:
You guys are using lib torch or not?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]