You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0db7a88
Browse filesBrowse the repository at this point in the historyBrowse files
The Windows CUDA CI jobs (`test-model-cuda-windows-e2e` and
`unittest-cuda-runtime-windows`) and the Python 3.15 Windows CUDA wheels
fail on main, and the model test had been passing without running a
model. Five problems stack up. This PR fixes them, one commit each.
**1. setup.py calls a function that does not exist.** The `distutils`
`log` module has `warn()` but no `warning()`, so a Windows CUDA build
without ninja stops with `AttributeError: module 'distutils.log' has no
attribute 'warning'`. The fix calls `log.warn()`.
**2. The jobs ask for a CUDA toolkit the runner no longer has.** The
Windows GPU runner image now installs only CUDA 13.2 and 13.4, the
versions the Windows CUDA wheels are built for. The jobs still pointed
`CUDA_HOME` at 13.0 and stopped with `CUDA version mismatch. Expected:
13.0, Actual: 13.4`. The fix moves both jobs to 13.2. The Linux export
job keeps 13.0; its program loads `cudart64_13.dll`, which 13.2
provides.
**3. The CUDA example runners cannot start on Windows.** The runners
copied `aoti_cuda_shims.dll` next to themselves, but not
`extension_cuda.dll`, which they also need since it became a shared
library. The fix copies `$<TARGET_RUNTIME_DLLS>`, the ExecuTorch DLLs
the runner links, as the C++ guide already does.
**4. The model test could not fail.** A runner that exited with an error
was only a warning, and an empty output passed the check. The fix fails
on a nonzero exit code and on empty output. It also installs the NVIDIA
driver, as the other Windows GPU jobs do.
**5. The Windows CUDA wheels stopped building for Python 3.15.** On the
new runner image, the pinned test-infra commit installs the Python
3.15.0rc2 release candidate, and its download fails. The fix moves the
pin to a test-infra commit that installs the final 3.15 release.
Test plan: the Windows CUDA jobs on this PR.
0 commit comments