run example in readme get errors
hxf829 opened this issue · 23 comments
Same here.
AssertionError: Torch not compiled with CUDA enabled
Hello, did you find out how to fix this error?
Same here
same error
same error
The following code does not augment original data with callable API starting '[' and ending with ']'. The error happens since after filtering, there is no callable API.
data_with_api_calls = self.generate_data_with_api_calls(data)
A potential solution is to increase the size of PALM and load the pre-trained model checkpoint so that the prompted data contains API. I haven't noticed the checkpoint loading in the current repo. If anyone finds, please let me know.
I receive the same error. Was someone able to fix it? @lucidrains
line 882, in forward
assert len(filtered_data_with_api_calls) > 0, 'your model failed to follow instructions and make API calls. please try a better model or do some better prompt engineering'
AssertionError: your model failed to follow instructions and make API calls. please try a better model or do some better prompt engineering
Has anyone found a solution to this? Thanks
does anyone solve this problem?
does anyone found a solution for this???
I'm getting the same error, does anyone know of any solutions?
AssertionError: Torch not compiled with CUDA enabled
If you have a cuda compatible GPU, reinstall pytorch with the command from this link
Or just remove .cuda() to have the model loaded in CPU
I've received your e-mail , and I'll reply soon:)Shiqi Chen
Have you solved the problem? thanks
I've received your e-mail , and I'll reply soon:)Shiqi Chen
Have you solved the problem? thanks
Hi LiaoNiuya, excuse me, just want to check my luck with you. Were you managed to resolve the error at the end?