Skip to content

Commit

Permalink
Remove hack add back og run_test cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ELundby45 committed Jan 23, 2025
1 parent 397b2dc commit 4c27ef7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,7 @@ outputs:
# Note that the `|| true` expression will make the build continue even if the whole script falls over completely
# (for example, in the case of missing imports). There doesn't seem to be a way of making a script exception return
# non-zero but failing tests return zero.
- python ./test/run_test.py --core --continue-through-error || true # [not win]
# Hack to fix test_autograd.py so it can find pybind11
- mv %PREFIX%/include/pybind11_global/pybind11 %PREFIX%/include # [win]
- cmd.exe /c "python ./test/run_test.py --core --continue-through-error" || ver > nul 2> nul # [win]
- python ./test/run_test.py --core --continue-through-error || true
# The inductor tests test the torch.compile backend. Using the options below avoids running distributed tests,
# which would be run if we used the --inductor option. (Distributed tests would only be correctly run on a multi-gpu test platform,
# which we don't have.)
Expand Down

0 comments on commit 4c27ef7

Please sign in to comment.