You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation doesn't load the input_ids tensors onto the device, which causes an error. I replaced the above code, and it's now working. Fixed the issue by adding: input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("cuda")
The text was updated successfully, but these errors were encountered:
I tried to run example.py on an A100 (80GB) GPU. It seems there is a bug at line [41]
LongLM/example.py
Line 41 in ee92c84
The current implementation doesn't load the input_ids tensors onto the device, which causes an error. I replaced the above code, and it's now working. Fixed the issue by adding:
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("cuda")
The text was updated successfully, but these errors were encountered: