I'm encountering this error/warning when translating a PDF file from Arabic to English on Windows WSL Kali linux distro build on a RTX 4070 after following all the necessary steps. The error I get is this:
unknown: figure
232it [05:15, 1.34s/it]/home/kali/pdf_translator/lib/python3.11/site-packages/torch/utils/checkpoint.py:460: UserWarning: torch.utils.checkpoint: please pass in use_reentrant=True or use_reentrant=False explicitly. The default value of use_reentrant will be updated to be False in the future. To maintain current behavior, pass use_reentrant=True. It is recommended that you use use_reentrant=False. Refer to docs for more details on the differences between the two variants.
warnings.warn(
/home/kali/pdf_translator/lib/python3.11/site-packages/torch/utils/checkpoint.py:90: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
warnings.warn(
0it [00:00, ?it/s]
0it [00:00, ?it/s]
233it [05:17, 1.34s/it]/home/kali/pdf_translator/lib/python3.11/site-packages/torch/utils/checkpoint.py:460: UserWarning: torch.utils.checkpoint: please pass in use_reentrant=True or use_reentrant=False explicitly. The default value of use_reentrant will be updated to be False in the future. To maintain current behavior, pass use_reentrant=True. It is recommended that you use use_reentrant=False. Refer to docs for more details on the differences between the two variants.
warnings.warn(
/home/kali/pdf_translator/lib/python3.11/site-packages/torch/utils/checkpoint.py:90: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
warnings.warn(
1it [00:00, 48210.39it/s]
1it [00:00, 91180.52it/s]
0it [00:00, ?it/s]
I'm encountering this error/warning when translating a PDF file from Arabic to English on Windows WSL Kali linux distro build on a RTX 4070 after following all the necessary steps. The error I get is this:
What's the cause of this and is there a fix?