From 7700cb18495f0e50e93f9e7812064699ef2fa8e0 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 13 Dec 2023 16:44:42 -0800 Subject: [PATCH] [VLLM FIX] --- pyproject.toml | 2 +- swarms/models/vllm.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4781f0ae..e5c9fb8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "2.9.0" +version = "2.9.1" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] diff --git a/swarms/models/vllm.py b/swarms/models/vllm.py index 650356cc..0ea4be4a 100644 --- a/swarms/models/vllm.py +++ b/swarms/models/vllm.py @@ -1,12 +1,11 @@ -import subprocess -from typing import Optional, Tuple, List from swarms.models.base_llm import AbstractLLM try: from vllm import LLM, SamplingParams except ImportError as error: print(f"[ERROR] [vLLM] {error}") - subprocess.run(["pip", "install", "vllm"]) + # subprocess.run(["pip", "install", "vllm"]) + # raise error raise error