Python exception

#1
by vonjack - opened

model.loadContext(newctx=f"Q: who is Jim Butcher?\n\nA:")
Q: who is Jim Butcher?

A:
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/lib/python3.7/site-packages/rwkvstic/rwkvMaster.py", line 92, in loadContext
self.model, ctx, self.intTensor(newctx), statex, progressCallBack)
File "/opt/conda/lib/python3.7/site-packages/rwkvstic/rwkvMaster.py", line 16, in loadContext
while len(newctx) > 0:
TypeError: object of type 'int' has no len()

Can you please provide some details on the os, rwkvstic version ect

the rwkvstic library is constantly changing, you may have to install an older version of the library

Can you please provide some details on the os, rwkvstic version ect

I'm using 1.0.7. Which version you recommend for testing? Thank you.

No problem now, I switched to 0.1.5, and works :D

Sign up or log in to comment