Harmonise CI runners with lecture-python.myst (RunsOn T4) once QuantEcon/meta#386 recommends a configuration
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- aws, github-actions, python
- 領域
- build-system, ci-cd
調査の方向性
Start by reading QuantEcon/meta#386 for its runtime recommendation, then compare ci.yml, cache.yml, publish.yml and environment.yml with lecture-python.myst. If GPU is recommended, mirror its runner and JAX setup and validate with a cold cache.yml run, comparing lecture times and outputs against the 2026-10-22 CPU build; if CPU is recommended, record the evidence and close the issue.
索引モデルが issue の本文から書いたものです。
説明
This edition builds on GitHub-hosted ubuntu-latest (CPU), while its English source, QuantEcon/lecture-python.myst, builds on RunsOn g4dn.2xlarge (Tesla T4) with jax[cuda13]. Harmonise the runners with the source, but only after the runtime investigation in QuantEcon/meta#386 recommends a configuration. On 2026-10-19 this edition's CPU cache build ran faster (73 minutes of notebook execution against 107), so moving to the GPU runner is not obviously a gain.
| Workflow | This repository | lecture-python.myst |
|---|---|---|
ci.yml, cache.yml, publish.yml |
runs-on: ubuntu-latest |
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/volume=80gb/spot=false" |
| JAX | CPU jax from environment.yml |
pip install -U "jax[cuda13]", then scripts/test-jax-install.py and nvidia-smi |
Until then the edition stays on CPU. Its outputs can differ from the English site in low-order digits for JAX lectures; that is expected, not a defect.
Tasks
- QuantEcon/meta#386 concludes with a recommendation for this repository.
- If it recommends the GPU runner: mirror the source's runner and JAX steps in
ci.yml,cache.ymlandpublish.yml, includingXLA_PYTHON_CLIENT_PREALLOCATE=falseand whatever CPU pinning the source applies per lecture (see QuantEcon/meta#350); reconcileenvironment.yml's CPUjax. The push needs theworkflowtoken scope. - Validate with a cold
cache.ymlrun: every notebook executes, and the per-lecture times and outputs are compared with the CPU build of 2026-10-22 (39724402846). - If it recommends staying on CPU: record the decision and the evidence here, and shut the issue.
Related: #271 (the -W gate and warning-only cache failures, the cause of this edition's recent failed cache runs) is independent of the runner and is better fixed first.
- 主要言語
- TeX
- スター
- 5
- フォーク
- 4
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 15
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantEcon/lecture-python.zh-cn のほかの issue
-
Phase 2 tidy-up: revert intersphinx-qualified references once their target lectures are translatedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
QuantEcon/lecture-python.zh-cn#173 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 53/100
QuantEcon/lecture-python.zh-cn#307 ·
メンテナーはふだん 1 日以内に返信
-
The -W gate is blind in ci.yml, and a warning-only cache failure discards a completed executionオープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
QuantEcon/lecture-python.zh-cn#271 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
QuantEcon/lecture-python.zh-cn#268 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
QuantEcon/lecture-python.zh-cn#267 ·
メンテナーはふだん 1 日以内に返信
QuantEcon/lecture-python.zh-cn の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
dbt-msft/dbt-sqlserver#897 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
linxiv-dev/linXiv#384 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
area: dependencies auto-generated cwe: 405 dependencies ecosystem: npm help wanted package: minimatch scope: runtime security security-alert severity: medium source: dependabot supply-chain vulnerability
難易度 2/5 半日 初心者へのやさしさ 65/100
tdk-landscape/tdk-cli-core#2811 ·
-
critical
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信