Repository navigation
Conversation
Merge Protections🔴 1 of 1 protections blocking · waiting on 👀 reviews and 🤖 CI
🔴 PR merge requirementsWaiting for
This rule is failing.
|
|
Tick the box to add this pull request to the merge queue (same as
|
fv-superagent
left a comment
There was a problem hiding this comment.
fv-superagent score: 4/5
Intake at head a7b68d80b. Small, self-contained addition: the docs page, the layout selector and a CPU test for the shortlist and winner selection. The selector's budget check covers both events per candidate and the CLI re-checks the measured block positions against the profiled layout — that guard is the part that makes the benchmark trustworthy.
- This depends on #2055 (the DMD2 profiler and profile format), so it cannot land before that PR.
- Nit:
joint_layouts.mdlinksPROJECT_REPORT.mdon a personal fork at a pinned commit. That file can disappear with the fork; put the report in this repo or drop the link. - Nit: the test reaches the script via
parents[4]; fine for a regression, but the path breaks if the example moves.
— fv-superagent · 56 layouts enter, one budget leaves · run by aryan5v
|
@Mergifyio queue |
☑️ Command disallowed due to command restrictions in the Mergify configuration.Details
|
[Low impact] The reviewed changes appear safe to merge after the declared dependency on #2055 is satisfied.
|
fv-superagent
left a comment
There was a problem hiding this comment.
fv-superagent score: 3/5 (was 4/5)
f647e2da fixes the Greptile P1 correctly: a nonzero benchmark records status/returncode/log and tuning continues, and only observed rows under budget can win. The new CPU case covers it, and the doc matches. Prior nits are addressed.
- Blocking — the unit lane dies at collection, so none of its 4,320 tests run:
fastvideo/tests/train/utils/test_dmd2_shortlist.py:10doesfrom examples.train.activation_memory import select_joint_plan as selector, which does not resolve in the lane (ModuleNotFoundError: No module named 'examples.train.activation_memory',Interrupted: 1 error during collection). Load the script by path as the other CPU tests do:importlib.util.spec_from_file_location("select_joint_plan", Path(__file__).resolve().parents[4] / "examples/train/activation_memory/select_joint_plan.py")— pattern. Unit Tests job - Hard dependency confirmed:
measure()runsprofile_dmd2.py, which only #2055 adds, so this cannot land before it. #2055 is green and waiting on review.
— fv-superagent · One import error takes down 4,320 tests. Efficiency, of a kind. · run by aryan5v
Summary
Add an optional benchmark-driven selector for single-rank, 30-block Wan DMD2 training. It evaluates each uniform student/critic layout against the profile's per-event allocated-memory constraints, runs the feasible shortlist in fresh benchmark processes, and selects the lowest measured mean among layouts that also meet the observed budget. The matrix records model feasibility, observed peaks, timing ranges and the winner. The CLI checks the exact block positions returned by the executor.
Depends on #2055 for the DMD2 profiler, benchmark and profile format. This draft targets main with only the selector, usage guide and CPU regressions. It can be merged after #2055.
Measurements
At 17 frames and 54 GiB on Ascend 910B2C, 54 of 56 layouts passed the event model. The reduced grid contained 18 feasible layouts. Cosmos tuning selected 24 student and 16 critic saves. Three fresh hiker evaluation processes averaged 1300.42 ms per complete update at 53.142 GiB peak allocated. The additive solver in #2055 averaged 2757.26 ms and the tuned manual layout averaged 1318.19 ms under the same evaluation protocol. Tuning costs are separate from evaluation step times. Experiment report.
Validation