tiny fix the usage of test_logprobs (#20473)

This commit is contained in:
Qiaolin Yu
2026-03-12 15:37:45 -07:00
committed by GitHub
parent b227e53ebf
commit 9c6f166600
+2 -2
View File
@@ -31,12 +31,12 @@ Usage
Step 1: Generate Baseline (Before Code Changes) Step 1: Generate Baseline (Before Code Changes)
```bash ```bash
python test/srt/test_logprobs.py gen python test/manual/test_logprobs.py gen
``` ```
Step 2: Test Against Baseline (After Code Changes) Step 2: Test Against Baseline (After Code Changes)
```bash ```bash
python test/srt/test_logprobs.py test python test/manual/test_logprobs.py test
``` ```
This tests your changes against the locally generated baseline from Step 1. This tests your changes against the locally generated baseline from Step 1.
The test passes if the maximum and mean differences are within the tolerance thresholds. The test passes if the maximum and mean differences are within the tolerance thresholds.