"Segmentation fault (core dumped)" after installing the required sparse library in a Qiskit env (conda virtual env)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
issue_with_sparse.log から始め、qiskit0.30_test 環境で 01_neural_networks.ipynb と記載されている ipython コマンドを使って障害を再現します。RHEL 8.4 上の Sparse、NumPy、Numba の s390x 版を比較し、ノートブックが入力を要求したり segmentation fault を発生させたりせずに実行できた時点で、確認済みの原因または互換性修正を記録します。
索引モデルが issue の本文から書いたものです。
説明
Hi,
We encountered a serious issue when running jupyter notebook code with the support of sparse library.
Can someone help?
Thanks!
Describe the bug
In a Qiskit 0.30 conda virtual env, after installing the required sparse library using pip, the ipython run will error out with
"Segmentation fault (core dumped)" message.
issue_with_sparse.log
To Reproduce
- Activate conda virtual env and run the "01_neural_networks.ipynb" sample code with below commands:
conda activate qiskit0.30_test
ipython -c "%run 01_neural_networks.ipynb"
This will prompt you to install the sparse library.
- Install sparse library by executing "pip install 'qiskit-machine-learning[sparse]'" inside the conda virtual env
- Rerun the "01_neural_networks.ipynb" sample code will produce the "Segmenttation fault" error.
Expected behavior
expect no prompt for install sparse library and no errors popped up for the ipython run
System
- OS and version: RHEL 8.4 (s390x)
- Conda: 4.10.1
- Sparse: version: 0.13.0
- NumPy version: 1.20.3
- Numba version: 0.54.1
Additional context
Add any other context about the problem here.
- 主要言語
- Python
- スター
- 670
- フォーク
- 167
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pydata/sparse のほかの issue
-
Bug: full einsum contractions upcast the dtype and count booleans対応中かも @RaphaelFakhri が 17 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
BUG: ufunc outer rejects Python scalar and sequence operands対応中かも @nawaaaaaAaar が 29 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
Bug: slices with a negative step and a negative stop return wrong elements対応中かも @JoeyTan21 が 19 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
pydata/sparse#1019 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
BUG: matmul fails with zero-length broadcast batch dimensions対応中かも @nawaaaaaAaar が 29 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 40/100
メンテナーはふだん 2 日以内に返信
-
BUG: zero-length tensor contractions ignore requested output types対応中かも @nawaaaaaAaar が 29 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
flashinfer-ai/flashinfer#9803 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
cuadrao-ai/argus#2328 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
nikhilb2/simple_invoicing#907 ·