diff --git a/fastdeploy/engine/engine.py b/fastdeploy/engine/engine.py index 44cf24c38..df8e6918b 100644 --- a/fastdeploy/engine/engine.py +++ b/fastdeploy/engine/engine.py @@ -57,7 +57,6 @@ class LLMEngine(object): Attributes: cfg (Config): Configuration object containing all the parameters. cached_generated_tokens (queue.Queue): Queue to store generated tokens. - cached_generated_tokens (queue.Queue): Queue to store generated tokens. scheduler (LocalScheduler or GlobalScheduler): Scheduling tasks. input_processor (InputPreprocessor): Preprocessor for input data. resource_manager (ResourceManager): Manager for resource allocation. diff --git a/requirements.txt b/requirements.txt index f5a562254..1272cfcfa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,4 +36,4 @@ opentelemetry-instrumentation-redis opentelemetry-instrumentation-mysql opentelemetry-distro  opentelemetry-exporter-otlp - +opentelemetry-instrumentation-fastapi \ No newline at end of file diff --git a/setup.py b/setup.py index 62a2fc514..85661f86d 100644 --- a/setup.py +++ b/setup.py @@ -150,7 +150,6 @@ class PostInstallCommand(install): install.run(self) # 执行自定义命令 subprocess.check_call(["opentelemetry-bootstrap", "-a", "install"]) - subprocess.check_call(["pip", "install", "opentelemetry-instrumentation-fastapi"]) def load_requirements(): """Load dependencies from requirements.txt"""