Skip to content

Add representative MoE timing experiment runners#96

Draft
Happymic wants to merge 1 commit into
feat/window1-p2-qwen-replayfrom
feat/window1-p3-representative-runner
Draft

Add representative MoE timing experiment runners#96
Happymic wants to merge 1 commit into
feat/window1-p2-qwen-replayfrom
feat/window1-p3-representative-runner

Conversation

@Happymic

@Happymic Happymic commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What This PR Does

This PR adds the P3 orchestration layer for representative MoE timing runs. It organizes the longer-running experiment drivers separately from the P2 pilot trace replay code.

Concrete Changes

  • Adds window1_p3/run_p3_rev_subset.py for representative subset runs.
  • Adds window1_p3/run_p3_scale_batch.py for scale/batch sweeps.
  • Adds window1_p3/wait_p3_rev_stage_b.py to wait for and summarize Stage-B progress.
  • Adds window1_p3/watch_p3_rev_raw_build.py to watch raw-build progress.
  • Keeps P3 scripts in a dedicated window1_p3 package instead of mixing them into window1_p2.
  • Removes old window1_p2.run_p3_* self-references and local hardcoded cwd defaults.

What This PR Does Not Do

Validation

Ran locally:

export PLENA_ROOT=/path/to/plena
source "$PLENA_ROOT/venvs/plena-py311/bin/activate"
export PYTHONPATH="$PWD:$PWD/PLENA_Compiler:$PWD/PLENA_Tools:$PWD/transactional_emulator/testbench${PYTHONPATH:+:$PYTHONPATH}"
python -m compileall -q transactional_emulator/testbench/window1_p3
python -m transactional_emulator.testbench.window1_p3.run_p3_rev_subset --help
python -m transactional_emulator.testbench.window1_p3.run_p3_scale_batch --help
python -m transactional_emulator.testbench.window1_p3.wait_p3_rev_stage_b --help
python -m transactional_emulator.testbench.window1_p3.watch_p3_rev_raw_build --help

After rebasing onto the portable P2 branch:

python -m compileall -q transactional_emulator/testbench/window1_p3
python -m transactional_emulator.testbench.window1_p3.run_p3_rev_subset --help

@Happymic Happymic changed the title Add Window 1 P3 representative run orchestration Add representative MoE timing experiment runners Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant