Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/Isaac-GR00T
/ functions
Functions
1,002 in github.com/NVIDIA/Isaac-GR00T
⨍
Functions
1,002
◇
Types & classes
185
↳
Endpoints
1
↓ 78 callers
Function
check
(condition, msg, *, warn_only=False, skip=False)
scripts/validate_hf_config_alignment.py:48
↓ 69 callers
Method
to
Convert action chunking to the specified action format. Must be implemented by subclasses. Args: action_format:
gr00t/data/state_action/action_chunking.py:180
↓ 40 callers
Method
resolve
Resolve a string to an EmbodimentTag, case-insensitively. Matches by enum **name** first (e.g. ``"xdof"`` -> ``XDOF``), then by enum
gr00t/data/embodiment_tags.py:126
↓ 34 callers
Method
load
Load configuration from YAML file.
gr00t/configs/base_config.py:51
↓ 30 callers
Method
set_runtime_tensor_shape
Set runtime input shape for dynamic dimensions.
scripts/deployment/trt_torch.py:131
↓ 28 callers
Function
replace_once
Replace ``old`` with ``new`` in ``text``, asserting exactly one occurrence.
tests/test_support/readme.py:103
↓ 27 callers
Method
close
(self)
gr00t/eval/sim/LIBERO/libero_env.py:137
↓ 27 callers
Function
find_block
Return the Nth block (1-based) whose code contains keyword.
tests/test_support/readme.py:82
↓ 18 callers
Function
get_root
Return the root directory of the repository.
tests/test_support/runtime.py:47
↓ 17 callers
Method
load
Deserialize and load a TensorRT engine from file.
scripts/deployment/trt_torch.py:101
↓ 17 callers
Method
run
(self)
gr00t/policy/server_client.py:132
↓ 16 callers
Method
copy
Create a deep copy of this pose. Must be implemented by subclasses. Returns: New Pose instance with copied data
gr00t/data/state_action/pose.py:166
↓ 16 callers
Function
info
(msg)
scripts/validate_hf_config_alignment.py:67
↓ 15 callers
Method
get_action
(self, observation, options=None)
tests/gr00t/policy/test_policy_service.py:39
↓ 14 callers
Function
timed
Context manager that prints the wall-clock duration of a labelled phase. Usage:: with timed("model load"): model = load_mode
tests/test_support/runtime.py:710
↓ 13 callers
Function
run_subprocess_step
Run a subprocess step with consistent timing/logging/failure formatting.
tests/test_support/runtime.py:664
↓ 12 callers
Method
write
(self, data: str)
scripts/deployment/build_trt_pipeline.py:120
↓ 11 callers
Method
eval
(self)
gr00t/data/interfaces.py:73
↓ 11 callers
Function
extract_code_blocks
Extract all fenced code blocks from a markdown file with context.
tests/test_support/readme.py:33
↓ 11 callers
Function
run_bash_blocks
Run bash/sh code blocks extracted from a README via subprocess. If ``force_yes`` is True, ``apt-get`` commands are automatically given the ``
tests/test_support/readme.py:109
↓ 10 callers
Function
_random_pose
Create a random EndEffectorPose with valid rotation.
tests/gr00t/data/state_action/test_eef_action_format.py:37
↓ 10 callers
Method
call_endpoint
Call an endpoint on the server. Args: endpoint: The name of the endpoint. data: The input data for the endpo
gr00t/policy/server_client.py:210
↓ 10 callers
Method
eval
(self)
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:264
↓ 10 callers
Method
from_action_format
Create an EndEffectorPose from a flat array using the specified action format. This is the inverse of the xyz_rot6d / xyz_rotvec / h
gr00t/data/state_action/pose.py:681
↓ 9 callers
Function
get_embodiment_tag_from_env_name
Get the EmbodimentTag for a gym-registered environment name. Looks up the env_name prefix (before "/") in ENV_PREFIX_TO_EMBODIMENT_TAG. Falls
gr00t/eval/sim/env_utils.py:34
↓ 8 callers
Function
_build_observation
Build a synthetic observation that matches the policy's modality config. Uses a fixed seed so that failures are reproducible.
tests/gr00t/policy/test_gr00t_policy_gpu.py:54
↓ 8 callers
Method
from_array
Create an EndEffectorActionChunk from a 2-D array using the specified action format. This is the inverse of ``.to(action_format)``.
gr00t/data/state_action/action_chunking.py:478
↓ 8 callers
Method
get_action
Compute and return the next action based on current observation with validation. This is the main public interface. It validates the observat
gr00t/policy/policy.py:80
↓ 7 callers
Function
_make_action_input
(config, batch_size=2)
tests/gr00t/model/test_action_head.py:89
↓ 7 callers
Function
_make_backbone_output
(config, batch_size=2, seq_len=8)
tests/gr00t/model/test_action_head.py:79
↓ 7 callers
Method
apply_state
Apply state processing (normalization, encoding). Args: state: Dict mapping joint_group -> raw state values
gr00t/data/state_action/state_action_processor.py:188
↓ 7 callers
Method
eval
(self)
tests/getting_started/test_policy_md.py:112
↓ 7 callers
Function
generate_stats
(dataset_path: Path | str)
gr00t/data/stats.py:115
↓ 7 callers
Method
get_modality_config
(self)
gr00t/policy/gr00t_policy.py:470
↓ 7 callers
Function
load_hf_json
(base_dir, model_name, filename, subdir=None)
scripts/validate_hf_config_alignment.py:384
↓ 7 callers
Method
save
Save configuration to YAML file.
gr00t/configs/base_config.py:43
↓ 7 callers
Method
to_bytes
(data: Any)
gr00t/policy/server_client.py:32
↓ 7 callers
Method
to_rotation
Get rotation in specified representation. Args: rotation_type: Desired type ("quat", "euler", "rotvec", "matrix", "rot6d
gr00t/data/state_action/pose.py:581
↓ 7 callers
Function
verify_onnx_export
Load and check the exported ONNX model for validity.
scripts/deployment/export_onnx_n1d7.py:126
↓ 6 callers
Method
_apply
(self, pil_img)
tests/gr00t/model/test_variable_image_size.py:95
↓ 6 callers
Function
_fmt_elapsed
(seconds: float)
scripts/deployment/build_trt_pipeline.py:91
↓ 6 callers
Function
_libero_demo_dataset
()
tests/gr00t/data/test_stats_pipeline.py:61
↓ 6 callers
Function
_make_dummy_inputs
Create dummy input tensors matching the model's expected format.
tests/gr00t/model/test_model_forward.py:132
↓ 6 callers
Function
_random_state
Create random state dict with dimensions matching statistics.
tests/gr00t/data/state_action/test_state_action_processor.py:80
↓ 6 callers
Function
calculate_dataset_statistics
Calculate the dataset statistics of all columns for a list of parquet files. Args: parquet_paths (list[Path]): List of paths to parquet f
gr00t/data/stats.py:52
↓ 6 callers
Function
extract_step_data
( episode_data: pd.DataFrame, step_index: int, modality_configs: dict[str, ModalityConfig], em
gr00t/data/dataset/sharded_single_step_dataset.py:28
↓ 6 callers
Method
forward
( self, hidden_states: torch.Tensor, # Shape: (B, T, D) encoder_hidden_states: torch.
gr00t/model/modules/dit.py:292
↓ 6 callers
Method
from_pretrained
(path, **_)
tests/getting_started/test_policy_md.py:185
↓ 6 callers
Function
load_modality_configs
Load MODALITY_CONFIGS from embodiment_configs.py as serializable dicts.
scripts/validate_hf_config_alignment.py:74
↓ 6 callers
Function
resolve_backend
Resolve the video backend. torchcodec is the only officially supported backend. Other backends (decord, ffmpeg, opencv, pyav, torchvision_av)
gr00t/utils/video_utils.py:85
↓ 6 callers
Method
start
(self, file_path, start_time=None)
gr00t/eval/sim/wrapper/video_recording_wrapper.py:82
↓ 6 callers
Method
train
(self)
gr00t/data/interfaces.py:70
↓ 5 callers
Method
__init__
( self, num_attention_heads: int = 8, attention_head_dim: int = 64, output_dim
gr00t/model/modules/dit.py:226
↓ 5 callers
Function
_count_files
(directory: str, suffix: str)
scripts/deployment/build_trt_pipeline.py:98
↓ 5 callers
Function
_load_fixture_configs
Load modality configs and statistics from test fixtures.
tests/gr00t/data/state_action/test_state_action_processor.py:35
↓ 5 callers
Function
_make_observation
(batch_size=1)
tests/gr00t/policy/test_gr00t_policy.py:115
↓ 5 callers
Function
_make_step_data
Create synthetic VLAStepData matching the fixture config.
tests/gr00t/model/test_gr00t_processor.py:62
↓ 5 callers
Function
_random_action
Create random action dict with dimensions matching statistics.
tests/gr00t/data/state_action/test_state_action_processor.py:90
↓ 5 callers
Method
build
Build the dataset. Returns a tuple of (train_dataset, eval_dataset).
gr00t/data/dataset/factory.py:37
↓ 5 callers
Method
call_endpoint
Call an endpoint on the server. Args: endpoint: The name of the endpoint. data: The input data for the endpo
examples/DROID/server_client.py:311
↓ 5 callers
Function
check_stats_validity
(dataset_path: Path | str, features: list[str])
gr00t/data/stats.py:98
↓ 5 callers
Function
demo_dataset_tree_ready
Return True if *path* looks like a bundled LeRobot demo dataset. Checks for ``meta/modality.json``, at least one ``.parquet`` under ``data/``,
tests/test_support/runtime.py:107
↓ 5 callers
Method
from_bytes
(data: bytes)
gr00t/policy/server_client.py:36
↓ 5 callers
Function
generate_rel_stats
(dataset_path: Path | str, embodiment_tag: EmbodimentTag)
gr00t/data/stats.py:228
↓ 5 callers
Method
is_ready
(self)
gr00t/eval/sim/wrapper/video_recording_wrapper.py:79
↓ 5 callers
Function
prepare_model_inputs
Prepare inputs for the model, mimicking what happens inside _get_action. Returns collated_inputs that can be passed to model.get_action()
scripts/deployment/benchmark_inference.py:98
↓ 5 callers
Function
processor
()
tests/gr00t/model/test_gr00t_processor.py:40
↓ 5 callers
Method
register_endpoint
Register a new endpoint to the server. Args: name: The name of the endpoint. handler: The handler function t
gr00t/policy/server_client.py:113
↓ 5 callers
Method
relative_chunking
Compute the relative action chunking with respect to a reference frame. If reference_frame is None, uses the first pose in the actio
gr00t/data/state_action/action_chunking.py:82
↓ 5 callers
Method
set_statistics
Set dataset statistics for normalization. Args: statistics: Nested dict with structure: {embodiment_tag:
gr00t/data/state_action/state_action_processor.py:108
↓ 5 callers
Function
to_json_serializable
Recursively convert dataclasses and numpy arrays to JSON-serializable format. Args: obj: Object to convert (can be dataclass, numpy
gr00t/data/utils.py:251
↓ 4 callers
Method
__init__
(self, input_dim, hidden_dim, output_dim)
gr00t/model/modules/embodiment_conditioned_mlp.py:133
↓ 4 callers
Method
__init__
(self, p: float = 1.0, always_apply: bool | None = None)
gr00t/model/gr00t_n1d7/image_augmentations.py:338
↓ 4 callers
Function
_dataset_ready
Return True when the LIBERO dataset looks complete enough to reuse.
tests/examples/test_libero.py:175
↓ 4 callers
Function
_find_free_port
()
tests/gr00t/policy/test_policy_service.py:64
↓ 4 callers
Method
_get_vlm_inputs
( self, image_keys: list[str], images: list[Image.Image], masks: dict[str, lis
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:603
↓ 4 callers
Function
_lazy_import_decord
Lazily import decord, raising ImportError if unavailable.
gr00t/utils/video_utils.py:48
↓ 4 callers
Function
_lazy_import_torchcodec
Lazily import torchcodec, raising ImportError if unavailable.
gr00t/utils/video_utils.py:38
↓ 4 callers
Function
_print_header
(step_num: int, total: int, msg: str)
scripts/deployment/build_trt_pipeline.py:104
↓ 4 callers
Function
_print_result
(step_num: int, total: int, msg: str, elapsed: float)
scripts/deployment/build_trt_pipeline.py:110
↓ 4 callers
Function
_redirect_to_log
Redirect stdout, stderr, and all logging to the log file. The caller's own progress prints should happen *outside* this context. If *tee* is
scripts/deployment/build_trt_pipeline.py:131
↓ 4 callers
Function
_small_config
(**overrides)
tests/gr00t/model/test_action_head.py:30
↓ 4 callers
Method
apply_action
Apply action processing (absolute->relative conversion, normalization). Processing order: 1. Convert absolute actions to rel
gr00t/data/state_action/state_action_processor.py:315
↓ 4 callers
Function
assert_port_available
Raise AssertionError if the port is already bound. Call this before starting a model server subprocess to catch port conflicts early (e.g. a
tests/test_support/runtime.py:571
↓ 4 callers
Function
checkpoint_tree_ready
Return True if *path* looks like a HuggingFace ``transformers`` checkpoint dir.
tests/test_support/runtime.py:92
↓ 4 callers
Method
dtype_of
Return the expected PyTorch dtype for a named input tensor.
scripts/deployment/trt_torch.py:124
↓ 4 callers
Method
from_pretrained
(cls, pretrained_model_name_or_path: str | Path, **kwargs)
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:710
↓ 4 callers
Function
get_default_config
Get default configuration.
gr00t/configs/base_config.py:148
↓ 4 callers
Method
kill_server
Kill the server.
gr00t/policy/server_client.py:204
↓ 4 callers
Method
load_dict
(self, data: dict)
gr00t/configs/base_config.py:63
↓ 4 callers
Function
merge_statistics
Compute overall statistics from per-dataset statistics using weighted averaging. This function combines statistics from multiple datasets ac
gr00t/data/dataset/sharded_mixture_dataset.py:26
↓ 4 callers
Method
prepare_input
Prepare inputs for backbone and action head.
gr00t/model/gr00t_n1d7/gr00t_n1d7.py:539
↓ 4 callers
Function
repeated_space
(space, n, loc=0)
gr00t/eval/sim/wrapper/multistep_wrapper.py:37
↓ 4 callers
Method
reset
(self, seed=None, options=None)
gr00t/eval/sim/LIBERO/libero_env.py:158
↓ 4 callers
Function
resolve_shared_model_path
Return a shared model path, downloading once if not present. Models are stored at ``TEST_CACHE_PATH/models/<repo_name>/`` so all tests share
tests/test_support/runtime.py:52
↓ 4 callers
Method
reverse_lookup
Map a tag value string back to its enum name, or return the value as-is.
gr00t/data/embodiment_tags.py:163
↓ 4 callers
Function
run_scenario
(label, fn, video_path, iterations, expect_exception=False)
tests/gr00t/utils/test_pyav_memory_leak_stress.py:141
↓ 4 callers
Method
save_pretrained
(self, save_directory: str | Path)
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:656
↓ 4 callers
Method
set_frozen_modules_to_eval_mode
Huggingface will call model.train() at each training_step. To ensure the expected behaviors for modules like dropout, batchnorm, etc.
gr00t/model/modules/qwen3_backbone.py:123
↓ 4 callers
Function
setup_tensorrt_engines
Load TRT engines, delete PyTorch modules, and monkey-patch forward methods. Args: policy: Gr00tPolicy instance trt_engine_path: P
scripts/deployment/trt_model_forward.py:508
next →
1–100 of 1,002, ranked by callers