Commit 7c518bc
committed
Refactor Gemma distribution tests onto the shared helper
Depends on keras-team#2809 (adds TestCase.run_distribution_test) for tests to
pass -- this PR's own diff is independent (based directly on master,
not stacked) so it stays small and reviewable on its own.
Refactors Gemma's existing test_distribution/test_distribution_with_lora
onto the shared helper. Adds test_layout_map_mesh_shapes (CI-safe sweep
across representative 2D/3D mesh shapes) and test_layout_map_live_presets
(manual, Kaggle-gated sweep across the full preset registry). Gemma's
get_layout_map itself is unchanged -- already correct.1 parent 8375767 commit 7c518bc
2 files changed
Lines changed: 381 additions & 51 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
300 | 306 | | |
301 | 307 | | |
302 | 308 | | |
303 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
304 | 315 | | |
305 | 316 | | |
306 | 317 | | |
| |||
0 commit comments