Commit ecdd495
Fix stale trace count in test_mcmc_parallel_chain and run it in CI (#2223)
* Fix stale trace count in test_mcmc_parallel_chain and run it in CI
PR #1910 merged postprocess_fn into the fori_collect loop, adding two
extra model traces for deterministic values, and updated
test_mcmc_one_chain accordingly (4 -> 5) but left test_mcmc_parallel_chain
asserting 4. The parallel-chain path has the same two extra calls, so the
test fails with `assert 5 == 4` on any host with two or more devices.
This went unnoticed because CI only runs test/test_compile.py without
XLA_FLAGS=--xla_force_host_platform_device_count=2, so the skipif marker
always skips the parallel-chain test. Update the assertion to 5 and add
the file to the multi-device "Test chains" batch so it actually runs.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* pyproject.toml: add enough `dev` dependencies to get `uv run make test` passing
Signed-off-by: Eli Sennesh <elisennesh@astera.org>
---------
Signed-off-by: Eli Sennesh <elisennesh@astera.org>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent e37e7d7 commit ecdd495
3 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
| 63 | + | |
| 64 | + | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
0 commit comments