/usr/local/lib/python3.8/dist-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
warnings.warn(
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/aphrodite-engine/aphrodite/endpoints/openai/api_server.py", line 562, in <module>
run_server(args)
File "/root/aphrodite-engine/aphrodite/endpoints/openai/api_server.py", line 519, in run_server
engine = AsyncAphrodite.from_engine_args(engine_args)
File "/root/aphrodite-engine/aphrodite/engine/async_aphrodite.py", line 355, in from_engine_args
from aphrodite.executor.gpu_executor import GPUExecutorAsync
File "/root/aphrodite-engine/aphrodite/executor/gpu_executor.py", line 16, in <module>
class GPUExecutor(ExecutorBase):
File "/root/aphrodite-engine/aphrodite/executor/gpu_executor.py", line 92, in GPUExecutor
def determine_num_available_blocks(self) -> tuple[int, int]:
TypeError: 'type' object is not subscriptable
i tried install via both below but both got the error
$ pip install -U aphrodite-engine --extra-index-url https://downloads.pygmalion.chat/whl
or build from source
Your current environment
🐛 Describe the bug
i ran below code to create a simple api server:
and got below error
i tried install via both below but both got the error
$ pip install -U aphrodite-engine --extra-index-url https://downloads.pygmalion.chat/whl
or build from sourceNot sure if that specific to my env?