Skip to content

Commit 466fd22

Browse files
committed
clean
1 parent b8108e1 commit 466fd22

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/maxtext/layers/attentions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ def init_rotary_embedding(self):
789789
rope_use_scale = self.config.rope_use_scale
790790
if self.is_vision:
791791
if self.config.model_name.startswith("qwen3-omni") or self.config.model_name.startswith("qwen3.5"):
792-
print(f"DEBUG: Instantiating Qwen3OmniMoeVisionRotaryEmbedding for {self.config.model_name}")
793792
rotary_embedding = Qwen3OmniMoeVisionRotaryEmbedding(
794793
hidden_size=self.config.hidden_size_for_vit,
795794
num_attention_heads=self.config.num_attention_heads_for_vit,
@@ -813,7 +812,6 @@ def init_rotary_embedding(self):
813812
raise ValueError(f"Unsupported model type for vision rotary embedding: {self.config.model_name}")
814813

815814
elif self.use_mrope:
816-
print(f"DEBUG: Instantiating Qwen3OmniMoeThinkerTextRotaryEmbedding for {self.config.model_name}")
817815
rotary_embedding = Qwen3OmniMoeThinkerTextRotaryEmbedding(
818816
min_timescale=self.config.rope_min_timescale,
819817
max_timescale=self.rope_max_timescale,
@@ -853,7 +851,6 @@ def init_rotary_embedding(self):
853851
rngs=self.rngs,
854852
)
855853
elif self.is_qwen3_hybrid:
856-
print(f"DEBUG: Instantiating PartialRotaryEmbedding (hybrid) for {self.config.model_name}")
857854
rotary_embedding = PartialRotaryEmbedding(
858855
min_timescale=self.config.rope_min_timescale,
859856
max_timescale=self.rope_max_timescale,

0 commit comments

Comments
 (0)