Skip to content

Commit 59d77b8

Browse files
committed
Enable pytorch in Windows CI
1 parent 57ff4a2 commit 59d77b8

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/windows.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
STOOLS_VER: "67.3.2"
2626
JEDI_VER: "0.17.2" # https://github.com/ipython/ipython/issues/12740
2727
IDNA_VER: "2.8" # https://github.com/psf/requests/issues/5710
28-
CUDA_VERSION: "12.1.0"
28+
CUDA_VERSION: "12.4.0"
2929
SRC_DIR: "D:\\a\\open3d\\open3d"
3030
BUILD_DIR: "C:\\Open3D\\build"
3131
NPROC: 2
@@ -35,7 +35,7 @@ jobs:
3535
windows:
3636
permissions:
3737
contents: write # upload
38-
runs-on: windows-2019
38+
runs-on: windows-2022
3939
strategy:
4040
fail-fast: false
4141
matrix:
@@ -111,7 +111,7 @@ jobs:
111111
${env:DEVELOPER_BUILD}="ON"
112112
}
113113
cmake --version
114-
cmake -G "Visual Studio 16 2019" -A x64 `
114+
cmake -G "Visual Studio 17 2022" -A x64 `
115115
-DDEVELOPER_BUILD="${env:DEVELOPER_BUILD}" `
116116
-DCMAKE_SYSTEM_VERSION="10.0.19041.0" `
117117
-DBUILD_EXAMPLES=OFF `
@@ -274,6 +274,16 @@ jobs:
274274
$ErrorActionPreference = 'Stop'
275275
python -m pip install -r python/requirements.txt
276276
python -m pip install -r python/requirements_jupyter_build.txt
277+
278+
- name: Checkout Open3D-ML
279+
uses: actions/checkout@v4
280+
with:
281+
repository: isl-org/Open3D-ML
282+
path: open3d_ml
283+
284+
- name: Install PyTorch requirements
285+
run: |
286+
python -m pip install -r open3d_ml/requirements-torch.txt
277287
278288
- name: Config
279289
run: |
@@ -294,6 +304,7 @@ jobs:
294304
-DBUILD_LIBREALSENSE=ON `
295305
-DBUILD_WEBRTC=ON `
296306
-DBUILD_JUPYTER_EXTENSION=ON `
307+
-DBUILD_PYTORCH_OPS=ON `
297308
${{ env.SRC_DIR }}
298309
299310
- name: Build Python package

0 commit comments

Comments
 (0)