Notebook tests are slow

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

メンテナーはふだん 3 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter, python

調査の方向性

Start by reading the notebook test and CI configuration to find how the listed notebooks are executed and where timeouts are set; the issue does not name those files. Profile the slowest listed notebooks, beginning with phase_estimation_of_quantum_walk.ipynb, and check whether runs time out. Done when notebook CI completes reliably with reduced runtime and no timeout failures.

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

説明

area/devops

The notebooks test is the slowest CI check with the following 10 slowest notebooks

Slowest 10 notebooks:
210.25s /qualtran/bloqs/phase_estimation/phase_estimation_of_quantum_walk.ipynb
62.87s /qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp.ipynb
41.47s /qualtran/bloqs/rotations/quantum_variable_rotation.ipynb
26.64s /qualtran/bloqs/optimization/k_xor_sat/kikuchi_guiding_state_tutorial.ipynb
22.56s /qualtran/bloqs/arithmetic/error_analysis_for_fxp_arithmetic.ipynb
18.72s /qualtran/bloqs/phase_estimation/kaiser_window_state.ipynb
18.21s /qualtran/bloqs/arithmetic/comparison.ipynb
17.09s /qualtran/cirq_interop/cirq_interop.ipynb
16.96s /qualtran/bloqs/multiplexers/apply_gate_to_lth_target.ipynb
16.90s /qualtran/bloqs/chemistry/resource_estimation.ipynb

I think we may be hitting a timeout sometimes as well.

主要言語
Python
スター
397
フォーク
127
平均マージ
2日 19時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

quantumlib/Qualtran のほかの issue

quantumlib/Qualtran の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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