Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions configs/sparsification/methods/FastVID/fastvid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
base:
seed: &seed 42
model:
type: Llava OneVision
path: model path
torch_dtype: auto
eval:
eval_pos: [pretrain, transformed]
type: vqa
name: [mme]
download: False
path: MME dataset path
bs: 1
inference_per_block: False
sparse:
method: TokenReduction
special:
method: FastVID
retention_ratio: 0.10
DySeg_c: 8
DySeg_tau: 0.9
STPrune_d: 0.4
DTM_p: 4
DTM_alpha: 0.6
save:
save_trans: False
save_fake: False
save_path: /path/to/save/
1 change: 1 addition & 0 deletions llmc/compression/token_reduction/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from .dycoke import DyCoke
from .fastervlm import FasterVLM
from .fastv import FastV
from .fastvid import FastVID
from .prunevid import PruneVid
from .pyramiddrop import PyramidDrop
from .sparsevlm import SparseVLM
Expand Down
Loading