Repository navigation
Conversation
pv-nvidia
requested review from
AntoineRichard,
StafaH,
huidongc,
kellyguo11,
marcodiiga,
ooctipus,
pbarejko and
rilei-nvidia
as code owners
November 25, 2026 13:14
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Compatibility and deprecation (1), Style consistency (4), Test quality (1). Other reviewed categories look good.
- PR description: Replace “without a behavior change” with the API-removal impact, state the 16 GiB GPU cutoff, and remove the speculative lidar line estimate; the documentation scope and reported validation introduce no measurable performance claim.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: deleting render_product_path, num_cols, and num_rows causes AttributeError during their deprecation release; restore warning-backed accessors, migration and removal guidance, and transition coverage until a later release.
- Implementation: Implementation looks good.
- Style consistency: Changed test docstrings and the tile-placement comment repeat parameter outcomes and arithmetic; trim that narration while retaining non-obvious constraints and add the required void return annotations.
- Test quality: The new native-failure case independently checks error-text integration, but hard-coded cuda:0 bypasses device-mask selection; use test_devices and check the selected device’s memory.
Significant concerns. Posted 6 inline findings.
Automated review; human maintainers own approval decisions.
Contributor
[Medium impact] The PR appears safe to merge. SummaryReplaces the unreleased split setting with an internal environment variable and removes the old camera-data properties.
No actionable new issues were found. Review was based on code inspection; tests were not run. Reviews (2) · Last reviewed commit: "Apply the second code review of the rend..." · Reviewed by Greptile |
pbarejko
approved these changes
Nov 25, 2026
pbarejko
reviewed
Nov 25, 2026
kellyguo11
approved these changes
Nov 25, 2026
OVRTXCameraRenderData is opaque to the caller. PR isaac-sim#9131 deprecated its render_product_path, num_cols and num_rows properties when a camera sensor got several render products. The deprecation and the removal fall into the same unreleased version, so this commit removes the properties and the _single_product helper. Each entry of OVRTXCameraRenderData.products has the path, num_cols and num_rows of one render product. The changelog gate does not allow a change of the pending deprecated fragment, so a removed fragment records the removal next to it.
The split search is an implementation detail of the OVRTX renderer and a workaround for the 4 GiB storage-buffer limit. The known issue about that limit already named it. This commit merges the useful parts of the concepts section into that entry: how "auto" works, the integer that skips the search, the cost of a split, one value on every OVRTX renderer configuration of a task, the renderer=rtx trap and the command-line example. The camera concepts page and the docstring of OVRTXRendererCfg.max_envs_per_render_product now point to the known issue.
Three merges keep every assertion that checks a distinct behavior: - The two tests about a sensor that a cleanup removes during the split search become one parametrized test. One row has the search go on, the other has it give up. Both rows now check that the engine ends with exactly the render products of the rendered sensors. - The five _plan_split tests become one parametrized test with six rows. The review suggested to remove them to save CI time. They run in milliseconds, and two rows check rules that no other test checks: the plan halves the first and largest render product of a sensor, and of equal "auto" sensors it halves the first in the order of the engine. So the tests are consolidated, not removed. - The test that writes each render product into its environment range merges into the test that stitches split frames. The merged test registers a split sensor of 5 environments with a limit of 3, so the atlases have 2 x 2 and 2 x 1 tiles and each tile has the value of its environment. It checks that a missing frame or a missing instance label map raises before any output is written, and it keeps the semantic label map checks. It now goes through _process_render_products, which also covers the frame selection. test_ovrtx_process_frame_reads_authored_camera_render_vars stays separate. It covers the path of a sensor with one render product and reads the render var keys from the authored USD layer, with two cameras, an albedo output and the choice of the newest of several frames. Merging it with the split path and the label map checks would make one long test that is hard to read. test_ovrtx_split_search_copies_the_attributes_of_the_failed_render_product stays unchanged. The GPU split test does not cover the skipped attributes, the half and vector array types and the data row. A mutation of the production code turns each merged test red: min instead of max in the plan, floor instead of ceil for the next limit, a write without the environment offset, and no check that every render product returned a frame.
The split search works around the storage-buffer limit of OVRTX. A TODO comment at the search in render_batch and at OVRTXRendererCfg.max_envs_per_render_product names the condition for the removal: OVRTX renders a tiled image of any size.
The search starts only when the error of OVRTX contains a fixed text, and the other search tests inject that text. A real failed frame shows that the text of OVRTX still matches. 4 environments of 1024 x 1024 pixels at 40 samples per pixel with the RTX anti-aliasing need a sample buffer above the 4 GiB limit. The search then splits the sensor into 2 render products, and every environment renders. The test needs about 13 GB of GPU memory and skips on smaller GPUs.
OVRTXLidarCfg holds an OVRTXRendererCfg, so the setting is on every lidar configuration, but only camera sensors use it.
The reader of these texts is an RL engineer. The reader knows environments, camera sensors, image size, path-tracing samples per pixel, GPU memory and startup time, but not renderer internals. The runtime messages, the public docstrings and the docs of the split now speak in those terms. They explain a render product where the reader meets it first and say what the reader can do. The developer-facing comments and tests of the feature say "tiled image" instead of "atlas", so that one term remains. The first paragraphs of the known issue, which come from main, keep "atlas".
The pieces of these implicitly joined strings broke in the middle of a sentence, so the code showed fragments such as a lone "The" or "Set" at the end of a line. Each piece now holds one sentence, or ends at a comma. The note about a failed frame gives its first sentence in two sentences, because it did not fit one line.
…memory A split lowers the peak GPU memory, because each render product needs smaller buffers. The note about a failed frame said the opposite.
The split of a camera sensor over several render products is a temporary workaround for a renderer limit, not a feature. The environment variable ISAAC_LAB_OVRTX_MAX_ENVS_PER_RENDER_PRODUCT replaces the public field OVRTXRendererCfg.max_envs_per_render_product, as the other internal OVRTX toggles do. The messages name the variable, and the docs lose the command-line example.
The real failed frame test checks the memory of the device it renders on. Two comments that restated a divmod are gone. The known issue no longer names the environment variable, because the warning names it when a user needs it.
pv-nvidia
force-pushed
the
pv/render-product-split-followup
branch
from
November 26, 2026 15:24
7da68ab to
02d0b81
Compare
The renderer checks ISAAC_LAB_OVRTX_MAX_ENVS_PER_RENDER_PRODUCT when it is constructed, so a wrong value fails before the scene is built. The "renders no frames" error gives the integer hint only after a failed frame, because a failed scene write names no groups. The note about a failed frame says that the samples per pixel come from the camera configuration, lists the sensors of the other renderers of a shared engine that wait for a first frame, and says that no sensor could be halved when the search ends below the limit. The changelog fragment says that the replaced attribute was never in a release.
The renderer reads ISAAC_LAB_OVRTX_MAX_ENVS_PER_RENDER_PRODUCT once, when it is constructed, and passes the value to each camera sensor. The failed frame note reads the sensors itself and no longer repeats the stop rule of the split search. The "renders no frames" error has one message, because its cause carries the note. A property of the camera render data gives the largest number of environments in one render product. The tests share helpers for the second renderer on a shared engine, for tiled test images and for the live GPU scene and camera sensor.
The plan is applied in a finally block, so an exception while the note is built cannot leave failed render products in the step set. The note says that the integer needs a camera prim in each environment. The known issue says again that OVRTX fails a frame only above the buffer limit.
Contributor
Author
|
run-ci |
Contributor
|
I enabled backporting on this PR. feel free to merge. |
This branch has not been deployed
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.
Description
Follow-up to #9131, which lets the OVRTX renderer split a camera sensor over several render products after a failed first frame. The review after the merge asked to treat the split as a temporary workaround for a renderer limit, and to keep it out of the public interface. This PR does that:
OVRTXRendererCfg.max_envs_per_render_productis gone. The environment variableISAAC_LAB_OVRTX_MAX_ENVS_PER_RENDER_PRODUCTtakes its place, like the other internal OVRTX toggles. Unset, the search runs after a failed first frame. An integer skips the search, andallturns the split off. A variable is global, so the questions of one value per renderer configuration and of Hydra overrides disappear. Code that setOVRTXRendererCfg.max_envs_per_render_productgets a configuration error, and code that readrender_product_path,num_colsornum_rowsofOVRTXCameraRenderDatagets anAttributeError. Neither was in a release.OVRTXCameraRenderDatais opaque to the caller, sorender_product_path,num_colsandnum_rowsare removed. The changelog records the removal next to the pending deprecation entry, because the changelog gate does not allow changes to pending entries.Tests: 228 CPU tests of the OVRTX renderer and 111 Newton visualizer tests pass. On the GPU, the real-failed-frame test, both rows of the split test and the five rows of the multiple-cameras test pass. The format check and the changelog check pass.
Type of change
Release backport
mainChecklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there