Overhead optimization#233
Merged
Merged
Conversation
added 2 commits
June 24, 2026 15:06
…_H5_APPEND_ONLY delta flush Captured from the box's in-place pip-1.2.6 patches (sdk_overhead_patches/), ported onto ddp-support-wip. All env-gated (off by default): - WL_INSTANCE_TARGETS_CPU: detach per-instance targets to CPU at enqueue (seg-mask VRAM fix). - empty-mask guard: np.max([]) on 0-instance rows. - WL_H5_APPEND_ONLY: O(delta) append-only H5 flush vs read-all->merge->rewrite-all.
…ple signals Under UL native DDP the trainer model is a DDP wrapper, so signal hooks that read model.criterion/init_criterion/args/modules raised AttributeError. Unwrap to model.module in install_per_sample_signals (single entry point feeding both default_train_signals + install_train_pipeline). Unblocks UL-YOLO under DDP. Found via re-exec spike: WLAwareTrainer survives DDP re-exec + per-rank init works; this was the first real blocker.
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.
Merged overhead opt. into the DDP branch as both are related and necessary for v1.3.1