tasks.py 579 Bytes
Newer Older
Yuan Liu's avatar
Yuan Liu committed
1
2
3
from mmengine.config import read_base

with read_base():
Yuan Liu's avatar
Yuan Liu committed
4
5
6
7
    from .minigpt_4.minigpt_4_7b_mmbench import (minigpt_4_mmbench_dataloader,
                                                 minigpt_4_mmbench_evaluator,
                                                 minigpt_4_mmbench_load_from,
                                                 minigpt_4_mmbench_model)
Yuan Liu's avatar
Yuan Liu committed
8

Yuan Liu's avatar
Yuan Liu committed
9
10
11
12
models = [minigpt_4_mmbench_model]
datasets = [minigpt_4_mmbench_dataloader]
evaluators = [minigpt_4_mmbench_evaluator]
load_froms = [minigpt_4_mmbench_load_from]
Yuan Liu's avatar
Yuan Liu committed
13

14
15
num_gpus = 8
num_procs = 8
16
launcher = 'pytorch'