"...composable_kernel-1.git" did not exist on "625838def0763a7a76899333fb674d5d22264718"
Unverified Commit 2cd994c3 authored by Yixiao Fang's avatar Yixiao Fang Committed by GitHub
Browse files

[Fix] add import check of multimodal (#352)

parent 8774465a
...@@ -8,9 +8,19 @@ if satisfy_requirement('salesforce-lavis'): ...@@ -8,9 +8,19 @@ if satisfy_requirement('salesforce-lavis'):
if osp.exists('opencompass/multimodal/models/minigpt_4/MiniGPT-4'): if osp.exists('opencompass/multimodal/models/minigpt_4/MiniGPT-4'):
from .minigpt_4 import * # noqa: F401, F403 from .minigpt_4 import * # noqa: F401, F403
from .llama_adapter_v2_multimodal import * # noqa: F401, F403 if osp.exists(
'opencompass/multimodal/models/llama_adapter_v2_multimodal/LLaMA-Adapter' # noqa
):
from .llama_adapter_v2_multimodal import * # noqa: F401, F403
from .llava import * # noqa: F401, F403 from .llava import * # noqa: F401, F403
from .mplug_owl import * # noqa: F401, F403
if osp.exists('opencompass/multimodal/models/mplug_owl/mPLUG-Owl'):
from .mplug_owl import * # noqa: F401, F403
from .openflamingo import * # noqa: F401, F403 from .openflamingo import * # noqa: F401, F403
from .otter import * # noqa: F401, F403
if osp.exists('opencompass/multimodal/models/otter/Otter'):
from .otter import * # noqa: F401, F403
from .visualglm import * # noqa: F401, F403 from .visualglm import * # noqa: F401, F403
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment