From 8745712a2c7c4a0e526413a1c3de2d61f4b21179 Mon Sep 17 00:00:00 2001 From: Graeme Power Date: Mon, 21 Oct 2024 12:57:58 +0100 Subject: [PATCH] fix: use anyio.Lock instead of asyncio.Lock --- llama_cpp/server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_cpp/server/app.py b/llama_cpp/server/app.py index bd2f9d8edc..d66a404186 100644 --- a/llama_cpp/server/app.py +++ b/llama_cpp/server/app.py @@ -5,7 +5,7 @@ import typing import contextlib -from asyncio import Lock +from anyio import Lock from functools import partial from typing import Iterator, List, Optional, Union, Dict