MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:214
↓ 4 callersMethodrun
(self)
examples/yam/camera_server.py:164
↓ 4 callersFunctionrun_trainer
(cfg: TrainConfig)
experiments/olmo/train/run_trainer.py:172
↓ 4 callersFunctionsave_bounded_video
Creates a new video file containing only the segment between start_time and end_time. Args: video_path (str): Path to the original v
experiments/olmo/data/video_datasets.py:107
↓ 4 callersFunctionsave_checkpoint
This function creates the following directory structure: 005000/ # training step at checkpoint ├── pretrained_model/ │ ├── config.jso
experiments/lerobot/src/lerobot/utils/train_utils.py:65
↓ 4 callersFunctionsave_image
Helper function to save a tensor as an image file.
experiments/lerobot/examples/dataset/use_dataset_image_transforms.py:33
↓ 4 callersFunctionsave_images
( pil_images: Iterable[PIL.Image.Image], filenames: List[str], n_procs: int = 1, )
experiments/olmo/preprocessing/image_preprocessor.py:168
↓ 4 callersMethodsave_pretrained
(self, save_directory, **kwargs)
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:453
↓ 4 callersMethodset_from_wireless
Parse Unitree wireless remote raw bytes into joystick + button state.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/unitree_g1.py:143
↓ 4 callersFunctionset_seed_all
Set random seed for all RNG sources to ensure reproducibility.
experiments/lerobot/tests/policies/xvla/test_xvla_original_vs_lerobot.py:54
↓ 4 callersFunctionset_seed_all
Set random seed for all RNG sources to ensure reproducibility.
experiments/lerobot/tests/policies/groot/test_groot_vs_original.py:81
↓ 4 callersMethodstep_through
Processes data step-by-step, yielding the transition at each stage. This is a generator method useful for debugging and inspecting the interm
experiments/lerobot/src/lerobot/processor/pipeline.py:318
↓ 4 callersMethodstop
Stop the controller and release resources.
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:47
↓ 4 callersMethodstop
Stop the robot client
experiments/lerobot/src/lerobot/async_inference/robot_client.py:174
↓ 4 callersFunctiontransitions_to_bytes
(transitions: list[Transition])
experiments/lerobot/src/lerobot/transport/utils.py:147
↓ 4 callersFunctionunflatten_dict
Unflatten a dictionary with delimited keys into a nested dictionary. Example: >>> flat_dct = {"a/b": 1, "a/c/d": 2, "e": 3} >>> p
experiments/lerobot/src/lerobot/datasets/utils.py:169
↓ 4 callersFunctionunpack_one
(t, ps, pattern)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:956
↓ 4 callersMethodunregister_before_step_hook
Unregisters a 'before_step' hook. Args: fn: The exact function object that was previously registered. Raises:
experiments/lerobot/src/lerobot/processor/pipeline.py:1248
↓ 4 callersFunctionvalid_delta_timestamps_factory
()
experiments/lerobot/tests/datasets/test_delta_timestamps.py:24
↓ 4 callersMethodvision_backbone
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:3839
↓ 4 callersMethodwrite
Write a value to a single motor's register. Contrary to :pymeth:`sync_write`, this expects a response status packet emitted by the motor, whi
experiments/lerobot/src/lerobot/motors/motors_bus.py:1051
↓ 3 callersMethodSendTransitions
(self, request_iterator, _context)
experiments/lerobot/src/lerobot/rl/learner_service.py:88
↓ 3 callersMethodV
Predict state value (V). Args: z: (*, latent_dim) tensor for the current state's latent representation. Returns:
experiments/lerobot/src/lerobot/policies/tdmpc/modeling_tdmpc.py:653
↓ 3 callersMethod__init__
(self, doc_type, split, use_exp=True, keep_in_memory=False, flat=False)
experiments/olmo/data/pixmo_datasets.py:932
↓ 3 callersMethod__init__
(self, input_dim: int, config: TemporalVitConfig, device=None)
experiments/olmo/nn/temporal_image_vit.py:66
↓ 3 callersMethod__init__
Initialize the controller. Args: x_step_size: Base movement step size in meters y_step_size: Base movement s
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:25
↓ 3 callersMethod__init__
(self, width, depth, mlp_dim, num_heads, num_kv_heads, head_dim)
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:157
↓ 3 callersMethod__init__
(self, config)
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:117
↓ 3 callersMethod_aggregate_action_queues
Finds the same timestep actions in the queue and aggregates them using the aggregate_fn
experiments/lerobot/src/lerobot/async_inference/robot_client.py:225
↓ 3 callersFunction_append
(key, value)
experiments/lerobot/src/lerobot/scripts/lerobot_eval.py:717
↓ 3 callersFunction_append_images
(images: List[np.ndarray], value: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:155
↓ 3 callersMethod_apply_checkpoint
Helper method to apply gradient checkpointing if enabled.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:348
↓ 3 callersFunction_batchify_single_observation
(batch: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:81
↓ 3 callersMethod_build_task_name
Generate a concise task name based on configuration.
experiments/olmo/data/video_object_tracking_datasets.py:269
↓ 3 callersFunction_build_wrapper
(split: str)
experiments/tests/data/test_lerobot_camera_keys_alternative.py:58
↓ 3 callersMethod_cast_if_autocast_enabled
(self, tensor: torch.Tensor, dtype: Optional[torch.dtype] = None)
experiments/olmo/nn/llm.py:1026
↓ 3 callersFunction_close_single_env
(env: Any)
experiments/lerobot/src/lerobot/envs/utils.py:188
↓ 3 callersFunction_coerce_action_mask
(mask_value: Any, action_dim: int)
experiments/scripts/run_open_loop_inference_lerobot.py:509
↓ 3 callersFunction_coerce_count
(value: Optional[object])
experiments/launch_scripts/lerobot_utils/stats.py:30
↓ 3 callersFunction_compute_average_mse
(predicted: np.ndarray, gt_normalized: np.ndarray)
experiments/scripts/run_open_loop_inference_lerobot.py:748
↓ 3 callersMethod_config_norm_tag
(config: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:203
↓ 3 callersMethod_connect
(self, handshake: bool = True)
experiments/lerobot/src/lerobot/motors/motors_bus.py:517
↓ 3 callersMethod_connect
(self)
examples/yam/camera_client.py:45
↓ 3 callersFunction_create_action_norm_map_mean_std
()
experiments/lerobot/tests/processor/test_normalize_processor.py:498
↓ 3 callersMethod_decode_discrete_depth_bins
( self, handles: _MolmoHandles, generated_token_ids: torch.Tensor, )
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1221
↓ 3 callersFunction_dedupe_tokens_preserve_order
(tokens: List[str])
experiments/launch_scripts/lerobot_utils/train_plan.py:332
↓ 3 callersMethod_depth_decode_spec
(self)
experiments/olmo/hf_model/inference.py:255
↓ 3 callersMethod_destroy_policy
Explicitly destroy a policy and free all associated memory. This method performs aggressive cleanup to ensure maximum memory is freed,
experiments/lerobot/examples/rtc/eval_dataset.py:386
↓ 3 callersFunction_disable_inference_token_bias
(model: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:381
↓ 3 callersMethod_encode_image
(self, pixel_values)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:2515
↓ 3 callersMethod_encode_mit_packet
Helper to encode control parameters into 8 bytes for MIT mode.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:428
↓ 3 callersFunction_encode_video_worker
( video_key: str, episode_index: int, root: Path, fps: int, vcodec: str = "libsvtav1",
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:548
↓ 3 callersFunction_ensure_indices_valid
(dim_action: int, idx: Iterable[int], name: str)
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:104
↓ 3 callersFunction_error_response
(status: int, message: str)
examples/droid/host_server_droid.py:295
↓ 3 callersFunction_error_response
(status: int, message: str)
examples/yam/host_server_yam.py:296
↓ 3 callersFunction_extract_vector
( item: Dict[str, Any], preferred_keys: Sequence[str], prefix: Optional[str], )
experiments/olmo/data/lerobot_wrapper.py:1224
↓ 3 callersMethod_flush_metadata_buffer
Write all buffered episode metadata to parquet file.
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:115
↓ 3 callersMethod_format_example
(self, message, example, is_training, for_inference, rng)
experiments/olmo/models/molmo/data_formatter.py:1960
↓ 3 callersMethod_format_raw_obs
(self, raw_obs: RobotObservation)
experiments/lerobot/src/lerobot/envs/libero.py:245
↓ 3 callersMethod_get_encoder_attention_mask
( self, input_ids: Optional[torch.Tensor], attention_mask: Optional[torch.Tensor],
experiments/olmo/hf_model/modeling_molmoact2.py:2941
↓ 3 callersMethod_get_image_file_path
(self, episode_index: int, image_key: str, frame_index: int)
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1152
↓ 3 callersMethod_get_max_grad_norm_coeff
( self, initial_value: Optional[float], step: int, max_steps: int )
experiments/olmo/train/optim.py:329
↓ 3 callersMethod_get_motor_model
(self, motor: NameOrID)
experiments/lerobot/src/lerobot/motors/motors_bus.py:410
↓ 3 callersMethod_get_target_dtype
Get the target dtype based on config.
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:111
↓ 3 callersFunction_get_used_lerobot_tags
(robot_mixture: Sequence[KwargsMixture])
experiments/launch_scripts/lerobot_utils/train_plan.py:76
↓ 3 callersFunction_hf_token
()
experiments/scripts/generate_depth_annotation.py:68
↓ 3 callersMethod_init_policy
Initialize a single policy instance with specified RTC configuration. Args: name: Name identifier for logging purposes
experiments/lerobot/examples/rtc/eval_dataset.py:285
↓ 3 callersFunction_keys
Helper to extract just the keys logged to rr.log
experiments/lerobot/tests/utils/test_visualization_utils.py:70
↓ 3 callersFunction_kwargs_for
(calls, key)
experiments/lerobot/tests/utils/test_visualization_utils.py:83
↓ 3 callersMethod_linear_warmup
(self, initial_lr: float, step: int, warmup_steps: int = 2000)
experiments/olmo/train/optim.py:354
↓ 3 callersMethod_load_annotated_tasks
(self)
experiments/olmo/data/lerobot_wrapper.py:1912
↓ 3 callersFunction_load_hf_json
(checkpoint: str, filename: str)
experiments/launch_scripts/lerobot_utils/hf.py:31
↓ 3 callersFunction_load_unsharded_keys
( dir: PathOrStr, keys: List[str], *, pre_download: bool = False, work_dir: Optional[PathO
experiments/olmo/train/distributed_checkpointing.py:641
↓ 3 callersFunction_make_obs
Create a TimedObservation with raw robot observation format.
experiments/lerobot/tests/async_inference/test_helpers.py:173
↓ 3 callersMethod_mask_action_dim_tensor
( cls, tensor: torch.Tensor, *, action_dim_is_pad: Optional[torch.Tensor],
experiments/olmo/hf_model/modeling_molmoact2.py:3123
↓ 3 callersFunction_maybe_raise_missing_visual_example
( exc: Exception, *, modality: str, source: Any, metadata: Optional[Dict[str, Any]], s
experiments/olmo/preprocessing/multimodal_preprocessor.py:43
↓ 3 callersMethod_merge_input_ids_with_image_features
(self, image_features, inputs_embeds)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:2568
↓ 3 callersFunction_normal_like_from_tensor
( tensor: torch.Tensor, shape: Tuple[int, ...], *, dim: int | None = None, )
experiments/olmo/train/checkpoint_loading.py:540
↓ 3 callersMethod_normalize_action
Applies (un)normalization to an action tensor. Args: action: The action tensor to process. inverse: If `True
experiments/lerobot/src/lerobot/processor/normalize_processor.py:263
↓ 3 callersFunction_normalize_question_text
(text: str)
experiments/olmo/data/lerobot_wrapper.py:376
↓ 3 callersFunction_normalize_question_text
(text: str)
experiments/olmo/hf_model/modeling_molmoact2.py:1290
↓ 3 callersFunction_normalize_random_camera_order
(value: Optional[str], *, label: str = "random_camera_order")
experiments/olmo/data/lerobot_wrapper.py:569
↓ 3 callersMethod_pad_to_model_dim
Pad 7 → 20 dims (zeros for the dummy channels).
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:289
↓ 3 callersMethod_pad_to_model_dim
Pad real_dim → max_dim (zeros for the dummy channels).
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:368
↓ 3 callersMethod_predict_action_for_observation
( self, obs: Dict[str, Any], *, batch_idx: int, norm_tag: str,
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:347
↓ 3 callersMethod_prepare_4d_causal_attention_mask_with_cache_position
Creates a causal 4D mask of shape `(batch_size, 1, query_length, key_value_length)` from a 2D mask of shape `(batch_size, key_value_l
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:1411
↓ 3 callersMethod_prepare_attention_masks_4d
Helper method to prepare 4D attention masks for transformer.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:623
↓ 3 callersMethod_prepare_attention_masks_4d
Helper method to prepare 4D attention masks for transformer.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:619
↓ 3 callersFunction_prepare_env_for_save
( dir: PathOrStr, process_group: Optional[dist.ProcessGroup] = None, save_overwrite: bool = False,
experiments/olmo/train/distributed_checkpointing.py:598
↓ 3 callersMethod_process_response
Decode a feedback frame and update the cache for one motor.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:708
↓ 3 callersMethod_raw_to_degps
(raw_speed: int)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:220
↓ 3 callersMethod_read
Return the most recent (single) values from self.last_d, optionally applying calibration.
experiments/lerobot/src/lerobot/teleoperators/homunculus/homunculus_arm.py:233
↓ 3 callersMethod_read
Return the most recent (single) values from self.last_d, optionally applying calibration.
experiments/lerobot/src/lerobot/teleoperators/homunculus/homunculus_glove.py:265
↓ 3 callersMethod_ready_to_send_observation
Flags when the client is ready to send an observation
experiments/lerobot/src/lerobot/async_inference/robot_client.py:404
↓ 3 callersMethod_recv_all_responses
Efficiently receive responses from multiple motors at once. Uses the OpenArms pattern: collect all available messages within timeout.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:394
↓ 3 callersMethod_recv_motor_response
Receive a response from a motor. Args: expected_recv_id: If provided, only return messages from this CAN ID
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:354
↓ 3 callersFunction_reject_removed_action_training_flags
(argv_tokens: Sequence[str])
experiments/launch_scripts/lerobot_utils/train_plan.py:55
↓ 3 callersMethod_require_action_expert
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:2863
↓ 3 callersFunction_require_tag_metadata_entry
( tag_metadata_by_tag: object, repo_to_tag: object, repo_id: str, *, random_camera_order:
experiments/olmo/data/lerobot_wrapper.py:901
↓ 3 callersFunction_require_tag_state_keys
(tag: str, metadata: Dict[str, object])
experiments/launch_scripts/lerobot_utils/train_plan.py:361
← previousnext →801–900 of 8,779, ranked by callers