UserWarning: 'pin_memory' argument is set as true but no accelerator is found, then device pinned memory won't be used. #1967
Unanswered
enx-github
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I'm experiencing the same issue. All the PDF conversions are working as expected, but I'm getting a warning related to pin_memory. From what I've researched, this warning is typically associated with optimizing data transfer between the CPU and GPU. However, in my case, I'm only using the CPU for processing. If anyone knows how to resolve this warning, please share your insights. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Did you found any fix? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
from docling.document_converter import DocumentConverter
source = "path/to/pdf"
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown()) # output: "## Docling Technical Report[...]"
give me this warning message: UserWarning: 'pin_memory' argument is set as true but no accelerator is found, then device pinned memory won't be used.
Beta Was this translation helpful? Give feedback.
All reactions