Skip to content

Commit f3647e1

Browse files
committed
Revert temporary 3.15 import probe
Root cause identified: the numpy 2.6.0.dev0 cp315 win_amd64 wheel crashes with a Windows access violation when numpy.random is imported (triggered via torch._dynamo during 'import torchvision'). That is an upstream numpy nightly wheel bug on Windows/3.15, not a test-infra issue.
1 parent d94b0ba commit f3647e1

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

.github/workflows/build_wheels_windows.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,6 @@ jobs:
371371
else
372372
${CONDA_RUN} pip install "${{ inputs.repository }}/dist/$WHEEL_NAME"
373373
fi
374-
# TEMP DEBUG (3.15): the smoke test crashes on import with no traceback.
375-
# Probe imports under faulthandler to surface the real failure/C stack.
376-
if [[ "${{ startsWith(matrix.python_version, '3.15') }}" == "true" ]]; then
377-
echo "::group::3.15 import probe"
378-
${CONDA_RUN} python -X faulthandler -c "import sys, torch; print('TORCH', torch.__version__); import numpy; print('NUMPY', numpy.__version__); import torchvision; print('TORCHVISION', torchvision.__version__)" 2>&1 || echo "IMPORT_PROBE_FAILED rc=$?"
379-
echo "::endgroup::"
380-
fi
381374
if [[ ! -f "${{ inputs.repository }}"/${SMOKE_TEST_SCRIPT} ]]; then
382375
echo "${{ inputs.repository }}/${SMOKE_TEST_SCRIPT} not found"
383376
${CONDA_RUN} "${{ inputs.repository }}/${ENV_SCRIPT}" python -c "import ${PACKAGE_NAME}; print('package version is ', ${PACKAGE_NAME}.__version__)"

0 commit comments

Comments
 (0)