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
I'm running Surya via Marker on a GPU, and I'm attempting to use the bfloat16 datatype. However, I'm running into this TypeError because of the order in which the cast is performed:
I'm running Surya via Marker on a GPU, and I'm attempting to use the
bfloat16
datatype. However, I'm running into this TypeError because of the order in which the cast is performed:surya/surya/ocr_error/__init__.py
Lines 47 to 50 in aa8ee5a
This can be fixed by performing the cast before the tensors are moved to NumPy:
When running on GPU, this should also be faster than casting in NumPy.
The text was updated successfully, but these errors were encountered: