Skip to content

The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.

Merge pull request #66 from JamesKrW/perf/behavior-texture-budget

Kangrui Wang26482ade38f9
diff --git a/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-assembling-gift-baskets-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-assembling-gift-baskets-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-assembling-gift-baskets-i00-standard/environment/docker-compose.yaml b/tasks/behavior-assembling-gift-baskets-i00-standard/environment/docker-compose.yaml
index ef5e3ef22b..790464ff84 100644
--- a/tasks/behavior-assembling-gift-baskets-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-assembling-gift-baskets-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: assembling_gift_baskets
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-assembling-gift-baskets-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-assembling-gift-baskets-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-assembling-gift-baskets-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-assembling-gift-baskets-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-boxing-books-up-for-storage-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/docker-compose.yaml b/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/docker-compose.yaml
index bd55e527eb..8cfb3c145d 100644
--- a/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: boxing_books_up_for_storage
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-boxing-books-up-for-storage-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-bringing-in-wood-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-bringing-in-wood-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-bringing-in-wood-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-bringing-in-wood-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-bringing-in-wood-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-bringing-in-wood-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-bringing-in-wood-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-bringing-in-wood-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-bringing-in-wood-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-bringing-in-wood-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-bringing-in-wood-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-bringing-in-wood-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-bringing-in-wood-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-bringing-in-wood-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-bringing-in-wood-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-bringing-in-wood-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-bringing-in-wood-i00-standard/environment/docker-compose.yaml b/tasks/behavior-bringing-in-wood-i00-standard/environment/docker-compose.yaml
index a6d7ee1820..20c35458cc 100644
--- a/tasks/behavior-bringing-in-wood-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-bringing-in-wood-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: bringing_in_wood
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-bringing-in-wood-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-bringing-in-wood-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-bringing-in-wood-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-bringing-in-wood-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-bringing-paper-to-recycling-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/docker-compose.yaml b/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/docker-compose.yaml
index a4dc11c2d0..860963f481 100644
--- a/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: bringing_paper_to_recycling
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-bringing-paper-to-recycling-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-can-meat-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-can-meat-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-can-meat-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-can-meat-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-can-meat-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-can-meat-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-can-meat-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-can-meat-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-can-meat-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-can-meat-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-can-meat-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-can-meat-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-can-meat-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-can-meat-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-can-meat-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-can-meat-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-can-meat-i00-standard/environment/docker-compose.yaml b/tasks/behavior-can-meat-i00-standard/environment/docker-compose.yaml
index b8221cb12b..8e2b29fc68 100644
--- a/tasks/behavior-can-meat-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-can-meat-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: can_meat
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-can-meat-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-can-meat-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-can-meat-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-can-meat-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-canning-food-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-canning-food-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-canning-food-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-canning-food-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-canning-food-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-canning-food-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-canning-food-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-canning-food-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-canning-food-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-canning-food-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-canning-food-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-canning-food-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-canning-food-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-canning-food-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-canning-food-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-canning-food-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-canning-food-i00-standard/environment/docker-compose.yaml b/tasks/behavior-canning-food-i00-standard/environment/docker-compose.yaml
index 43da17fe58..e96f6fd7dc 100644
--- a/tasks/behavior-canning-food-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-canning-food-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: canning_food
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-canning-food-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-canning-food-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-canning-food-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-canning-food-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-carrying-in-groceries-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-carrying-in-groceries-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-carrying-in-groceries-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-carrying-in-groceries-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-carrying-in-groceries-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-carrying-in-groceries-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-carrying-in-groceries-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-carrying-in-groceries-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-carrying-in-groceries-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-carrying-in-groceries-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-carrying-in-groceries-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-carrying-in-groceries-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-carrying-in-groceries-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-carrying-in-groceries-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-carrying-in-groceries-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-carrying-in-groceries-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-carrying-in-groceries-i00-standard/environment/docker-compose.yaml b/tasks/behavior-carrying-in-groceries-i00-standard/environment/docker-compose.yaml
index 25fe5d131f..c78ae91a2b 100644
--- a/tasks/behavior-carrying-in-groceries-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-carrying-in-groceries-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: carrying_in_groceries
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-carrying-in-groceries-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-carrying-in-groceries-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-carrying-in-groceries-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-carrying-in-groceries-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-carrying-out-garden-furniture-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/docker-compose.yaml b/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/docker-compose.yaml
index 213baf9724..42fca42a5a 100644
--- a/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: carrying_out_garden_furniture
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-carrying-out-garden-furniture-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-chopping-wood-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-chopping-wood-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-chopping-wood-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-chopping-wood-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-chopping-wood-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-chopping-wood-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-chopping-wood-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-chopping-wood-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-chopping-wood-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-chopping-wood-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-chopping-wood-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-chopping-wood-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-chopping-wood-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-chopping-wood-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-chopping-wood-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-chopping-wood-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-chopping-wood-i00-standard/environment/docker-compose.yaml b/tasks/behavior-chopping-wood-i00-standard/environment/docker-compose.yaml
index 87da505b99..a87670a971 100644
--- a/tasks/behavior-chopping-wood-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-chopping-wood-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: chopping_wood
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-chopping-wood-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-chopping-wood-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-chopping-wood-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-chopping-wood-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-a-patio-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-clean-a-patio-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-clean-a-patio-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-a-patio-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-a-patio-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-clean-a-patio-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-a-patio-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-clean-a-patio-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-a-patio-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-clean-a-patio-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-clean-a-patio-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-clean-a-patio-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-a-patio-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-clean-a-patio-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-a-patio-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-clean-a-patio-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-a-patio-i00-standard/environment/docker-compose.yaml b/tasks/behavior-clean-a-patio-i00-standard/environment/docker-compose.yaml
index cd448aa5e3..0f662d736c 100644
--- a/tasks/behavior-clean-a-patio-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-a-patio-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: clean_a_patio
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-clean-a-patio-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-clean-a-patio-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-a-patio-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-clean-a-patio-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-clean-up-broken-glass-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-clean-up-broken-glass-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-up-broken-glass-i00-standard/environment/docker-compose.yaml b/tasks/behavior-clean-up-broken-glass-i00-standard/environment/docker-compose.yaml
index 758543f793..4dd9ec5c97 100644
--- a/tasks/behavior-clean-up-broken-glass-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-up-broken-glass-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: clean_up_broken_glass
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-clean-up-broken-glass-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-clean-up-broken-glass-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-up-broken-glass-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-clean-up-broken-glass-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-up-your-desk-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-clean-up-your-desk-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-clean-up-your-desk-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-up-your-desk-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-up-your-desk-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-clean-up-your-desk-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-up-your-desk-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-clean-up-your-desk-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-up-your-desk-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-clean-up-your-desk-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-clean-up-your-desk-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-clean-up-your-desk-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-up-your-desk-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-clean-up-your-desk-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-up-your-desk-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-clean-up-your-desk-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-up-your-desk-i00-standard/environment/docker-compose.yaml b/tasks/behavior-clean-up-your-desk-i00-standard/environment/docker-compose.yaml
index 6f9a18ccea..f3f75937e6 100644
--- a/tasks/behavior-clean-up-your-desk-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-up-your-desk-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: clean_up_your_desk
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-clean-up-your-desk-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-clean-up-your-desk-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-up-your-desk-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-clean-up-your-desk-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-clean-your-rusty-garden-tools-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/docker-compose.yaml b/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/docker-compose.yaml
index e75ad1ed7a..52f31a7785 100644
--- a/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: clean_your_rusty_garden_tools
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-clean-your-rusty-garden-tools-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-cleaning-up-branches-and-twigs-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/docker-compose.yaml b/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/docker-compose.yaml
index 1fc1889cea..9550c96f13 100644
--- a/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: cleaning_up_branches_and_twigs
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-cleaning-up-branches-and-twigs-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-cleaning-up-plates-and-food-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/docker-compose.yaml b/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/docker-compose.yaml
index 4628265634..6bd39001fe 100644
--- a/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: cleaning_up_plates_and_food
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-cleaning-up-plates-and-food-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-clearing-food-from-table-into-fridge-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/docker-compose.yaml b/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/docker-compose.yaml
index 1a129af042..87dfcb84a1 100644
--- a/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: clearing_food_from_table_into_fridge
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-clearing-food-from-table-into-fridge-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-collecting-aluminum-cans-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-collecting-aluminum-cans-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/docker-compose.yaml b/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/docker-compose.yaml
index f56458c962..27aa7f4fa0 100644
--- a/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: collecting_aluminum_cans
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-collecting-aluminum-cans-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-collecting-childrens-toys-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-collecting-childrens-toys-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-collecting-childrens-toys-i00-standard/environment/docker-compose.yaml b/tasks/behavior-collecting-childrens-toys-i00-standard/environment/docker-compose.yaml
index e85d0a6698..1e8dc85e16 100644
--- a/tasks/behavior-collecting-childrens-toys-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-collecting-childrens-toys-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: collecting_childrens_toys
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-collecting-childrens-toys-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-collecting-childrens-toys-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-collecting-childrens-toys-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-collecting-childrens-toys-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-composting-waste-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-composting-waste-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-composting-waste-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-composting-waste-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-composting-waste-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-composting-waste-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-composting-waste-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-composting-waste-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-composting-waste-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-composting-waste-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-composting-waste-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-composting-waste-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-composting-waste-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-composting-waste-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-composting-waste-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-composting-waste-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-composting-waste-i00-standard/environment/docker-compose.yaml b/tasks/behavior-composting-waste-i00-standard/environment/docker-compose.yaml
index ef9c3c08fa..4dc1b3ce42 100644
--- a/tasks/behavior-composting-waste-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-composting-waste-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: composting_waste
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-composting-waste-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-composting-waste-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-composting-waste-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-composting-waste-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-cook-brussels-sprouts-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-cook-brussels-sprouts-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/docker-compose.yaml b/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/docker-compose.yaml
index b15380cd76..02632f352f 100644
--- a/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: cook_brussels_sprouts
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-cook-brussels-sprouts-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cook-cabbage-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-cook-cabbage-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-cook-cabbage-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-cook-cabbage-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cook-cabbage-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-cook-cabbage-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cook-cabbage-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-cook-cabbage-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cook-cabbage-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-cook-cabbage-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-cook-cabbage-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-cook-cabbage-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-cook-cabbage-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-cook-cabbage-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cook-cabbage-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-cook-cabbage-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-cook-cabbage-i00-standard/environment/docker-compose.yaml b/tasks/behavior-cook-cabbage-i00-standard/environment/docker-compose.yaml
index bd82c81a31..9d09647571 100644
--- a/tasks/behavior-cook-cabbage-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-cook-cabbage-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: cook_cabbage
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-cook-cabbage-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-cook-cabbage-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-cook-cabbage-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-cook-cabbage-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-dispose-of-batteries-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-dispose-of-batteries-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-dispose-of-batteries-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-dispose-of-batteries-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-dispose-of-batteries-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-dispose-of-batteries-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-dispose-of-batteries-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-dispose-of-batteries-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-dispose-of-batteries-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-dispose-of-batteries-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-dispose-of-batteries-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-dispose-of-batteries-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-dispose-of-batteries-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-dispose-of-batteries-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-dispose-of-batteries-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-dispose-of-batteries-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-dispose-of-batteries-i00-standard/environment/docker-compose.yaml b/tasks/behavior-dispose-of-batteries-i00-standard/environment/docker-compose.yaml
index 7f2fe48656..4d95c02c19 100644
--- a/tasks/behavior-dispose-of-batteries-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-dispose-of-batteries-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: dispose_of_batteries
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-dispose-of-batteries-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-dispose-of-batteries-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-dispose-of-batteries-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-dispose-of-batteries-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-dispose-of-glass-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-dispose-of-glass-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-dispose-of-glass-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-dispose-of-glass-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-dispose-of-glass-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-dispose-of-glass-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-dispose-of-glass-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-dispose-of-glass-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-dispose-of-glass-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-dispose-of-glass-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-dispose-of-glass-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-dispose-of-glass-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-dispose-of-glass-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-dispose-of-glass-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-dispose-of-glass-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-dispose-of-glass-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-dispose-of-glass-i00-standard/environment/docker-compose.yaml b/tasks/behavior-dispose-of-glass-i00-standard/environment/docker-compose.yaml
index 0bfc710af5..28309fa316 100644
--- a/tasks/behavior-dispose-of-glass-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-dispose-of-glass-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: dispose_of_glass
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-dispose-of-glass-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-dispose-of-glass-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-dispose-of-glass-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-dispose-of-glass-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-freeze-fruit-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-freeze-fruit-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-freeze-fruit-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-freeze-fruit-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-freeze-fruit-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-freeze-fruit-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-freeze-fruit-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-freeze-fruit-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-freeze-fruit-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-freeze-fruit-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-freeze-fruit-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-freeze-fruit-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-freeze-fruit-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-freeze-fruit-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-freeze-fruit-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-freeze-fruit-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-freeze-fruit-i00-standard/environment/docker-compose.yaml b/tasks/behavior-freeze-fruit-i00-standard/environment/docker-compose.yaml
index 4f7bc6f1b0..a6f0ab6845 100644
--- a/tasks/behavior-freeze-fruit-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-freeze-fruit-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: freeze_fruit
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-freeze-fruit-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-freeze-fruit-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-freeze-fruit-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-freeze-fruit-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-freeze-pies-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-freeze-pies-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-freeze-pies-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-freeze-pies-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-freeze-pies-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-freeze-pies-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-freeze-pies-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-freeze-pies-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-freeze-pies-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-freeze-pies-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-freeze-pies-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-freeze-pies-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-freeze-pies-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-freeze-pies-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-freeze-pies-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-freeze-pies-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-freeze-pies-i00-standard/environment/docker-compose.yaml b/tasks/behavior-freeze-pies-i00-standard/environment/docker-compose.yaml
index 3a7df01bd5..266deaab6d 100644
--- a/tasks/behavior-freeze-pies-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-freeze-pies-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: freeze_pies
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-freeze-pies-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-freeze-pies-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-freeze-pies-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-freeze-pies-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-getting-organized-for-work-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-getting-organized-for-work-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-getting-organized-for-work-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-getting-organized-for-work-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-getting-organized-for-work-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-getting-organized-for-work-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-getting-organized-for-work-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-getting-organized-for-work-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-getting-organized-for-work-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-getting-organized-for-work-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-getting-organized-for-work-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-getting-organized-for-work-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-getting-organized-for-work-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-getting-organized-for-work-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-getting-organized-for-work-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-getting-organized-for-work-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-getting-organized-for-work-i00-standard/environment/docker-compose.yaml b/tasks/behavior-getting-organized-for-work-i00-standard/environment/docker-compose.yaml
index fd3ca1d21b..28b3f6d91f 100644
--- a/tasks/behavior-getting-organized-for-work-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-getting-organized-for-work-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: getting_organized_for_work
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-getting-organized-for-work-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-getting-organized-for-work-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-getting-organized-for-work-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-getting-organized-for-work-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-hiding-Easter-eggs-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-hiding-Easter-eggs-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/docker-compose.yaml b/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/docker-compose.yaml
index acea35f7ab..7ea0c7fc4b 100644
--- a/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: hiding_Easter_eggs
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-hiding-Easter-eggs-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-installing-a-scanner-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-installing-a-scanner-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-installing-a-scanner-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-installing-a-scanner-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-installing-a-scanner-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-installing-a-scanner-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-installing-a-scanner-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-installing-a-scanner-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-installing-a-scanner-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-installing-a-scanner-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-installing-a-scanner-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-installing-a-scanner-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-installing-a-scanner-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-installing-a-scanner-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-installing-a-scanner-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-installing-a-scanner-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-installing-a-scanner-i00-standard/environment/docker-compose.yaml b/tasks/behavior-installing-a-scanner-i00-standard/environment/docker-compose.yaml
index 2e49a5541e..52b34258c4 100644
--- a/tasks/behavior-installing-a-scanner-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-installing-a-scanner-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: installing_a_scanner
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-installing-a-scanner-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-installing-a-scanner-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-installing-a-scanner-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-installing-a-scanner-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-laying-tile-floors-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-laying-tile-floors-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-laying-tile-floors-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-laying-tile-floors-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-laying-tile-floors-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-laying-tile-floors-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-laying-tile-floors-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-laying-tile-floors-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-laying-tile-floors-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-laying-tile-floors-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-laying-tile-floors-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-laying-tile-floors-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-laying-tile-floors-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-laying-tile-floors-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-laying-tile-floors-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-laying-tile-floors-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-laying-tile-floors-i00-standard/environment/docker-compose.yaml b/tasks/behavior-laying-tile-floors-i00-standard/environment/docker-compose.yaml
index b6e310b636..73930a1b0a 100644
--- a/tasks/behavior-laying-tile-floors-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-laying-tile-floors-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: laying_tile_floors
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-laying-tile-floors-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-laying-tile-floors-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-laying-tile-floors-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-laying-tile-floors-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-loading-the-car-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-loading-the-car-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-loading-the-car-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-loading-the-car-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-loading-the-car-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-loading-the-car-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-loading-the-car-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-loading-the-car-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-loading-the-car-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-loading-the-car-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-loading-the-car-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-loading-the-car-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-loading-the-car-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-loading-the-car-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-loading-the-car-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-loading-the-car-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-loading-the-car-i00-standard/environment/docker-compose.yaml b/tasks/behavior-loading-the-car-i00-standard/environment/docker-compose.yaml
index 2a3d1463f4..2809358c0e 100644
--- a/tasks/behavior-loading-the-car-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-loading-the-car-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: loading_the_car
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-loading-the-car-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-loading-the-car-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-loading-the-car-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-loading-the-car-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-make-pizza-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-make-pizza-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-make-pizza-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-make-pizza-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-make-pizza-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-make-pizza-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-make-pizza-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-make-pizza-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-make-pizza-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-make-pizza-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-make-pizza-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-make-pizza-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-make-pizza-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-make-pizza-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-make-pizza-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-make-pizza-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-make-pizza-i00-standard/environment/docker-compose.yaml b/tasks/behavior-make-pizza-i00-standard/environment/docker-compose.yaml
index 650836dd66..e7b6dda6fc 100644
--- a/tasks/behavior-make-pizza-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-make-pizza-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: make_pizza
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-make-pizza-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-make-pizza-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-make-pizza-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-make-pizza-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-moving-boxes-to-storage-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-moving-boxes-to-storage-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/docker-compose.yaml b/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/docker-compose.yaml
index fd9c22410c..df686e24c4 100644
--- a/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: moving_boxes_to_storage
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-moving-boxes-to-storage-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-organizing-school-stuff-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-organizing-school-stuff-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-organizing-school-stuff-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-organizing-school-stuff-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-organizing-school-stuff-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-organizing-school-stuff-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-organizing-school-stuff-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-organizing-school-stuff-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-organizing-school-stuff-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-organizing-school-stuff-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-organizing-school-stuff-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-organizing-school-stuff-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-organizing-school-stuff-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-organizing-school-stuff-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-organizing-school-stuff-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-organizing-school-stuff-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-organizing-school-stuff-i00-standard/environment/docker-compose.yaml b/tasks/behavior-organizing-school-stuff-i00-standard/environment/docker-compose.yaml
index 64ea3a9f6e..cfb93ed40a 100644
--- a/tasks/behavior-organizing-school-stuff-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-organizing-school-stuff-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: organizing_school_stuff
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-organizing-school-stuff-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-organizing-school-stuff-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-organizing-school-stuff-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-organizing-school-stuff-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-outfit-a-basic-toolbox-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/docker-compose.yaml b/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/docker-compose.yaml
index 631701ae04..27884289dc 100644
--- a/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: outfit_a_basic_toolbox
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-outfit-a-basic-toolbox-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-picking-up-toys-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-picking-up-toys-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-picking-up-toys-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-picking-up-toys-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-picking-up-toys-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-picking-up-toys-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-picking-up-toys-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-picking-up-toys-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-picking-up-toys-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-picking-up-toys-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-picking-up-toys-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-picking-up-toys-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-picking-up-toys-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-picking-up-toys-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-picking-up-toys-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-picking-up-toys-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-picking-up-toys-i00-standard/environment/docker-compose.yaml b/tasks/behavior-picking-up-toys-i00-standard/environment/docker-compose.yaml
index d4286cfc7d..0961f83d07 100644
--- a/tasks/behavior-picking-up-toys-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-picking-up-toys-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: picking_up_toys
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-picking-up-toys-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-picking-up-toys-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-picking-up-toys-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-picking-up-toys-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-picking-up-trash-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-picking-up-trash-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-picking-up-trash-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-picking-up-trash-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-picking-up-trash-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-picking-up-trash-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-picking-up-trash-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-picking-up-trash-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-picking-up-trash-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-picking-up-trash-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-picking-up-trash-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-picking-up-trash-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-picking-up-trash-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-picking-up-trash-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-picking-up-trash-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-picking-up-trash-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-picking-up-trash-i00-standard/environment/docker-compose.yaml b/tasks/behavior-picking-up-trash-i00-standard/environment/docker-compose.yaml
index 65bf0244e9..77c9870a77 100644
--- a/tasks/behavior-picking-up-trash-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-picking-up-trash-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: picking_up_trash
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-picking-up-trash-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-picking-up-trash-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-picking-up-trash-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-picking-up-trash-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-polishing-shoes-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-polishing-shoes-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-polishing-shoes-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-polishing-shoes-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-polishing-shoes-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-polishing-shoes-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-polishing-shoes-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-polishing-shoes-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-polishing-shoes-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-polishing-shoes-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-polishing-shoes-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-polishing-shoes-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-polishing-shoes-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-polishing-shoes-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-polishing-shoes-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-polishing-shoes-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-polishing-shoes-i00-standard/environment/docker-compose.yaml b/tasks/behavior-polishing-shoes-i00-standard/environment/docker-compose.yaml
index 6ac2d544c8..56a3e94915 100644
--- a/tasks/behavior-polishing-shoes-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-polishing-shoes-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: polishing_shoes
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-polishing-shoes-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-polishing-shoes-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-polishing-shoes-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-polishing-shoes-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-put-together-a-basic-pruning-kit-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/docker-compose.yaml b/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/docker-compose.yaml
index f421e3b8c7..2dc975fa49 100644
--- a/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: put_together_a_basic_pruning_kit
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-put-together-a-basic-pruning-kit-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-putting-away-Halloween-decorations-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/docker-compose.yaml b/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/docker-compose.yaml
index ecd493099e..0c53d8f613 100644
--- a/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: putting_away_Halloween_decorations
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-putting-away-Halloween-decorations-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-away-toys-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-putting-away-toys-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-putting-away-toys-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-away-toys-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-away-toys-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-putting-away-toys-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-away-toys-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-putting-away-toys-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-away-toys-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-putting-away-toys-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-putting-away-toys-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-putting-away-toys-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-away-toys-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-putting-away-toys-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-away-toys-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-putting-away-toys-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-away-toys-i00-standard/environment/docker-compose.yaml b/tasks/behavior-putting-away-toys-i00-standard/environment/docker-compose.yaml
index ec849efc3e..9c04440c5f 100644
--- a/tasks/behavior-putting-away-toys-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-away-toys-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: putting_away_toys
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-putting-away-toys-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-putting-away-toys-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-away-toys-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-putting-away-toys-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-putting-dirty-dishes-in-sink-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/docker-compose.yaml b/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/docker-compose.yaml
index 92e83fb4a7..fd4e2c074f 100644
--- a/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: putting_dirty_dishes_in_sink
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-putting-dirty-dishes-in-sink-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-putting-dishes-away-after-cleaning-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/docker-compose.yaml b/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/docker-compose.yaml
index e31fc00eed..876dee7d8b 100644
--- a/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: putting_dishes_away_after_cleaning
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-putting-dishes-away-after-cleaning-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-putting-shoes-on-rack-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-putting-shoes-on-rack-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/docker-compose.yaml b/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/docker-compose.yaml
index 2d1d840979..2b857d13eb 100644
--- a/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: putting_shoes_on_rack
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-putting-shoes-on-rack-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/docker-compose.yaml b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/docker-compose.yaml
index 25b1b11f24..b07d23feff 100644
--- a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: putting_up_Christmas_decorations_inside
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-putting-up-Christmas-decorations-inside-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-rearrange-your-room-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-rearrange-your-room-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-rearrange-your-room-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-rearrange-your-room-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-rearrange-your-room-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-rearrange-your-room-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-rearrange-your-room-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-rearrange-your-room-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-rearrange-your-room-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-rearrange-your-room-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-rearrange-your-room-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-rearrange-your-room-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-rearrange-your-room-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-rearrange-your-room-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-rearrange-your-room-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-rearrange-your-room-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-rearrange-your-room-i00-standard/environment/docker-compose.yaml b/tasks/behavior-rearrange-your-room-i00-standard/environment/docker-compose.yaml
index 10973791e7..da6a0bb173 100644
--- a/tasks/behavior-rearrange-your-room-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-rearrange-your-room-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: rearrange_your_room
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-rearrange-your-room-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-rearrange-your-room-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-rearrange-your-room-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-rearrange-your-room-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-mousetraps-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-setting-mousetraps-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-setting-mousetraps-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-setting-mousetraps-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setting-mousetraps-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-setting-mousetraps-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-mousetraps-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-setting-mousetraps-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-mousetraps-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-setting-mousetraps-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-setting-mousetraps-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-setting-mousetraps-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setting-mousetraps-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-setting-mousetraps-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-mousetraps-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-setting-mousetraps-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-mousetraps-i00-standard/environment/docker-compose.yaml b/tasks/behavior-setting-mousetraps-i00-standard/environment/docker-compose.yaml
index 7174b62b8e..47ca8d8aee 100644
--- a/tasks/behavior-setting-mousetraps-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-setting-mousetraps-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: setting_mousetraps
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-setting-mousetraps-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-setting-mousetraps-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-mousetraps-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-setting-mousetraps-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-the-fire-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-setting-the-fire-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-setting-the-fire-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-setting-the-fire-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setting-the-fire-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-setting-the-fire-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-the-fire-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-setting-the-fire-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-the-fire-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-setting-the-fire-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-setting-the-fire-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-setting-the-fire-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setting-the-fire-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-setting-the-fire-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-the-fire-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-setting-the-fire-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-the-fire-i00-standard/environment/docker-compose.yaml b/tasks/behavior-setting-the-fire-i00-standard/environment/docker-compose.yaml
index ac08dde092..8539c885a9 100644
--- a/tasks/behavior-setting-the-fire-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-setting-the-fire-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: setting_the_fire
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-setting-the-fire-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-setting-the-fire-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-the-fire-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-setting-the-fire-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-the-table-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-setting-the-table-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-setting-the-table-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-setting-the-table-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setting-the-table-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-setting-the-table-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-the-table-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-setting-the-table-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-the-table-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-setting-the-table-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-setting-the-table-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-setting-the-table-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setting-the-table-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-setting-the-table-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-the-table-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-setting-the-table-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setting-the-table-i00-standard/environment/docker-compose.yaml b/tasks/behavior-setting-the-table-i00-standard/environment/docker-compose.yaml
index 70e67f55e8..650c2bf8e7 100644
--- a/tasks/behavior-setting-the-table-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-setting-the-table-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: setting_the_table
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-setting-the-table-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-setting-the-table-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setting-the-table-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-setting-the-table-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/docker-compose.yaml b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/docker-compose.yaml
index 96b4242084..3b91af8360 100644
--- a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: setup_a_bar_for_a_cocktail_party
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-setup-a-bar-for-a-cocktail-party-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-slicing-vegetables-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-slicing-vegetables-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-slicing-vegetables-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-slicing-vegetables-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-slicing-vegetables-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-slicing-vegetables-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-slicing-vegetables-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-slicing-vegetables-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-slicing-vegetables-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-slicing-vegetables-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-slicing-vegetables-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-slicing-vegetables-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-slicing-vegetables-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-slicing-vegetables-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-slicing-vegetables-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-slicing-vegetables-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-slicing-vegetables-i00-standard/environment/docker-compose.yaml b/tasks/behavior-slicing-vegetables-i00-standard/environment/docker-compose.yaml
index 9e801b5bf7..7c6d0d755b 100644
--- a/tasks/behavior-slicing-vegetables-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-slicing-vegetables-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: slicing_vegetables
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-slicing-vegetables-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-slicing-vegetables-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-slicing-vegetables-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-slicing-vegetables-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-sorting-household-items-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-sorting-household-items-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-sorting-household-items-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-sorting-household-items-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-sorting-household-items-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-sorting-household-items-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-sorting-household-items-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-sorting-household-items-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-sorting-household-items-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-sorting-household-items-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-sorting-household-items-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-sorting-household-items-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-sorting-household-items-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-sorting-household-items-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-sorting-household-items-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-sorting-household-items-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-sorting-household-items-i00-standard/environment/docker-compose.yaml b/tasks/behavior-sorting-household-items-i00-standard/environment/docker-compose.yaml
index ced00fb539..2ba7fb25d9 100644
--- a/tasks/behavior-sorting-household-items-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-sorting-household-items-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: sorting_household_items
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-sorting-household-items-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-sorting-household-items-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-sorting-household-items-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-sorting-household-items-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-sorting-vegetables-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-sorting-vegetables-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-sorting-vegetables-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-sorting-vegetables-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-sorting-vegetables-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-sorting-vegetables-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-sorting-vegetables-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-sorting-vegetables-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-sorting-vegetables-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-sorting-vegetables-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-sorting-vegetables-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-sorting-vegetables-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-sorting-vegetables-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-sorting-vegetables-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-sorting-vegetables-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-sorting-vegetables-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-sorting-vegetables-i00-standard/environment/docker-compose.yaml b/tasks/behavior-sorting-vegetables-i00-standard/environment/docker-compose.yaml
index bf1c87cf62..0ed8735138 100644
--- a/tasks/behavior-sorting-vegetables-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-sorting-vegetables-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: sorting_vegetables
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-sorting-vegetables-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-sorting-vegetables-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-sorting-vegetables-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-sorting-vegetables-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-stacking-wood-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-stacking-wood-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-stacking-wood-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-stacking-wood-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-stacking-wood-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-stacking-wood-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-stacking-wood-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-stacking-wood-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-stacking-wood-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-stacking-wood-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-stacking-wood-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-stacking-wood-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-stacking-wood-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-stacking-wood-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-stacking-wood-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-stacking-wood-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-stacking-wood-i00-standard/environment/docker-compose.yaml b/tasks/behavior-stacking-wood-i00-standard/environment/docker-compose.yaml
index 8dcb36dcfd..3dd3a7521b 100644
--- a/tasks/behavior-stacking-wood-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-stacking-wood-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: stacking_wood
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-stacking-wood-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-stacking-wood-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-stacking-wood-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-stacking-wood-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-storing-food-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-storing-food-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-storing-food-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-storing-food-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-storing-food-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-storing-food-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-storing-food-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-storing-food-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-storing-food-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-storing-food-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-storing-food-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-storing-food-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-storing-food-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-storing-food-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-storing-food-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-storing-food-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-storing-food-i00-standard/environment/docker-compose.yaml b/tasks/behavior-storing-food-i00-standard/environment/docker-compose.yaml
index e1c4455bce..2d7066643b 100644
--- a/tasks/behavior-storing-food-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-storing-food-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: storing_food
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-storing-food-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-storing-food-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-storing-food-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-storing-food-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-thawing-frozen-food-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-thawing-frozen-food-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-thawing-frozen-food-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-thawing-frozen-food-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-thawing-frozen-food-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-thawing-frozen-food-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-thawing-frozen-food-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-thawing-frozen-food-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-thawing-frozen-food-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-thawing-frozen-food-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-thawing-frozen-food-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-thawing-frozen-food-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-thawing-frozen-food-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-thawing-frozen-food-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-thawing-frozen-food-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-thawing-frozen-food-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-thawing-frozen-food-i00-standard/environment/docker-compose.yaml b/tasks/behavior-thawing-frozen-food-i00-standard/environment/docker-compose.yaml
index 552217fd96..43acd4f969 100644
--- a/tasks/behavior-thawing-frozen-food-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-thawing-frozen-food-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: thawing_frozen_food
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-thawing-frozen-food-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-thawing-frozen-food-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-thawing-frozen-food-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-thawing-frozen-food-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-bathroom-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-tidying-bathroom-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-tidying-bathroom-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-tidying-bathroom-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-tidying-bathroom-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-tidying-bathroom-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-bathroom-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-tidying-bathroom-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-bathroom-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-tidying-bathroom-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-tidying-bathroom-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-tidying-bathroom-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-tidying-bathroom-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-tidying-bathroom-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-bathroom-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-tidying-bathroom-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-bathroom-i00-standard/environment/docker-compose.yaml b/tasks/behavior-tidying-bathroom-i00-standard/environment/docker-compose.yaml
index e3085539f0..4ef56f8961 100644
--- a/tasks/behavior-tidying-bathroom-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-tidying-bathroom-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: tidying_bathroom
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-tidying-bathroom-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-tidying-bathroom-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-bathroom-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-tidying-bathroom-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-bedroom-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-tidying-bedroom-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-tidying-bedroom-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-tidying-bedroom-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-tidying-bedroom-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-tidying-bedroom-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-bedroom-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-tidying-bedroom-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-bedroom-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-tidying-bedroom-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-tidying-bedroom-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-tidying-bedroom-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-tidying-bedroom-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-tidying-bedroom-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-bedroom-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-tidying-bedroom-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-bedroom-i00-standard/environment/docker-compose.yaml b/tasks/behavior-tidying-bedroom-i00-standard/environment/docker-compose.yaml
index b2a83063fc..b8aabbb61c 100644
--- a/tasks/behavior-tidying-bedroom-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-tidying-bedroom-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: tidying_bedroom
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-tidying-bedroom-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-tidying-bedroom-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-bedroom-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-tidying-bedroom-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-living-room-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-tidying-living-room-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-tidying-living-room-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-tidying-living-room-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-tidying-living-room-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-tidying-living-room-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-living-room-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-tidying-living-room-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-living-room-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-tidying-living-room-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-tidying-living-room-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-tidying-living-room-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-tidying-living-room-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-tidying-living-room-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-living-room-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-tidying-living-room-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-tidying-living-room-i00-standard/environment/docker-compose.yaml b/tasks/behavior-tidying-living-room-i00-standard/environment/docker-compose.yaml
index b8d9a84881..36434f3060 100644
--- a/tasks/behavior-tidying-living-room-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-tidying-living-room-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: tidying_living_room
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-tidying-living-room-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-tidying-living-room-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-tidying-living-room-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-tidying-living-room-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-turning-on-radio-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-turning-on-radio-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-turning-on-radio-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-turning-on-radio-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-turning-on-radio-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-turning-on-radio-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-turning-on-radio-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-turning-on-radio-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-turning-on-radio-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-turning-on-radio-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-turning-on-radio-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-turning-on-radio-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-turning-on-radio-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-turning-on-radio-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-turning-on-radio-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-turning-on-radio-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-turning-on-radio-i00-standard/environment/docker-compose.yaml b/tasks/behavior-turning-on-radio-i00-standard/environment/docker-compose.yaml
index a0d16aedf9..ad47bde814 100644
--- a/tasks/behavior-turning-on-radio-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-turning-on-radio-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: turning_on_radio
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-turning-on-radio-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-turning-on-radio-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-turning-on-radio-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-turning-on-radio-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-unloading-the-car-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-unloading-the-car-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-unloading-the-car-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-unloading-the-car-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-unloading-the-car-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-unloading-the-car-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-unloading-the-car-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-unloading-the-car-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-unloading-the-car-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-unloading-the-car-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-unloading-the-car-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-unloading-the-car-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-unloading-the-car-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-unloading-the-car-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-unloading-the-car-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-unloading-the-car-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-unloading-the-car-i00-standard/environment/docker-compose.yaml b/tasks/behavior-unloading-the-car-i00-standard/environment/docker-compose.yaml
index ce04d4894e..5092023557 100644
--- a/tasks/behavior-unloading-the-car-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-unloading-the-car-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: unloading_the_car
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-unloading-the-car-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-unloading-the-car-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-unloading-the-car-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-unloading-the-car-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-wash-dog-toys-i00-privileged/environment/docker-compose.yaml b/tasks/behavior-wash-dog-toys-i00-privileged/environment/docker-compose.yaml
index e551cea619..7e12e22aee 100644
--- a/tasks/behavior-wash-dog-toys-i00-privileged/environment/docker-compose.yaml
+++ b/tasks/behavior-wash-dog-toys-i00-privileged/environment/docker-compose.yaml
@@ -10,6 +10,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-wash-dog-toys-i00-privileged/environment/rcb_behavior.py b/tasks/behavior-wash-dog-toys-i00-privileged/environment/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-wash-dog-toys-i00-privileged/environment/rcb_behavior.py
+++ b/tasks/behavior-wash-dog-toys-i00-privileged/environment/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-wash-dog-toys-i00-privileged/tests/docker-compose.yaml b/tasks/behavior-wash-dog-toys-i00-privileged/tests/docker-compose.yaml
index 2212b14fe3..c472a7eb35 100644
--- a/tasks/behavior-wash-dog-toys-i00-privileged/tests/docker-compose.yaml
+++ b/tasks/behavior-wash-dog-toys-i00-privileged/tests/docker-compose.yaml
@@ -7,6 +7,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
shm_size: "8gb"
volumes:
- ${RCB_BEHAVIOR_DATA:?set RCB_BEHAVIOR_DATA to the directory holding your licensed BEHAVIOR dataset (docs/benchmarks/behavior.md)}:/data:ro
diff --git a/tasks/behavior-wash-dog-toys-i00-privileged/tests/rcb_behavior.py b/tasks/behavior-wash-dog-toys-i00-privileged/tests/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-wash-dog-toys-i00-privileged/tests/rcb_behavior.py
+++ b/tasks/behavior-wash-dog-toys-i00-privileged/tests/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm
diff --git a/tasks/behavior-wash-dog-toys-i00-standard/environment/docker-compose.yaml b/tasks/behavior-wash-dog-toys-i00-standard/environment/docker-compose.yaml
index 5ca942ec93..8e076e113a 100644
--- a/tasks/behavior-wash-dog-toys-i00-standard/environment/docker-compose.yaml
+++ b/tasks/behavior-wash-dog-toys-i00-standard/environment/docker-compose.yaml
@@ -21,6 +21,8 @@ services:
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host: 128 on a 256-core
MKL_NUM_THREADS: "8" # host, spinning on every small tensor op); user 2026-09-27
+ RCB_TEXTURE_BUDGET: ${RCB_TEXTURE_BUDGET:-} # optional: Isaac's texture memory as a fraction of the GPU (rcb_behavior.py
+ # _cap_texture_memory); unset: Isaac's default (0.6)
RCB_TASK: wash_dog_toys
RCB_INSTANCE: /srv/instance.json
RCB_TOOL: /srv/rcb_behavior.py
diff --git a/tasks/behavior-wash-dog-toys-i00-standard/environment/sim/rcb_behavior.py b/tasks/behavior-wash-dog-toys-i00-standard/environment/sim/rcb_behavior.py
index 5e0f40e966..c4e85cc5fd 100644
--- a/tasks/behavior-wash-dog-toys-i00-standard/environment/sim/rcb_behavior.py
+++ b/tasks/behavior-wash-dog-toys-i00-standard/environment/sim/rcb_behavior.py
@@ -806,6 +806,38 @@ def ensure_warp_runtime() -> None:
_log("ensure_warp_runtime failed:", repr(exc))
+TEXTURE_BUDGET_KEY = "/rtx-transient/resourcemanager/texturestreaming/memoryBudget"
+
+
+def _cap_texture_memory() -> None:
+ """RCB_TEXTURE_BUDGET (optional, a fraction of the GPU's memory, e.g. 0.1): Isaac Sim's texture streaming budget,
+ 0.6 by default, so a session's textures grow with the card (a 48 GB card lets one replay reach 16.5 GB; capped at
+ 0.1, 8.8 GB, measured 2026-10-06 on collecting_childrens_toys) and two trials can share a card. Rendering only:
+ physics, the replay and its state hashes are unchanged (same final state_sha with and without). OmniGibson rebuilds
+ sys.argv before it starts Kit, so the setting goes in through SimulationApp's extra_args. Unset or empty: Isaac's
+ default."""
+ raw = os.environ.get("RCB_TEXTURE_BUDGET", "").strip()
+ if not raw:
+ return
+ budget = float(raw)
+ if not 0.0 < budget <= 1.0:
+ raise ValueError(f"RCB_TEXTURE_BUDGET={raw!r}: a fraction of GPU memory in (0, 1]")
+ import isaacsim
+ app = isaacsim.SimulationApp
+ if getattr(app, "_rcb_texture_budget", None) is not None:
+ return
+ launch = app.__init__
+
+ def __init__(self, launch_config=None, *args, **kwargs):
+ launch_config = dict(launch_config or {})
+ launch_config["extra_args"] = list(launch_config.get("extra_args") or []) + [f"--{TEXTURE_BUDGET_KEY}={budget}"]
+ launch(self, launch_config, *args, **kwargs)
+
+ app.__init__ = __init__
+ app._rcb_texture_budget = budget
+ _log(f"texture streaming budget capped at {budget} of GPU memory (RCB_TEXTURE_BUDGET)")
+
+
# --------------------------------------------------------------------------- evaluator wrappers (hydra targets)
try: # only importable inside the simulator image; the module must still import on a bare host for --help / selftest.
from omnigibson.envs import EnvironmentWrapper as _EnvWrapper
@@ -857,6 +889,7 @@ class Session:
raise KeyError(f"unknown task {task!r}; known: {list(TASKS)}")
self.task, self.spec = task, TASKS[task]
_import_warp_early()
+ _cap_texture_memory()
import torch as th
import omnigibson as og
from omnigibson.macros import gm