File tree Expand file tree Collapse file tree 4 files changed +0
-43
lines changed
Expand file tree Collapse file tree 4 files changed +0
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11from .replicate_api import Apollo7B
2- from .internvl import InternVL
32from .gemini .gemini_code import GeminiAPI
43from .gemma import PaliGemma2
54from .minicpm import MiniCPM
@@ -13,7 +12,6 @@ def filled_model_registry() -> ModelRegistry:
1312 return ModelRegistry (
1413 models = [
1514 * model_entries_from_mult_ids (MiniCPM ),
16- ModelEntry .from_cls_with_id (InternVL ),
1715 ModelEntry .from_cls_with_id (Apollo7B ),
1816 ModelEntry .from_cls_with_id (Phi3Vision ),
1917 ModelEntry .from_cls_with_id (LLama3Vision8B ),
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ dependencies = [
1111 " bugsnag>=4.7.1" ,
1212 " google-cloud-aiplatform>=1.64" ,
1313 " decorator>=5.1.1" ,
14- " timm>=1.0.12" , # for internvl2.5
1514 " replicate>=1.0.4" ,
1615 " transformers>=4.47.1" ,
1716]
Original file line number Diff line number Diff line change 11from io import BytesIO
2- from llmlib .internvl import InternVL
32from llmlib .minicpm import MiniCPM , to_listof_imgs
43from llmlib .replicate_api import Apollo7B
54import pytest
65from .helpers import (
76 assert_model_knows_capital_of_france ,
87 assert_model_recognizes_afd_in_video ,
98 assert_model_recognizes_pyramid_in_image ,
10- assert_model_supports_multiturn ,
119 file_for_test ,
1210 is_ci ,
1311)
@@ -21,14 +19,6 @@ def test_minicpm_vision():
2119 assert_model_recognizes_afd_in_video (model )
2220
2321
24- @pytest .mark .skipif (condition = is_ci (), reason = "No GPU in CI" )
25- def test_internvl ():
26- model = InternVL ()
27- assert_model_knows_capital_of_france (model )
28- assert_model_recognizes_pyramid_in_image (model )
29- assert_model_supports_multiturn (model )
30-
31-
3222@pytest .mark .skipif (condition = is_ci (), reason = "No GPU in CI" )
3323def test_apollo_7b ():
3424 model = Apollo7B ()
You can’t perform that action at this time.
0 commit comments