Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try slightly tighter tolerances for Windows
  • Loading branch information
BenjaminBossan committed Jul 28, 2025
commit aa47177042365971f14462216e251b1c04aa6d5b
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
# TODO: remove 'fail-fast' line once timeout issue from the Hub is solved
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest", "macos-13", "windows-latest"]
# FIXME
python-version: ["3.12"]
os: ["windows-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion tests/testing_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,7 @@ def get_output(model):
atol, rtol = 1e-6, 1e-6
if (platform.system() == "Windows") and (model_id == "trl-internal-testing/tiny-Llama4ForCausalLM"):
# for some reason, Windows CI fails with stricter tolerance
atol, rtol = 1e-4, 1e-4
atol, rtol = 1e-5, 1e-5

with peft_model.disable_adapter():
output_peft_disabled = get_output(peft_model)
Expand Down