MCPcopy Create free account

hub / github.com/NVIDIA/Isaac-GR00T / functions

Functions1,002 in github.com/NVIDIA/Isaac-GR00T

↓ 78 callersFunctioncheck
(condition, msg, *, warn_only=False, skip=False)
scripts/validate_hf_config_alignment.py:48
↓ 69 callersMethodto
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 callersMethodresolve
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 callersMethodload
Load configuration from YAML file.
gr00t/configs/base_config.py:51
↓ 30 callersMethodset_runtime_tensor_shape
Set runtime input shape for dynamic dimensions.
scripts/deployment/trt_torch.py:131
↓ 28 callersFunctionreplace_once
Replace ``old`` with ``new`` in ``text``, asserting exactly one occurrence.
tests/test_support/readme.py:103
↓ 27 callersMethodclose
(self)
gr00t/eval/sim/LIBERO/libero_env.py:137
↓ 27 callersFunctionfind_block
Return the Nth block (1-based) whose code contains keyword.
tests/test_support/readme.py:82
↓ 18 callersFunctionget_root
Return the root directory of the repository.
tests/test_support/runtime.py:47
↓ 17 callersMethodload
Deserialize and load a TensorRT engine from file.
scripts/deployment/trt_torch.py:101
↓ 17 callersMethodrun
(self)
gr00t/policy/server_client.py:132
↓ 16 callersMethodcopy
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 callersFunctioninfo
(msg)
scripts/validate_hf_config_alignment.py:67
↓ 15 callersMethodget_action
(self, observation, options=None)
tests/gr00t/policy/test_policy_service.py:39
↓ 14 callersFunctiontimed
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 callersFunctionrun_subprocess_step
Run a subprocess step with consistent timing/logging/failure formatting.
tests/test_support/runtime.py:664
↓ 12 callersMethodwrite
(self, data: str)
scripts/deployment/build_trt_pipeline.py:120
↓ 11 callersMethodeval
(self)
gr00t/data/interfaces.py:73
↓ 11 callersFunctionextract_code_blocks
Extract all fenced code blocks from a markdown file with context.
tests/test_support/readme.py:33
↓ 11 callersFunctionrun_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 callersFunction_random_pose
Create a random EndEffectorPose with valid rotation.
tests/gr00t/data/state_action/test_eef_action_format.py:37
↓ 10 callersMethodcall_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 callersMethodeval
(self)
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:264
↓ 10 callersMethodfrom_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 callersFunctionget_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 callersFunction_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 callersMethodfrom_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 callersMethodget_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 callersFunction_make_action_input
(config, batch_size=2)
tests/gr00t/model/test_action_head.py:89
↓ 7 callersFunction_make_backbone_output
(config, batch_size=2, seq_len=8)
tests/gr00t/model/test_action_head.py:79
↓ 7 callersMethodapply_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 callersMethodeval
(self)
tests/getting_started/test_policy_md.py:112
↓ 7 callersFunctiongenerate_stats
(dataset_path: Path | str)
gr00t/data/stats.py:115
↓ 7 callersMethodget_modality_config
(self)
gr00t/policy/gr00t_policy.py:470
↓ 7 callersFunctionload_hf_json
(base_dir, model_name, filename, subdir=None)
scripts/validate_hf_config_alignment.py:384
↓ 7 callersMethodsave
Save configuration to YAML file.
gr00t/configs/base_config.py:43
↓ 7 callersMethodto_bytes
(data: Any)
gr00t/policy/server_client.py:32
↓ 7 callersMethodto_rotation
Get rotation in specified representation. Args: rotation_type: Desired type ("quat", "euler", "rotvec", "matrix", "rot6d
gr00t/data/state_action/pose.py:581
↓ 7 callersFunctionverify_onnx_export
Load and check the exported ONNX model for validity.
scripts/deployment/export_onnx_n1d7.py:126
↓ 6 callersMethod_apply
(self, pil_img)
tests/gr00t/model/test_variable_image_size.py:95
↓ 6 callersFunction_fmt_elapsed
(seconds: float)
scripts/deployment/build_trt_pipeline.py:91
↓ 6 callersFunction_libero_demo_dataset
()
tests/gr00t/data/test_stats_pipeline.py:61
↓ 6 callersFunction_make_dummy_inputs
Create dummy input tensors matching the model's expected format.
tests/gr00t/model/test_model_forward.py:132
↓ 6 callersFunction_random_state
Create random state dict with dimensions matching statistics.
tests/gr00t/data/state_action/test_state_action_processor.py:80
↓ 6 callersFunctioncalculate_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 callersFunctionextract_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 callersMethodforward
( self, hidden_states: torch.Tensor, # Shape: (B, T, D) encoder_hidden_states: torch.
gr00t/model/modules/dit.py:292
↓ 6 callersMethodfrom_pretrained
(path, **_)
tests/getting_started/test_policy_md.py:185
↓ 6 callersFunctionload_modality_configs
Load MODALITY_CONFIGS from embodiment_configs.py as serializable dicts.
scripts/validate_hf_config_alignment.py:74
↓ 6 callersFunctionresolve_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 callersMethodstart
(self, file_path, start_time=None)
gr00t/eval/sim/wrapper/video_recording_wrapper.py:82
↓ 6 callersMethodtrain
(self)
gr00t/data/interfaces.py:70
↓ 5 callersMethod__init__
( self, num_attention_heads: int = 8, attention_head_dim: int = 64, output_dim
gr00t/model/modules/dit.py:226
↓ 5 callersFunction_count_files
(directory: str, suffix: str)
scripts/deployment/build_trt_pipeline.py:98
↓ 5 callersFunction_load_fixture_configs
Load modality configs and statistics from test fixtures.
tests/gr00t/data/state_action/test_state_action_processor.py:35
↓ 5 callersFunction_make_observation
(batch_size=1)
tests/gr00t/policy/test_gr00t_policy.py:115
↓ 5 callersFunction_make_step_data
Create synthetic VLAStepData matching the fixture config.
tests/gr00t/model/test_gr00t_processor.py:62
↓ 5 callersFunction_random_action
Create random action dict with dimensions matching statistics.
tests/gr00t/data/state_action/test_state_action_processor.py:90
↓ 5 callersMethodbuild
Build the dataset. Returns a tuple of (train_dataset, eval_dataset).
gr00t/data/dataset/factory.py:37
↓ 5 callersMethodcall_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 callersFunctioncheck_stats_validity
(dataset_path: Path | str, features: list[str])
gr00t/data/stats.py:98
↓ 5 callersFunctiondemo_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 callersMethodfrom_bytes
(data: bytes)
gr00t/policy/server_client.py:36
↓ 5 callersFunctiongenerate_rel_stats
(dataset_path: Path | str, embodiment_tag: EmbodimentTag)
gr00t/data/stats.py:228
↓ 5 callersMethodis_ready
(self)
gr00t/eval/sim/wrapper/video_recording_wrapper.py:79
↓ 5 callersFunctionprepare_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 callersFunctionprocessor
()
tests/gr00t/model/test_gr00t_processor.py:40
↓ 5 callersMethodregister_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 callersMethodrelative_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 callersMethodset_statistics
Set dataset statistics for normalization. Args: statistics: Nested dict with structure: {embodiment_tag:
gr00t/data/state_action/state_action_processor.py:108
↓ 5 callersFunctionto_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 callersMethod__init__
(self, input_dim, hidden_dim, output_dim)
gr00t/model/modules/embodiment_conditioned_mlp.py:133
↓ 4 callersMethod__init__
(self, p: float = 1.0, always_apply: bool | None = None)
gr00t/model/gr00t_n1d7/image_augmentations.py:338
↓ 4 callersFunction_dataset_ready
Return True when the LIBERO dataset looks complete enough to reuse.
tests/examples/test_libero.py:175
↓ 4 callersFunction_find_free_port
()
tests/gr00t/policy/test_policy_service.py:64
↓ 4 callersMethod_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 callersFunction_lazy_import_decord
Lazily import decord, raising ImportError if unavailable.
gr00t/utils/video_utils.py:48
↓ 4 callersFunction_lazy_import_torchcodec
Lazily import torchcodec, raising ImportError if unavailable.
gr00t/utils/video_utils.py:38
↓ 4 callersFunction_print_header
(step_num: int, total: int, msg: str)
scripts/deployment/build_trt_pipeline.py:104
↓ 4 callersFunction_print_result
(step_num: int, total: int, msg: str, elapsed: float)
scripts/deployment/build_trt_pipeline.py:110
↓ 4 callersFunction_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 callersFunction_small_config
(**overrides)
tests/gr00t/model/test_action_head.py:30
↓ 4 callersMethodapply_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 callersFunctionassert_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 callersFunctioncheckpoint_tree_ready
Return True if *path* looks like a HuggingFace ``transformers`` checkpoint dir.
tests/test_support/runtime.py:92
↓ 4 callersMethoddtype_of
Return the expected PyTorch dtype for a named input tensor.
scripts/deployment/trt_torch.py:124
↓ 4 callersMethodfrom_pretrained
(cls, pretrained_model_name_or_path: str | Path, **kwargs)
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:710
↓ 4 callersFunctionget_default_config
Get default configuration.
gr00t/configs/base_config.py:148
↓ 4 callersMethodkill_server
Kill the server.
gr00t/policy/server_client.py:204
↓ 4 callersMethodload_dict
(self, data: dict)
gr00t/configs/base_config.py:63
↓ 4 callersFunctionmerge_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 callersMethodprepare_input
Prepare inputs for backbone and action head.
gr00t/model/gr00t_n1d7/gr00t_n1d7.py:539
↓ 4 callersFunctionrepeated_space
(space, n, loc=0)
gr00t/eval/sim/wrapper/multistep_wrapper.py:37
↓ 4 callersMethodreset
(self, seed=None, options=None)
gr00t/eval/sim/LIBERO/libero_env.py:158
↓ 4 callersFunctionresolve_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 callersMethodreverse_lookup
Map a tag value string back to its enum name, or return the value as-is.
gr00t/data/embodiment_tags.py:163
↓ 4 callersFunctionrun_scenario
(label, fn, video_path, iterations, expect_exception=False)
tests/gr00t/utils/test_pyav_memory_leak_stress.py:141
↓ 4 callersMethodsave_pretrained
(self, save_directory: str | Path)
gr00t/model/gr00t_n1d7/processing_gr00t_n1d7.py:656
↓ 4 callersMethodset_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 callersFunctionsetup_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