Skip to content

Commit b1081a3

Browse files
committed
Remove utils.py
1 parent ed89be9 commit b1081a3

File tree

2 files changed

+4
-286
lines changed

2 files changed

+4
-286
lines changed

extension/llm/runner/__init__.py

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
enabling processing of mixed inputs (text, images, audio) and text generation.
1212
"""
1313

14-
from pathlib import Path
15-
from typing import Any, Callable, List, Optional, Union
16-
17-
import numpy as np
18-
1914
try:
2015
from PIL import Image as PILImage
2116

@@ -43,23 +38,17 @@
4338
)
4439

4540

46-
# Import utility functions
47-
from .utils import create_generation_config, load_image_from_file, preprocess_image
48-
4941
__all__ = [
50-
"MultimodalRunner",
5142
"GenerationConfig",
52-
"Stats",
5343
"Image",
54-
"MultimodalInput",
5544
"make_audio_input",
45+
"make_image_input",
5646
"make_raw_audio_input",
5747
"make_text_input",
5848
"make_token_input",
59-
"make_image_input",
60-
"load_image_from_file",
61-
"preprocess_image",
62-
"create_generation_config",
49+
"MultimodalInput",
50+
"MultimodalRunner",
51+
"Stats",
6352
]
6453

6554
__version__ = "0.1.0"

extension/llm/runner/utils.py

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

0 commit comments

Comments
 (0)