Skip to content

Commit 11d1af7

Browse files
committed
Remove internvl
1 parent 46833a3 commit 11d1af7

File tree

4 files changed

+0
-43
lines changed

4 files changed

+0
-43
lines changed

llmlib/llmlib/internvl.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

llmlib/llmlib/runtime.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from .replicate_api import Apollo7B
2-
from .internvl import InternVL
32
from .gemini.gemini_code import GeminiAPI
43
from .gemma import PaliGemma2
54
from .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),

llmlib/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
]

tests/test_minicpm.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
from io import BytesIO
2-
from llmlib.internvl import InternVL
32
from llmlib.minicpm import MiniCPM, to_listof_imgs
43
from llmlib.replicate_api import Apollo7B
54
import pytest
65
from .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")
3323
def test_apollo_7b():
3424
model = Apollo7B()

0 commit comments

Comments
 (0)