Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do I get "Cannot Initialize NVML"? How can I initialize the GPU kernel? #418

Open
Bryson14 opened this issue May 24, 2024 · 1 comment

Comments

@Bryson14
Copy link

Describe the bug
A clear and concise description of what the bug is.

When I run unstrctured docker container locally, I get this error:

2024-05-20 12:44:22 /home/notebook-user/.local/lib/python3.10/site-packages/torch/cuda/init.py:619: UserWarning: Can't initialize NVML
2024-05-20 12:44:22 warnings.warn("Can't initialize NVML")

I assume that its because its running the CPU version of unstructured and not the GPU version. How can i fix this? running in a GPU would help with hi-res parsing

To Reproduce
Please provide as much info as possible:

  • Filetype:
  • Any additional API parameters:

Environment:

  • Using the hosted API or self hosting?
  • How are you calling the API? (Langchain, SDKs, cUrl, etc.)

Additional context
Add any other context about the problem here.

@MthwRobinson
Copy link
Contributor

@Bryson14 - Could you provide more context on the environment you're running this in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants