Commit b4a1600
test(gemma): default integration test heap to 12g; merge duplicate Test blocks
The real-model FunctionGemma-270M integration tests (-PincludeIntegration)
OOM'd with `Java heap space` at the previous 8g default once the model file
is present: GemmaQ5KPackedParityTest holds the FP32 baseline plus both packed
decode networks at once, and the bake-to-irpa test holds weights + serialized
bytes simultaneously.
- Bump the `gemmaTestMaxHeap` default 8g -> 12g.
- Merge the two overlapping `tasks.withType<Test>().configureEach { }` blocks
into one — the second silently overrode the first's maxHeapSize (so jvmArgs
ran with 6g declared but 8g effective). Now jvmArgs, heap, and the seqLen
system property live in a single block.
CI is unaffected: without the model file the integration tests self-skip and
never allocate the headroom. Verified: `:llm-inference:gemma:jvmTest
-PincludeIntegration` green with no -P override (87 tests, 6 skipped, 0
failures); GemmaQ5KPackedParityTest runs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 78cc1d0 commit b4a1600
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
0 commit comments