We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91afa6e commit 579c563Copy full SHA for 579c563
examples/models/llama3_2_vision/text_decoder/model.py
@@ -108,6 +108,7 @@ def __init__(self, **kwargs):
108
rope_base=params["rope_theta"],
109
intermediate_dim=params["intermediate_dim"],
110
)
111
+ self.model_.requires_grad_(False)
112
113
# Source transformation for MultiHeadAttention
114
self.model_ = replace_mha_with_inference_mha(self.model_)
0 commit comments