harrisonvanderbyl / rwkvstic

Framework agnostic python runtime for RWKV models
https://hazzzardous-rwkv-instruct.hf.space
MIT License
144 stars 18 forks source link

'NoneType' object has no attribute 'clone' #24

Closed yuyi2439 closed 1 year ago

yuyi2439 commented 1 year ago

when this call RWKVMaster, it will go wrong. I think it is a mistake. use copy.deepcopy to copy may fix this.

yuyi2439 commented 1 year ago

oops, I just found out in the latest code that this has been solved