Skip to content

Commit 7375798

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

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/windows.yml

+13-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:
@@ -96,10 +96,20 @@ jobs:
9696
- name: Checkout source code
9797
uses: actions/checkout@v4
9898

99+
- name: Checkout Open3D-ML
100+
uses: actions/checkout@v4
101+
with:
102+
repository: isl-org/Open3D-ML
103+
path: open3d_ml
104+
99105
- name: Set up Python version
100106
uses: actions/setup-python@v5
101107
with:
102108
python-version: 3.8
109+
110+
- name: Install PyTorch requirements
111+
run: |
112+
python -m pip install -r open3d_ml/requirements-torch-cuda.txt
103113
104114
- name: Config
105115
# Move build directory to C: https://github.com/actions/virtual-environments/issues/1341
@@ -111,7 +121,7 @@ jobs:
111121
${env:DEVELOPER_BUILD}="ON"
112122
}
113123
cmake --version
114-
cmake -G "Visual Studio 16 2019" -A x64 `
124+
cmake -G "Visual Studio 17 2022" -A x64 `
115125
-DDEVELOPER_BUILD="${env:DEVELOPER_BUILD}" `
116126
-DCMAKE_SYSTEM_VERSION="10.0.19041.0" `
117127
-DBUILD_EXAMPLES=OFF `

0 commit comments

Comments
 (0)