MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 3 callersMethodsync_write
Builds a "Sync_Write" broadcast instruction. The parameters for Sync_Write are: param[0] = start_address p
experiments/lerobot/tests/mocks/mock_feetech.py:168
↓ 3 callersMethodto_dict
Returns the current metric values (or averages if `use_avg=True`) as a dict.
experiments/lerobot/src/lerobot/utils/logging_utils.py:154
↓ 3 callersMethodto_dict
Convert debug step to dictionary. Args: include_tensors (bool): If True, include tensor values. If False, only include
experiments/lerobot/src/lerobot/policies/rtc/debug_tracker.py:58
↓ 3 callersMethodtoken_for_index
(self, token_id: int)
experiments/olmo/extra_tokens.py:26
↓ 3 callersMethodtokenize_message
(self, message_list: List[str], weight, bos=True, add_last_eos=True)
experiments/olmo/preprocessing/text_preprocessor.py:87
↓ 3 callersFunctiontrain
Main function to train a policy. This function orchestrates the entire training pipeline, including: - Setting up logging, seeding, and
experiments/lerobot/src/lerobot/scripts/lerobot_train.py:154
↓ 3 callersMethodtrain_step_forward
Forward pass for training with multi-modal inputs including vision, text, and action data. This method handles the complete forward
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:697
↓ 3 callersMethodtransform_features
Adds feature definitions for the language tokens and attention mask. This updates the policy features dictionary to include the new
experiments/lerobot/src/lerobot/processor/tokenizer_processor.py:296
↓ 3 callersFunctionunnormalize
(x, min_val, max_val)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:174
↓ 3 callersFunctionupdate_last_checkpoint
(checkpoint_dir: Path)
experiments/lerobot/src/lerobot/utils/train_utils.py:57
↓ 3 callersMethodupdate_state
( self, state: ConstraintStateType, last_prediction: torch.Tensor, last_backpo
experiments/olmo/nn/beam_search.py:704
↓ 3 callersMethodupdate_target_networks
Update target networks with exponential moving average
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:220
↓ 3 callersMethodwith_overrides
(self, other: Union[None, float, 'MessageWeight'])
experiments/olmo/preprocessing/text_preprocessor.py:36
↓ 3 callersMethodwrap_token_ids
(self, token_ids: Sequence[int])
experiments/olmo/extra_tokens.py:46
↓ 2 callersMethodRead
Receive and deserialize a state message from the robot.
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_sdk2_socket.py:168
↓ 2 callersMethodSendInteractions
(self, request_iterator, _context)
experiments/lerobot/src/lerobot/rl/learner_service.py:102
↓ 2 callersMethodWrite
Serialize and send a command message to the robot.
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_sdk2_socket.py:148
↓ 2 callersMethod__init__
( self, result: OverlengthCheckResult, *, metadata: Optional[dict[str, Any]] =
experiments/olmo/preprocessing/sequence_length_utils.py:33
↓ 2 callersMethod__init__
Base dataset for video pointing task with grounding and tracking objects. Can control different point sampling methods and prompt typ
experiments/olmo/data/video_object_tracking_datasets.py:792
↓ 2 callersMethod__init__
(self, submodule: nn.Module)
experiments/olmo/nn/vision_backbone.py:188
↓ 2 callersMethod__init__
(self, config: PhoneConfig)
experiments/lerobot/src/lerobot/teleoperators/phone/teleop_phone.py:370
↓ 2 callersMethod__init__
(self, config: KeyboardTeleopConfig)
experiments/lerobot/src/lerobot/teleoperators/keyboard/teleop_keyboard.py:59
↓ 2 callersMethod__init__
Args: config: Policy configuration class instance.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:940
↓ 2 callersMethod__init__
(self, config: TDMPCConfig)
experiments/lerobot/src/lerobot/policies/tdmpc/modeling_tdmpc.py:522
↓ 2 callersMethod__init__
(self, config: SARMConfig, dataset_stats: dict | None = None, dataset_meta=None)
experiments/lerobot/src/lerobot/policies/sarm/modeling_sarm.py:369
↓ 2 callersMethod__init__
( self, vision_config=None, text_config=None, ignore_index=-100, vocab
experiments/lerobot/src/lerobot/policies/xvla/configuration_florence2.py:335
↓ 2 callersMethod__init__
( self, config: GR00TN15Config, local_model_path: str, )
experiments/lerobot/src/lerobot/policies/groot/groot_n1.py:205
↓ 2 callersMethod__init__
Args: config: Policy configuration class instance.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:911
↓ 2 callersMethod__init__
(self, sharpness: float | Sequence[float])
experiments/lerobot/src/lerobot/datasets/transforms.py:118
↓ 2 callersFunction_accumulate_to
(group: str, metrics: dict)
experiments/lerobot/src/lerobot/scripts/lerobot_eval.py:713
↓ 2 callersMethod_action_dim_valid_mask
( target: torch.Tensor, action_dim_is_pad: Optional[torch.Tensor], )
experiments/olmo/models/molmoact2/molmoact2.py:1286
↓ 2 callersFunction_add_shared_args
(p)
experiments/lerobot/examples/dataset/slurm_compute_rabc.py:363
↓ 2 callersMethod_adjust_height
(self)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:261
↓ 2 callersFunction_annotated_tasks_cache_key
(repo_id: str, annotated_path: Path)
experiments/olmo/data/lerobot_wrapper.py:308
↓ 2 callersFunction_append_images
(images: List[np.ndarray], value: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:164
↓ 2 callersMethod_apply_depth_gate_to_layer_kv_states
( self, layer_kv_states: Optional[Sequence[Tuple[torch.Tensor, torch.Tensor]]], depth_
experiments/olmo/models/molmoact2/molmoact2.py:860
↓ 2 callersMethod_apply_depth_gate_to_layer_states
( self, layer_states: Optional[Sequence[torch.Tensor]], depth_mask: Optional[torch.Ten
experiments/olmo/models/molmoact2/molmoact2.py:839
↓ 2 callersMethod_apply_depth_loss_masking
( self, *, batch: Dict[str, Any], input_ids: torch.Tensor, subsegment_
experiments/olmo/train/trainer.py:1510
↓ 2 callersMethod_apply_dtype
Apply dtype casting to model components based on config.
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:117
↓ 2 callersFunction_apply_lerobot_molmoact2_defaults
(model_cfg: MolmoAct2Config)
experiments/launch_scripts/lerobot_utils/hf.py:303
↓ 2 callersMethod_apply_transform
Core logic to apply a normalization or unnormalization transformation to a tensor. This method selects the appropriate normalization
experiments/lerobot/src/lerobot/processor/normalize_processor.py:278
↓ 2 callersMethod_as_heads
(self, x: torch.Tensor)
experiments/olmo/hf_model/modeling_molmoact2.py:321
↓ 2 callersMethod_as_heads
(self, x: torch.Tensor)
experiments/olmo/nn/action_expert.py:244
↓ 2 callersMethod_assert_motors_exist
(self)
experiments/lerobot/src/lerobot/motors/motors_bus.py:452
↓ 2 callersMethod_batch_refresh
Refresh a set of motors and update the feedback cache.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:833
↓ 2 callersMethod_batch_refresh
Internal helper to refresh a list of motors and update cache.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:675
↓ 2 callersMethod_batch_save_episode_video
Batch save videos for multiple episodes. Args: start_episode: Starting episode index (inclusive) end_episode
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1357
↓ 2 callersFunction_build_block
(block_type: BlockType, *, qwen3_qk_norm: bool = False)
experiments/tests/test_molmoact2_kv_collection.py:17
↓ 2 callersFunction_build_dataset_with_lock
( dataset_root: Optional[Path], builder: Callable[[], LeRobotDataset], )
experiments/olmo/data/lerobot_wrapper.py:821
↓ 2 callersFunction_build_discrete_state_string
( state: Optional[np.ndarray], num_state_tokens: int )
experiments/olmo/hf_model/modeling_molmoact2.py:1281
↓ 2 callersFunction_build_eagle_processor
(tokenizer_assets_repo: str = DEFAULT_TOKENIZER_ASSETS_REPO)
experiments/lerobot/src/lerobot/policies/groot/processor_groot.py:196
↓ 2 callersMethod_build_episode_index
(self)
experiments/olmo/data/lerobot_wrapper.py:2457
↓ 2 callersMethod_build_example
(self, video_path, msg)
experiments/olmo/data/vixmo_datasets.py:1491
↓ 2 callersMethod_build_header
( self, width: int, hdr: Dict[str, Any], stale_sec: Optional[float], )
examples/yam/eval_utils.py:334
↓ 2 callersFunction_build_iterator
(_resume_from=None)
experiments/tests/data/test_data_iterator.py:223
↓ 2 callersMethod_build_loader_checkpoint
( self, loader_cfg: Optional[DataLoaderConfig], worker_states: Optional[Dict[int, Work
experiments/olmo/train/trainer.py:992
↓ 2 callersMethod_build_multi_image_coordinates
( self, rng, timestamps, frame_points, scales, multi_image, indices=None)
experiments/olmo/preprocessing/point_formatter.py:379
↓ 2 callersMethod_build_normalizers
(self)
experiments/olmo/data/robot_processing.py:488
↓ 2 callersFunction_build_robot_text
( *, task: str, style: str, discrete_state_string: str, setup_type: str, control_mode:
experiments/olmo/hf_model/modeling_molmoact2.py:1312
↓ 2 callersMethod_build_rope_cache
(self, device: torch.device, seq_len: int)
experiments/olmo/hf_model/modeling_molmoact2.py:2060
↓ 2 callersMethod_build_sliders
(self)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:270
↓ 2 callersMethod_cache_to_sequence
(self, cache: torch.Tensor)
experiments/olmo/hf_model/modeling_molmoact2.py:2870
↓ 2 callersMethod_cache_to_sequence
(self, cache: torch.Tensor)
experiments/olmo/models/molmoact2/molmoact2.py:906
↓ 2 callersMethod_calibrate_arm
Calibrate a single arm with Feetech motors.
experiments/lerobot/src/lerobot/teleoperators/openarm_mini/openarm_mini.py:165
↓ 2 callersMethod_call_generate_inference_result
(self, *args, **kwargs)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:862
↓ 2 callersFunction_canonicalize_depth_repo_id
(repo_id: str)
experiments/olmo/data/lerobot_wrapper.py:1003
↓ 2 callersFunction_capture_frame
(env: gym.Env)
sim_eval/run_eval.py:109
↓ 2 callersMethod_capture_policy_state
(self)
experiments/scripts/serve_policy.py:486
↓ 2 callersFunction_check_matplotlib_available
Check if matplotlib is available, raise helpful error if not.
experiments/lerobot/examples/rtc/eval_dataset.py:139
↓ 2 callersFunction_check_num_replicas
(num_replicas: int, dp_world_size: int)
experiments/olmo/dist_util.py:89
↓ 2 callersFunction_check_shard_degree
(shard_degree: int, dp_world_size: int)
experiments/olmo/dist_util.py:99
↓ 2 callersFunction_checkpoint_debug_file
()
experiments/olmo/train/checkpoint_loading.py:42
↓ 2 callersMethod_cleanup
Clean up ZMQ resources.
experiments/lerobot/src/lerobot/cameras/zmq/camera_zmq.py:157
↓ 2 callersMethod_cleanup
Clean up queues and thread tracking dicts.
experiments/lerobot/src/lerobot/datasets/video_utils.py:899
↓ 2 callersMethod_close_writer
Close and cleanup the parquet writer if it exists.
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:148
↓ 2 callersFunction_collate
(tensors, max_shape=None, dtype=None, pad=None, pad_value=-1, allow_truncate=True)
experiments/olmo/preprocessing/multimodal_collator.py:38
↓ 2 callersMethod_collate_example
(self, example: Dict[str, Any], handles: _MolmoHandles)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1065
↓ 2 callersFunction_collect_linear_leaf_names
(module: torch.nn.Module)
experiments/olmo/train/run_trainer.py:377
↓ 2 callersMethod_combine_history_examples
( self, examples: List[Dict[str, Any]], handles: _MolmoHandles, *, nor
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1003
↓ 2 callersFunction_compute_average_mse_for_dims
( predicted: Optional[np.ndarray], gt_reference: Optional[np.ndarray], dims: Sequence[int], )
experiments/scripts/run_open_loop_inference_lerobot.py:576
↓ 2 callersMethod_compute_batch_targets
Compute stage+tau targets for a batch of samples.
experiments/lerobot/src/lerobot/policies/sarm/processor_sarm.py:307
↓ 2 callersFunction_compute_tagged_stats
()
experiments/launch_scripts/lerobot_utils/stats.py:474
↓ 2 callersMethod_continue_discrete_generation_from_output
( self, initial_output: MolmoAct2CausalLMOutputWithPast, *, past_key_values: O
experiments/olmo/hf_model/modeling_molmoact2.py:4181
↓ 2 callersFunction_convert_hf_state_dict_to_olmo
(state_dict: Dict[str, torch.Tensor])
experiments/olmo/train/checkpoint_loading.py:223
↓ 2 callersFunction_copy_and_reindex_data
Copy and filter data files, only modifying files with deleted episodes. Args: src_dataset: Source dataset to copy from dst_meta:
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:471
↓ 2 callersFunction_copy_and_reindex_episodes_metadata
Copy and reindex episodes metadata using provided data and video metadata. Args: src_dataset: Source dataset to copy from dst_met
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:809
↓ 2 callersFunction_copy_and_reindex_videos
Copy and filter video files, only re-encoding files with deleted episodes. For video files that only contain kept episodes, we copy them directly
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:677
↓ 2 callersMethod_decode_base64_image
Decode base64 string to image. Args: base64_string: Base64 encoded image string Returns: np.ndarray: Decoded
experiments/lerobot/src/lerobot/robots/earthrover_mini_plus/robot_earthrover_mini_plus.py:379
↓ 2 callersMethod_decode_discrete_action_chunk
( self, handles: _MolmoHandles, generated_token_ids: torch.Tensor, *,
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1099
↓ 2 callersMethod_decode_sign
(self, data_name: str, ids_values: dict[int, int])
experiments/lerobot/src/lerobot/motors/motors_bus.py:902
↓ 2 callersFunction_decode_token_ids
(tokenizer: Any, token_ids: List[int])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:279
↓ 2 callersFunction_dedupe_tokens_preserve_order
(tokens: Iterable[str])
experiments/olmo/tokenizer.py:86
↓ 2 callersMethod_depth_codes_to_rgb
( self, codes: np.ndarray, *, height: int = 10, width: int = 10,
experiments/olmo/train/trainer.py:1576
↓ 2 callersMethod_depth_decode_key
( self, next_input_ids: torch.Tensor, attention_bias: torch.Tensor, )
experiments/olmo/hf_model/inference.py:314
↓ 2 callersMethod_depth_decode_post_layer
( self, layer_idx: int, residual: torch.Tensor, attn_context: torch.Tensor,
experiments/olmo/hf_model/inference.py:384
↓ 2 callersMethod_depth_decode_pre_layer
( self, layer_idx: int, hidden_states: torch.Tensor, cos: torch.Tensor,
experiments/olmo/hf_model/inference.py:335
↓ 2 callersMethod_depth_gate_for_layer
( gate: torch.Tensor | Sequence[torch.Tensor], layer_idx: int, *, num_layers:
experiments/olmo/models/molmoact2/molmoact2.py:819
↓ 2 callersMethod_depth_gate_from_condition
( self, *, input_ids: Optional[torch.Tensor], encoder_attention_mask: Optional
experiments/olmo/models/molmoact2/molmoact2.py:770
↓ 2 callersMethod_depth_gate_from_source
( gate_head: nn.Linear, *, source: torch.Tensor, depth_mask: torch.Tensor,
experiments/olmo/hf_model/modeling_molmoact2.py:2990
↓ 2 callersMethod_depth_gate_from_source
( self, gate_head: nn.Linear, *, source: torch.Tensor, depth_mask: tor
experiments/olmo/models/molmoact2/molmoact2.py:736
← previousnext →1,101–1,200 of 8,779, ranked by callers