Notebook tests are slow

Đang mở
#1,745 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
jupyter, python
Lĩnh vực
performance, testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
397
Fork
127
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quantumlib/Qualtran

Tất cả issue của quantumlib/Qualtran

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.