Skip to content

Commit 7c664c3

Browse files
committed
fix
1 parent fb75045 commit 7c664c3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lightllm/models/gemma4/model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def _init_ple_static_buffer(self):
155155
)
156156

157157
def _init_to_get_rotary_gemma4(self):
158+
# gemma4 当前不支持 dp prefill balance
159+
assert self.args.enable_dp_prefill_balance is False, "Gemma-4 does not support dp prefill balance"
160+
158161
rope_params = self.config["rope_parameters"]
159162

160163
# Cap the rotary table at something we can fit in memory — Gemma-4's

0 commit comments

Comments
 (0)