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 73d6e25 commit 4deeb3fCopy full SHA for 4deeb3f
examples/models/llama3_2_vision/text_decoder/test/test_text_decoder.py
@@ -12,12 +12,14 @@
12
import unittest
13
14
import torch
15
-from torch.testing import assert_close
16
17
-from ..model import Llama3_2Decoder
+from executorch.examples.models.llama3_2_vision.text_decoder.model import (
+ Llama3_2Decoder,
18
+)
19
+from torch.testing import assert_close
20
21
params = {
- "dim": 4096,
22
+ "dim": 2048,
23
"ffn_dim_multiplier": 1.3,
24
"fusion_interval": 4,
25
"intermediate_dim": 14336,
@@ -31,7 +33,7 @@
31
33
"use_scaled_rope": True,
32
34
"vision_chunk_size": 560,
35
"vision_max_num_chunks": 4,
- "vocab_size": 128256,
36
+ "vocab_size": 21008,
37
"vision_num_cross_attention_layers": 1,
38
}
39
0 commit comments