Browse Source

bump version to 0.4.2

AlpinDale 1 year ago
parent
commit
69fef6fbe6
2 changed files with 3 additions and 3 deletions
  1. 1 1
      aphrodite/__init__.py
  2. 2 2
      aphrodite/endpoints/openai/api_server.py

+ 1 - 1
aphrodite/__init__.py

@@ -6,7 +6,7 @@ from aphrodite.endpoints.llm import LLM
 from aphrodite.common.outputs import CompletionOutput, RequestOutput
 from aphrodite.common.sampling_params import SamplingParams
 
-__version__ = "0.4.1-dev"
+__version__ = "0.4.2-dev"
 
 __all__ = [
     "LLM",

+ 2 - 2
aphrodite/endpoints/openai/api_server.py

@@ -226,7 +226,7 @@ async def create_chat_completion(
     model_name = request.model
     request_id = f"cmpl-{random_uuid()}"
     created_time = int(time.time())
-    
+
     # We disable top_k at -1, add this conversion for
     # compatibility
     if request.top_k == 0:
@@ -445,7 +445,7 @@ async def create_completion(
         return error_check_ret
 
     created_time = int(time.time())
-    
+
     # We disable top_k at -1, add this conversion for
     # compatibility
     if request.top_k == 0: