Revert removing the unused imports (#385)

This commit is contained in:
Liangsheng Yin
2024-04-23 22:36:33 +08:00
committed by GitHub
parent 9acc6e3504
commit 150d7020ed
33 changed files with 72 additions and 26 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
"""Inference-only Yi-VL model."""
from typing import Optional
import os
from typing import List, Optional
import torch
import torch.nn as nn
@@ -12,6 +13,7 @@ from vllm.model_executor.weight_utils import (
from sglang.srt.models.llava import (
LlavaLlamaForCausalLM,
clip_vision_embed_forward,
monkey_path_clip_vision_embed_forward,
)