QuantEcon / QuantEcon/actions

lecture-python.myst: bake env + deploy CLI into the RunsOn GPU AMI

Open
#152 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Shell
Stars
0
Forks
1
Avg merge
32m
Merged PRs (30d)
3

Description

#92 Phase 2, the lecture-python.myst (GPU/RunsOn) half of pre-baking: bake miniconda + env + pinned jax[cuda13]/numpyro + the preview-deploy CLI into the RunsOn AMI. The repo stays on RunsOn — CPU migration was evaluated and rejected in PROJECT-OPTIMIZE-PREVIEWS.md. Conda 102s + JAX 55s measured per PR are the target.

  • Bake the AMI with an env_hash drift guard
  • Per QuantEcon/infrastructure#4, the baked CLI is now wrangler, not netlify-cli
  • Flip ci.yml to setup-environment's container-mode path — verify the AMI marker file (/etc/quantecon-container) exists first (Decision 3 of #92)
  • Staged rollout via workflow_dispatch

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ci.yml and the setup-environment container-mode path, then read PROJECT-OPTIMIZE-PREVIEWS.md and the decisions from #92. Verify how the RunsOn AMI is built, including the env_hash drift guard and /etc/quantecon-container marker, then use workflow_dispatch for the staged rollout. Done means the AMI contains the pinned environment and wrangler, and the workflow uses it successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python, shell
Domain
ci-cd, cloud, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.