Skip to content

Commit

Permalink
isort fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cnewell committed Dec 9, 2024
1 parent 2ff6d24 commit 573b0a6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/olmo2_modal_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# It is based on Modal.com's own reference example for OpenAI with vLLM here:
# https://github.com/modal-labs/modal-examples/blob/ed89980d7288cd35c57f23861ba1b1c8d198f68d/06_gpu_and_ml/llm-serving/vllm_inference.py

import modal
import os

import modal

MODEL_NAME = "allenai/OLMo-2-1124-13B-Instruct"
MODEL_REVISION = "9b7f0b17b9c6d6f6a0c3d1bba2495294f704ac2d"
MODEL_DIR = "/root/models/{MODEL_NAME}"
Expand Down Expand Up @@ -116,9 +117,7 @@ def serve():
from vllm.engine.async_llm_engine import AsyncLLMEngine
from vllm.entrypoints.logger import RequestLogger
from vllm.entrypoints.openai.serving_chat import OpenAIServingChat
from vllm.entrypoints.openai.serving_completion import (
OpenAIServingCompletion,
)
from vllm.entrypoints.openai.serving_completion import OpenAIServingCompletion
from vllm.entrypoints.openai.serving_engine import BaseModelPath
from vllm.usage.usage_lib import UsageContext

Expand Down

0 comments on commit 573b0a6

Please sign in to comment.