Repository navigation
Fix placement pool fallback and run placement test in uv CI - #1598
Merged
Merged
Conversation
Signed-off-by: zhx06 <zihaox@nvidia.com>
Signed-off-by: zhx06 <zihaox@nvidia.com>
zhx06
marked this pull request as ready for review
November 4, 2026 16:51
zhx06
requested review from
alexmillane,
cvolkcvolk,
peterd-NV,
qianl-nv,
viiik-inside and
xyao-nv
as code owners
November 4, 2026 16:51
Contributor
|
The review stopped before it finished. Please run |
Collaborator
Author
|
/review |
Contributor
|
The review stopped before it finished. Please run Requested in this comment. |
Contributor
[Medium impact] This PR appears safe to merge; no actionable issues were found. SummaryThis PR fills remaining placement-pool slots after storing the final batch’s valid layouts.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Ranked layouts for one environment] --> B[Store valid layouts up to target]
B --> C{Slots still empty?}
C -- No --> D[Pool ready]
C -- Yes --> E{Final batch and fallback allowed?}
E -- Yes --> F[Fill remaining slots with ranked invalid layouts]
F --> G[Record fallback environment]
G --> D
E -- No --> H[Retry or fail at batch limit]
Reviews (1) · Last reviewed commit: "self review" · Reviewed by Greptile |
xyao-nv
approved these changes
Nov 4, 2026
xyao-nv
reviewed
Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the placement pool fallback so it fills an environment's remaining slots when the last batch finds too few valid layouts. Native uv CI has failed on
mainsince #1523 because of this. Also runtest_placement_success.pyin native uv CI, as Docker CI does.Why this change?
With
allow_best_loss_fallbacks, which is on by default,PooledObjectPlacerfell back only when its last batch had no valid layout. If the last batch had some valid layouts but too few, the build raisedPlacement pool could not fill .... So finding one more valid layout could turn a passing build into a failing one.#1523 changed the candidate seeds, and the farmhouse2 banana spec now hits this in native uv CI. It finds 3 of 5 valid layouts, but its last batch has 1, so the build fails. Before #1523 it found 1, its last batch had none, and fallback filled the rest.
What changes?
PooledObjectPlacerstores an environment's valid layouts first, then fills its remaining slots with best-loss layouts. Withallow_best_loss_fallbacks=False, an environment that is still short still fails the build. The docs described the old rule and now describe the new one.uv-ci.ymlrunsisaaclab_arena_benchmarking/tests/test_placement_success.py, asci.ymlhas since Add Placement Success Benchmark #1560.Validation
test_heterogeneous_placement.pycovers a last batch with too few valid layouts, with fallback on and off. Its fallback-on case fails onmainand passes here. The placement test files pass in the Isaac Sim 6.2 container.mainand build with this change.This PR's native uv job runs the farmhouse2 test on the stack where it fails.
main's latest uv run also failedtest_droid_deformable_environment[physx], which this PR doesn't address.