Skip to content

Commit 579c563

Browse files
committed
Fix unpending unbacked symbols from torch.cond
1 parent 91afa6e commit 579c563

File tree

1 file changed

+1
-0
lines changed
  • examples/models/llama3_2_vision/text_decoder

1 file changed

+1
-0
lines changed

examples/models/llama3_2_vision/text_decoder/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def __init__(self, **kwargs):
108108
rope_base=params["rope_theta"],
109109
intermediate_dim=params["intermediate_dim"],
110110
)
111+
self.model_.requires_grad_(False)
111112

112113
# Source transformation for MultiHeadAttention
113114
self.model_ = replace_mha_with_inference_mha(self.model_)

0 commit comments

Comments
 (0)