File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4646echo ' ::group::Prepare CMake builds'
4747mkdir -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-
5449pushd examples/cpp
5550python script_model.py
5651mkdir -p build
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments