Skip to content

Commit 652d240

Browse files
committed
tets
1 parent 85fe854 commit 652d240

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/scripts/cmake.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ fi
4646
echo '::group::Prepare CMake builds'
4747
mkdir -p cpp_build
4848

49-
TORCHVISION_PATH=$(python -c "import pathlib, torch, torchvision; print(pathlib.Path(torchvision.__path__[0]))")
50-
ldd /opt/conda/envs/ci/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so
51-
ldd "${TORCHVISION_PATH}/image.so"
52-
53-
5449
pushd examples/cpp
5550
python script_model.py
5651
mkdir -p build

.github/workflows/build-cmake.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
3535
export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
3636
37+
#install torch built with manylinux 2.28
38+
pip install --progress-bar=off --pre torch==2.6.0.dev20241106 --index-url=https://download.pytorch.org/whl/nightly/cpu --force-reinstall
39+
3740
./.github/scripts/cmake.sh
3841
3942
macos:

0 commit comments

Comments
 (0)