pull/299/head
Kye 1 year ago
parent 037b5b1c59
commit 7700cb1849

@ -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 <kye@apac.ai>"]

@ -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

Loading…
Cancel
Save