Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#418 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, python, pytorch

調査の方向性

まず unstructured Docker コンテナで警告を再現し、コンテナが CUDA と NVML を PyTorch にどのように公開しているかを調査します。GPU 実行パスを動作させるか、必要な runtime 構成を再現可能な環境およびファイルタイプとともに文書化できた時点で、issue は完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
953
フォーク
192
平均マージ
1日 1時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Unstructured-IO/unstructured-api のほかの issue

Unstructured-IO/unstructured-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。