Skip to content

Commit 68e00c5

Browse files
authored
Merge pull request #394 from ModelTC/vlm
fastvid
2 parents ff18600 + e16d153 commit 68e00c5

File tree

3 files changed

+614
-0
lines changed

3 files changed

+614
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
base:
2+
seed: &seed 42
3+
model:
4+
type: Llava OneVision
5+
path: model path
6+
torch_dtype: auto
7+
eval:
8+
eval_pos: [pretrain, transformed]
9+
type: vqa
10+
name: [mme]
11+
download: False
12+
path: MME dataset path
13+
bs: 1
14+
inference_per_block: False
15+
sparse:
16+
method: TokenReduction
17+
special:
18+
method: FastVID
19+
retention_ratio: 0.10
20+
DySeg_c: 8
21+
DySeg_tau: 0.9
22+
STPrune_d: 0.4
23+
DTM_p: 4
24+
DTM_alpha: 0.6
25+
save:
26+
save_trans: False
27+
save_fake: False
28+
save_path: /path/to/save/

llmc/compression/token_reduction/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from .dycoke import DyCoke
33
from .fastervlm import FasterVLM
44
from .fastv import FastV
5+
from .fastvid import FastVID
56
from .prunevid import PruneVid
67
from .pyramiddrop import PyramidDrop
78
from .sparsevlm import SparseVLM

0 commit comments

Comments
 (0)