Conflict between cuOpt.jl & CUDA.jl
まだ誰も着手していません。
評価
調査の方向性
LD_LIBRARY_PATH の設定に関する README の手順から始め、cuOpt ライブラリのパスを export した後に CUDA を読み込んで警告を再現します。~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216 に記載されている CUDA 初期化警告の場所を確認し、cuOpt.jl と CUDA.jl を共存させるためのサポートされている方法を特定します。ドキュメント化されたセットアップで、これらのライブラリ読み込み警告が発生しなくなるか、制限事項が明確に記載されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The README says you need to put the folder that contains libcuopt.so in the LD_LIBRARY_PATH env variable.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/
If I do that and then I start working with CUDA, I have the following warnings.
julia> using CUDA
┌ Warning: CUDA runtime library `libcublas.so.13` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcublas.so.13`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcusparse.so.12` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcusparse.so.12`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcublasLt.so.13` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcublasLt.so.13`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcurand.so.10` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcurand.so.10`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcusolver.so.12` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcusolver.so.12`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libnvJitLink.so.13` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libnvJitLink.so.13`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
- 主要言語
- Mathematical Programming System
- スター
- 31
- フォーク
- 7
- 平均マージ
- 20時間 38分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Fei2411/DeepSeek-Bot#634 ·
-
:Search Relevance/Vectors >test-failure needs:risk Team:Search Relevance
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
elastic/elasticsearch#163668 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Handler accepts zero/negative NNCP_MAX_RETRIES and NNCP backoff values, stalling policies or hot-looping対応中かも @NopeCharon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nmstate/kubernetes-nmstate#1604 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
chore(worker): five module header comments describe the code from before later issues changed itオープンarea:dev U2-later
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bentleypark/aiwatch#1824 ·
メンテナーはふだん 1 日以内に返信