Open TioeAre opened 2 months ago
I got the same error message when I tried running the following query via lmql run
:
argmax
"Say 'this is a test':[RESPONSE] \n"
from
lmql.model("local:meta-llama/Meta-Llama-3-8B-Instruct", cuda=True)
where
len(RESPONSE) < 50
And the error message:
Say 'this is a test': The art of the emergency broadcast system
The sE
valid=True, final=var
Exception ignored in: <function lmtp_model.__del__ at 0x7f8db3d4d9e0>
Traceback (most recent call last):
File "/home/ag2435/.conda/envs/qasper-gpu/lib/python3.12/site-packages/lmql/models/lmtp/lmtp_dcmodel.py", line 532, in __del__
AttributeError: 'NoneType' object has no attribute 'get_event_loop'
I'm trying a simple test in https://towardsdatascience.com/lmql-sql-for-language-models-d7486d88c541, and code like this
however there comes error,
my environment is ubuntu20.04, python 3.11.8
I found it seems like eth-sri/lmql#6, looking forward to your reply.