Skip to content

Batch Newton visualization markers with direct Torch-to-Warp transfers - #9038

Merged
ooctipus merged 5 commits into
isaac-sim:mainfrom
ooctipus:codex/newton-marker-streaming
Nov 19, 2026
Merged

ooctipus merged 5 commits into
isaac-sim:mainfrom
ooctipus:codex/newton-marker-streaming

Conversation

@ooctipus

@ooctipus ooctipus commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Newton markers currently rebuild and upload a full instance batch for every prototype—even when only color or scale differs. This change groups shared primitive geometry and passes Torch tensors directly to Warp, eliminating repeated transform construction and CPU round trips.

The focused marker-preparation timing in Improvements is historical, measured at 8879a84ada25641fd3846f8598bf458c61f94090. The environment throughput below was rerun on November 18 with the revised implementation at a94c2e11bef41e0b2219cdc10d55883b0e3faa3c.

Improvements

Measured with 2,560 markers and four color prototypes sharing one geometry, after five warmup renders and over 100 measured renders:

Work per render Before After Improvement
Instance batches 4 1 75% fewer
Instance records across batches 10,240 2,560 75% fewer
Transform construction Once per prototype Once per render 4 → 1 in this case
Tensor handoff Torch → CPU/NumPy → Warp Torch → Warp Removes host round trip for same-device tensors
CPU render preparation + sink readback 0.559 ms 0.202 ms 64% less time (2.77×)

The timing measures marker preparation and sink readback, not browser FPS. Instance counts are structural counts, not measured network bytes. GPU timings are omitted because another playback process was using the GPU.

Existing-environment throughput

Fresh measurements from November 18, 2026. Values are median vector-environment updates/s (range) across six accepted 15-second intervals per variant, from two fresh processes. These measure full simulation and visualization with a connected Viser WebSocket client and uncapped visualization, not browser FPS.

Scene Original Newton only Previous PR (8879a84ad) Revised PR (a94c2e11b)
KUKA–Allegro lift, 512 environments 75.6 (75.4–76.6) 76.3 (76.0–77.3) 83.4 (82.8–84.1) 85.0 (84.6–86.0)
ANYmal policy playback, 512 robots, 8×8 terrain 46.7 (43.8–48.2) 46.9 (44.6–48.2) 57.9 (55.6–60.6) 57.1 (54.9–60.0)
  • KUKA: revised is +12.6% versus original, +11.4% versus Newton only, and +2.0% versus the previous PR.
  • ANYmal: revised is +22.2% versus original and +21.7% versus Newton only. Its median is -1.5% versus the previous PR; their interval ranges overlap substantially, so this run does not establish a small speedup or slowdown from the simplification.

For each scene, run order was original → Newton only → previous PR → revised PR → revised PR → previous PR → Newton only → original. Each process warms up for 10 seconds, then collects three 15-second intervals. The GPU monitor samples compute processes once per second; no competing process was observed on the measured GPU during any of the 48 accepted intervals. Two additional intervals were discarded because of observed contention. Other work could run on the shared host or the other GPU; CPU resources were not reserved.

All runs used RTX 5090 GPU 1, Torch 2.11.0+cu130 with 24 Torch CPU threads, stock Viser 1.1.1, and the same Newton physics runtime (9ca16d498). Original uses the unoptimized viewer and markers. Newton only adds the viewer changes from Newton #5380, backported onto that fixed runtime; the previous/revised PR variants also select their respective marker implementations. Runtime source hashes confirm that only the three Newton viewer files differ. The same Viser line-width API adjustment is applied to both runtimes.

KUKA uses zero actions, seed 42, and goal markers. ANYmal uses checkpoint 6b7z0qkf/model_18800.pt, seed 43, and the full 8×8 terrain. Scene source was frozen from the current local scene checkout and used unchanged for all variants; that checkout has evolved since the historical experiment. These fresh results replace the earlier throughput numbers and are not pooled with them.

What changed

  • Resolve prototype batch IDs and scale/color styles once at initialization. Render gathers those tables and masks by batch ID; no pairwise batch search, per-render Python-list uploads, torch.isin, or int64 index copy.
  • Keep unsupported prototypes in the lookup as non-rendering entries, without reading unsupported material fields. Negative and out-of-range indices remain invisible.
  • Rerun draws each supported prototype separately because its mesh appearance is batch-wide. It shares registered primitive geometry between those draw batches. Other Newton viewers retain geometry batching with per-instance colors.
  • Keep viewer-local mesh registration in the existing backend helper. Construct mesh transforms lazily, once per render, and skip that work for frame-only groups.
  • Fix frame line width from the prototype scale at initialization, removing the per-frame scalar readback. Per-instance scale updates still change axis lengths, while line width stays fixed.
  • Update the older marker render fixtures to use the real constructor and consume actual Warp arrays; remove obsolete internal state setup instead of adding compatibility aliases.

Production changes for the complete PR: 101 additions, 136 deletions (net −35) in the existing marker module. No new production modules or dependency changes. Batch layouts remain owned by this backend; Rerun's separate layout represents its actual appearance limitation.

Newton viewer cleanup remains in the independent Newton #5380. No Viser patch is required. Direct Torch-to-Warp handoff removes per-instance CPU/NumPy copies; sync_exit=True still provides stream synchronization.

Validation

  • uv run python -m pytest source/isaaclab_visualizers/test/test_newton_adapter.py -k marker -q: 7 passed, including CPU and CUDA/non-default-stream coverage.
  • uv run python -m pytest source/isaaclab/test/markers/test_visualization_markers.py -k newton_marker -q: 12 passed.
  • The consolidated regression covers geometry batching, colors/scales, unsupported GroundPlaneCfg, invalid indices, selected environments, in-place updates, visibility, viewer-local registration, and Rerun's separate color batches. It forbids per-render torch.isin.
  • Regression evidence: the previous PR head crashes on GroundPlaneCfg; disabling Rerun's separate layout or invalid-index masking independently makes the updated test fail.
  • Full adapter file: 48 passed, 1 failed. The camera test fails with ModelBuilder.add_usd() got an unexpected keyword argument 'allow_unsafe_torch_checkpoints' in the installed Newton runtime. The same isolated camera test fails at the previous PR head with that error.
  • Full uv run isaaclab --format, changelog gate against the PR base, and git diff --check pass.

Type of change

  • Performance improvement

Checklist

  • Read the contribution guidelines
  • Ran formatting and lint checks
  • Consolidated regression coverage using the test-audit criteria
  • Added a package changelog fragment

@ooctipus
ooctipus requested a review from a team November 15, 2026 22:35
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Nov 15, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Scope and over-engineering (1), Compatibility and deprecation (1), Implementation (2), Style consistency (2), Test quality (1). Other reviewed categories look good.

  • PR description: Qualify the title as removing per-instance host conversions; make the 0.56→0.20 ms CPU claim reproducible with baseline/candidate revisions, command, hardware, backend, environment count, warmup, and metric, preserving template sections.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: Minimal implementation: Extend NewtonVisualizationMarkers in newton_visualization_markers.py; no source modules were added and no parallel layers need removal. Keep initialization-time geometry grouping and viewer-local registration, but restrict transform and Warp color preparation to mesh batches; frame batches need only line preparation. Retain the focused tests and changelog. Scope is cohesive; no split recommended.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: construction-time fallback scale and color tables ignore configuration edits previously read during rendering; preserve live reads or provide a functional deprecation bridge, migration guidance, removal schedule, and transition coverage.
  • Implementation: Rendering copies stored int32 indices to int64 unnecessarily; reuse the stored selection and create default indices as int32.
  • Style consistency: Prototype scale and color tables lack the concrete attribute annotations required by repository guidance and adjacent state; annotate their element types.
  • Test quality: The registration and batching checks protect distinct contracts, but both lack required kitless markers; mark them so kitless selections exercise the coverage.

Significant concerns. Posted 7 inline findings.

Automated review; human maintainers own approval decisions.

name: _infer_newton_marker_cfg(marker_cfg) for name, marker_cfg in cfg.markers.items()
}
self._marker_batches: list[tuple[str, _NewtonMarkerSpec, list[int]]] = []
self._prototype_scales = []

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Annotate prototype tables

The new scale and color attributes omit element types beside the annotated batch attribute. Add concrete list annotations so their stored values are explicit.

self._prototype_colors = []
for index, (name, marker_cfg) in enumerate(cfg.markers.items()):
spec = _infer_newton_marker_cfg(marker_cfg)
self._prototype_scales.append(spec.scale or _extract_scale_hint(marker_cfg))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Preserve live prototype styling

Scale and color fallbacks were read from marker configurations on each render. Caching them at construction ignores later configuration edits; retain live reads or a functional, documented deprecation bridge.

num_markers = translations.shape[0]
if orientations is None:
orientations = translations.new_tensor((0.0, 0.0, 0.0, 1.0)).expand(num_markers, -1)
xforms = wp.from_torch(torch.cat((translations, orientations), dim=1).float(), dtype=wp.transform).to(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Scope Complexity — Skip mesh preparation for frames

Frame-only groups now construct transforms and convert colors to Warp, although log_lines consumes neither. Prepare these arrays only when a mesh batch exists.

indices = (
torch.zeros(num_markers, device=translations.device, dtype=torch.long)
if (marker_indices is None)
else marker_indices.long()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Implementation — Reuse stored marker indices

visualize() already stores int32 indices, which Torch indexing and membership checks accept. Converting the full selection to int64 copies it every render; use the stored tensor and create default indices as int32.

viewer.log_lines(batch_name, None, None, None, hidden=True)
continue

shown = torch.isin(indices, indices.new_tensor(prototype_indices))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Implementation — Reuse batch membership data

Each render rebuilds every unchanged prototype-index tensor from a Python list, uploading it on CUDA. Retain device-side membership data per batch and device instead.

NewtonVisualizationMarkers,
_NewtonMarkerSpec,
)
def test_marker_render_handles_none_normals_and_uvs(monkeypatch, marker_registry):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Test Quality — Mark both marker tests kitless

Both changed marker tests run without Isaac Sim but lack pytest.mark.kitless, so kitless CI omits their registration and batching checks. Mark both tests.

@pytest.mark.parametrize("device", test_devices())
def test_marker_batches_preserve_selected_instances(device, marker_registry):
"""Shared geometry keeps each prototype's color/scale, filtering, and live tensor updates."""
from contextlib import nullcontext

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Move nullcontext to module imports

nullcontext is a standard-library import with no deferred dependency. Move it to the module-level import group required by the contribution guide.

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Scope and over-engineering (2), Compatibility and deprecation (1), Style consistency (3). Other reviewed categories look good.

  • PR description: Qualify the title because frame widths still read host scalars; make the reported CPU timing reproducible with baseline/candidate revisions, command, hardware, backend, environment count, warmup, and the measured preparation/readback metric.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: Minimal implementation: extend NewtonVisualizationMarkers.init for geometry grouping and render for shared preparation and viewer-local registration; allocate transforms and colors only for mesh batches and use equality for singleton masks. No source modules were added, and no existing layer needs extraction. Keep the essential selection, appearance, visibility, and viewer submission flow in the existing backend. Scope is cohesive; no split recommended.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: construction-time appearance caches suppress fallback color and scale edits previously read during rendering, without a functional bridge or deprecation cycle; restore render-time resolution.
  • Implementation: Implementation looks good.
  • Style consistency: Prototype collections and changed test returns lack required annotations, while nullcontext is imported locally without a runtime dependency reason; add concrete annotations and move the import to module scope.
  • Test quality: Test quality looks good.

Significant concerns. Posted 6 inline findings.

Automated review; human maintainers own approval decisions.

name: _infer_newton_marker_cfg(marker_cfg) for name, marker_cfg in cfg.markers.items()
}
self._marker_batches: list[tuple[str, _NewtonMarkerSpec, list[int]]] = []
self._prototype_scales = []

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Annotate prototype collections

The new scale and color attributes lack concrete collection annotations, unlike the adjacent batch field. Annotate both as lists of three-component tuples so their stored layout is explicit.

self._prototype_colors = []
for index, (name, marker_cfg) in enumerate(cfg.markers.items()):
spec = _infer_newton_marker_cfg(marker_cfg)
self._prototype_scales.append(spec.scale or _extract_scale_hint(marker_cfg))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Keep prototype appearance updates live

Fallback scales and colors previously came from marker.cfg on each render. Storing them at construction makes later configuration edits invisible. Resolve those values at render time to preserve the existing behavior.

num_markers = translations.shape[0]
if orientations is None:
orientations = translations.new_tensor((0.0, 0.0, 0.0, 1.0)).expand(num_markers, -1)
xforms = wp.from_torch(torch.cat((translations, orientations), dim=1).float(), dtype=wp.transform).to(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Scope Complexity — Skip unused frame-only instance buffers

Frame-only groups construct and transfer transforms and prototype colors on every render, although log_lines consumes neither. Prepare those buffers only when a mesh batch exists.

viewer.log_lines(batch_name, None, None, None, hidden=True)
continue

shown = torch.isin(indices, indices.new_tensor(prototype_indices))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Scope Complexity — Use equality for singleton batches

Each ungrouped prototype allocates an index tensor and runs torch.isin for a single value. Use the previous equality mask for singleton batches; retain membership testing for shared batches.

NewtonVisualizationMarkers,
_NewtonMarkerSpec,
)
def test_marker_render_handles_none_normals_and_uvs(monkeypatch, marker_registry):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Annotate new test returns

Both changed test functions omit the required -> None return annotation. Add it to this test and test_marker_batches_preserve_selected_instances.

@pytest.mark.parametrize("device", test_devices())
def test_marker_batches_preserve_selected_instances(device, marker_registry):
"""Shared geometry keeps each prototype's color/scale, filtering, and live tensor updates."""
from contextlib import nullcontext

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Move nullcontext to module imports

nullcontext is an unconditional standard-library import. Keeping it inside the test violates the module-level import rule; move it to the standard-library import group.

@greptile-apps

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

This PR reduces repeated work when drawing Newton markers while preserving separate prototype colors in Rerun.

  • Newton markers share primitive batches and send instance tensors straight to Warp.

All three previous findings are addressed. No new actionable issues were found.

Reviews (3) · Last reviewed commit: "Merge branch 'main' into codex/newton-ma..." · Reviewed by Greptile

Comment on lines +214 to +215
colors = translations.new_tensor(self._prototype_colors)[selected]
colors = wp.from_torch(colors.float().contiguous(), dtype=wp.vec3).to(device)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Rerun marker colors become wrong. Every batch now receives colors selected from all markers, including markers belonging to other shapes. NewtonViewerRerun uses the first color as the batch appearance and compares only that color before dropping later updates. A red sphere followed by a green box therefore gives both batches the sphere's first color; merging differently colored prototypes has the same problem. Keep separate color batches for Rerun, or update its color support before sending these mixed arrays.

Comment on lines 187 to 188
if not self._marker_batches or (translations is None and not hidden):
return

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Existing marker tests now fail. The new render path requires _marker_batches, _prototype_scales, and _prototype_colors, but _make_newton_marker_for_render in test_visualization_markers.py still builds objects with only the old fields. Its render tests now raise AttributeError here. That file also calls the removed _ensure_mesh_registered method. Update those fixtures and checks alongside the tests changed in this PR.

Comment on lines +81 to +85
self._prototype_scales.append(spec.scale or _extract_scale_hint(marker_cfg))
self._prototype_colors.append(spec.color or _extract_color(marker_cfg))
if spec.renderer == "none":
logger.warning("Unsupported Newton marker prototype '%s' in '%s'; skipping.", name, self.group_id)
continue

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Unsupported prototypes can crash construction. _extract_color now runs before the unsupported-prototype check and directly reads visual_material. The marker configuration accepts any SpawnerCfg, but types such as GroundPlaneCfg have no such field. These previously reached the warning-and-skip path; now they stop the entire marker group from being created. Use a fallback color for skipped prototypes while keeping their index slots.

@StafaH

StafaH commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Thanks for this, batching shared geometry and dropping the CPU round trip are both good wins. A few things I'd like to see fixed before merging, plus a suggestion for simplifying the batching logic.

Issues

  1. Rerun colors are wrong. ViewerRerun.log_instances colors the whole batch with colors[0]. Every batch now gets the full per-instance color array, so instance 0 can belong to a different prototype (just zero-scaled). This breaks even unmerged batches, e.g. a red sphere and a green box both render red.
  2. Existing marker tests break. source/isaaclab/test/markers/test_visualization_markers.py still uses _ensure_mesh_registered, _marker_specs and _warned_unsupported (via _make_newton_marker_for_render), so the Newton render tests there will hit AttributeError.
  3. Unsupported prototypes can crash construction. _extract_color now runs before the unsupported check and reads marker_cfg.visual_material. GroundPlaneCfg doesn't have that field, so what used to be a warning is now an exception.

Suggestion: resolve prototypes into lookup tables

The batching state (list of (name, spec, indices), the pairwise spec comparison, two parallel lists, and torch.isin every render) is really just a per-prototype lookup table. If each prototype resolves once to a batch id and a style, render becomes a gather plus one mask per batch:

# __init__
self._batches: list[tuple[str, str, _NewtonMarkerSpec, int]] = []  # (batch, mesh, spec, first prototype)
batch_ids: dict[object, int] = {}
proto_batch, proto_style = [], []
for p, (name, marker_cfg) in enumerate(cfg.markers.items()):
    spec = _infer_newton_marker_cfg(marker_cfg)
    if spec.renderer == "none":
        logger.warning("Unsupported Newton marker prototype '%s' in '%s'; skipping.", name, self.group_id)
        proto_batch.append(-1)
        proto_style.append((0.0,) * 6)
        continue
    # Primitives with identical params share a batch; frames and USD meshes stay separate.
    key = (spec.mesh_type, tuple(spec.mesh_params.items())) if spec.mesh_params else name
    if key not in batch_ids:
        batch_ids[key] = len(self._batches)
        self._batches.append((f"{self.group_id}/{name}", f"{self.group_id}/meshes/{name}", spec, p))
    proto_batch.append(batch_ids[key])
    proto_style.append((*(spec.scale or _extract_scale_hint(marker_cfg)), *(spec.color or _extract_color(marker_cfg))))
self._proto_batch = torch.tensor(proto_batch)
self._proto_style = torch.tensor(proto_style)  # [P, 6]: scale xyz, rgb
# render(), after the existing env selection
if not self.visible or count == 0:
    return self._hide(viewer)
if translations is None:
    return

n = translations.shape[0]
if orientations is None:
    orientations = translations.new_tensor((0.0, 0.0, 0.0, 1.0)).expand(n, -1)
self._proto_batch = self._proto_batch.to(translations.device)  # no-op after the first frame
self._proto_style = self._proto_style.to(translations)
proto = translations.new_zeros(n, dtype=torch.long) if marker_indices is None else marker_indices.long()
inst_batch = self._proto_batch[proto]
inst_scale, inst_color = self._proto_style[proto].split(3, dim=1)
if scales is not None:
    inst_scale = inst_scale * scales
xforms = _to_warp(torch.cat((translations, orientations), dim=1), wp.transform, viewer.device)

stream = wp.stream_from_torch(translations.device) if translations.is_cuda else None
with wp.ScopedStream(stream, sync_exit=True):
    for b, (batch, mesh, spec, p0) in enumerate(self._batches):
        shown = (inst_batch == b).unsqueeze(1)
        batch_scale = inst_scale * shown
        if spec.renderer == "frame":
            lines = _build_frame_lines(translations, orientations, batch_scale)
            viewer.log_lines(batch, *(_to_warp(t, wp.vec3, viewer.device) for t in lines), width=spec.line_width, hidden=False)
            continue
        self._register_mesh(viewer, mesh, spec)
        # Hidden slots take this batch's color, since Rerun uses colors[0] for the whole batch.
        colors = torch.where(shown, inst_color, self._proto_style[p0, 3:])
        materials = translations.new_tensor((0.0, 0.0, 0.0, float(spec.texture is not None))).expand(n, -1)
        viewer.log_instances(
            batch,
            mesh,
            xforms,
            _to_warp(batch_scale, wp.vec3, viewer.device),
            _to_warp(colors, wp.vec3, viewer.device),
            _to_warp(materials, wp.vec4, viewer.device),
            hidden=False,
        )

_hide() and _register_mesh() (the existing _ensure_mesh_registered) stay as small helpers, which keeps the hidden path out of the main loop and keeps the per-viewer registration test valid. _to_warp is just wp.from_torch(t.float().contiguous(), dtype=dtype).to(device).

What this gets us:

  • Merging, unsupported prototypes and the default prototype all come from the same table, so there's one rule for which batch draws a marker: inst_batch == b.
  • No per-render uploads from Python lists and no isin. The tables move to the device once.
  • Fixes the GroundPlaneCfg crash, since unsupported prototypes never call _extract_color.
  • Fixes Rerun for unmerged batches with the torch.where. Merged batches with different colors still need per-instance color support in Newton's Rerun viewer, which probably fits in newton#5380.
  • Computing spec.line_width from the prototype scale at init removes the .mean().item() sync for frames. The only difference is that per-instance scales passed to visualize() no longer change the line width, which seems fine for a debug marker.

Smaller things

  • Two prototypes using the same non-arrow USD file still load and register the mesh twice. Adding usd_path (and texture) to the batch key would cover that.
  • indices.clamp(0, P - 1) changes behavior: out-of-range indices used to render nothing and now show the last prototype.
  • The description says "without host round trips", but sync_exit=True and the frame .item() still sync every render. That's no worse than before; it would just be good to word it as removing the host copies.

@ooctipus ooctipus changed the title Batch Newton visualization markers without host round trips Batch Newton visualization markers with direct Torch-to-Warp transfers Nov 18, 2026
@ooctipus

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 19, 2026
@ooctipus
ooctipus merged commit d7c9593 into isaac-sim:main Nov 19, 2026
97 of 125 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants