MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunction_unnormalize_array
( x: np.ndarray, *, mean: Optional[np.ndarray] = None, std: Optional[np.ndarray] = None, m
experiments/olmo/data/robot_processing.py:104
↓ 1 callersMethod_unnormalize_image_tensor_for_debug
(self, image: torch.Tensor)
experiments/olmo/train/trainer.py:730
↓ 1 callersMethod_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:1085
↓ 1 callersMethod_update
Read and process the latest gamepad data.
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:403
↓ 1 callersMethod_update_causal_mask
( self, attention_mask: torch.Tensor, input_tensor: torch.Tensor, cache_positi
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:1327
↓ 1 callersMethod_update_causal_mask
Update causal attention mask with support for bidirectional attention for specific token types. This method creates and modifies attention ma
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:2622
↓ 1 callersMethod_update_controller_action
Update controller input state from incoming teleop action.
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_g1.py:495
↓ 1 callersMethod_update_histograms
Update histograms with new vectors.
experiments/lerobot/src/lerobot/datasets/compute_stats.py:151
↓ 1 callersMethod_update_initial_state
Expand tensors in a state dictionary from `(batch_size, *)` to `(batch_size * beam_size, *)`.
experiments/olmo/nn/beam_search.py:1321
↓ 1 callersMethod_update_obs_mode
( self, obs: Dict[str, Any], rollout_idx: int, num_rollouts: int, step
examples/yam/eval_utils.py:369
↓ 1 callersMethod_update_state
( self, state: ConstraintStateType, last_prediction: torch.Tensor, )
experiments/olmo/nn/beam_search.py:715
↓ 1 callersMethod_update_state
(self, state: StateType, backpointer: torch.Tensor)
experiments/olmo/nn/beam_search.py:1336
↓ 1 callersFunction_use_hf_checkpoint
(args: argparse.Namespace)
experiments/scripts/run_open_loop_inference_lerobot.py:157
↓ 1 callersFunction_use_molmoact2_policy
(args: argparse.Namespace)
experiments/scripts/run_open_loop_inference_lerobot.py:161
↓ 1 callersMethod_validate_delta_timestamp_keys
Validate that all keys in delta_timestamps correspond to actual features in the dataset. Raises: ValueError: If any delt
experiments/lerobot/src/lerobot/datasets/streaming_dataset.py:510
↓ 1 callersMethod_validate_fourcc
Validates and sets the camera's FOURCC code.
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:240
↓ 1 callersMethod_validate_fps
Validates and sets the camera's frames per second (FPS).
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:225
↓ 1 callersFunction_validate_lerobot_tag_temporal_metadata
( robot_mixture: Sequence[KwargsMixture], *, tag_metadata_by_tag: Dict[str, Dict[str, object]],
experiments/launch_scripts/lerobot_utils/train_plan.py:138
↓ 1 callersMethod_validate_motors
(self)
experiments/lerobot/src/lerobot/motors/motors_bus.py:438
↓ 1 callersFunction_validate_packed_action_chunk_padding_args
(args)
experiments/launch_scripts/lerobot_utils/train_plan.py:159
↓ 1 callersMethod_validate_peft_config
Validate the PEFT configuration for this policy. Override this in subclasses to add policy-specific validation or warnings.
experiments/lerobot/src/lerobot/policies/pretrained.py:328
↓ 1 callersFunction_validate_raw_mixture_family
(raw_mixture, *, expect_lerobot: bool, label: str)
experiments/launch_scripts/lerobot_utils/train_plan.py:268
↓ 1 callersMethod_validate_release_action_config
( *, state_format: str, )
experiments/olmo/hf_model/configuration_molmoact2.py:496
↓ 1 callersFunction_validate_separate_vlm_dataloader_args
(args, data_plan: LeRobotTrainingDataPlan)
experiments/launch_scripts/lerobot_utils/train_plan.py:194
↓ 1 callersFunction_validate_stat_value
Validate a single statistic value.
experiments/lerobot/src/lerobot/datasets/compute_stats.py:532
↓ 1 callersMethod_validate_width_and_height
Validates and sets the camera's frame capture width and height.
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:261
↓ 1 callersFunction_wait_before_retry
(attempt: int)
experiments/olmo/io.py:483
↓ 1 callersMethod_wait_for_capture_trigger
Blocks execution until the calibration trigger is detected from the iOS device. This method enters a loop, continuously reading the
experiments/lerobot/src/lerobot/teleoperators/phone/teleop_phone.py:108
↓ 1 callersMethod_wait_for_capture_trigger
Blocks execution until the calibration trigger is detected from the Android device. This method enters a loop, continuously checking
experiments/lerobot/src/lerobot/teleoperators/phone/teleop_phone.py:250
↓ 1 callersMethod_warmup
(self)
examples/yam/molmoact_client.py:473
↓ 1 callersFunction_warn_frame_count_mismatch
( repo_id: str, data_root: Path, loaded_rows: int, expected_rows: int, )
experiments/olmo/data/lerobot_wrapper.py:335
↓ 1 callersMethod_wheel_raw_to_body
Convert wheel raw command feedback back into body-frame velocities. Parameters: wheel_raw : Vector with raw wheel comman
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:291
↓ 1 callersFunction_wrap_control_text
(control_mode: str, add_control_tokens: bool = False)
experiments/olmo/hf_model/modeling_molmoact2.py:1260
↓ 1 callersFunction_wrap_setup_text
(setup_type: str, add_setup_tokens: bool = False)
experiments/olmo/hf_model/modeling_molmoact2.py:1249
↓ 1 callersFunction_write_items
( path: str, storage_key: str, items: List[WriteItem], planner: SavePlanner )
experiments/olmo/train/remote_filesystem.py:138
↓ 1 callersFunctiona_okvqa_score
(target, pred)
experiments/olmo/eval/vqa.py:112
↓ 1 callersFunctionabs_dist_norm
(pred: float, target: float)
experiments/olmo/eval/vsi_bench_utils.py:13
↓ 1 callersFunctionact_with_policy
Executes policy interaction within the environment. This function rolls out the policy in the environment, collecting interaction data and p
experiments/lerobot/src/lerobot/rl/actor.py:210
↓ 1 callersMethodaction
Processes an action. Subclasses must implement this method. Args: action: The input action from the transition. Returns:
experiments/lerobot/src/lerobot/processor/pipeline.py:1472
↓ 1 callersMethodaction
Processes a `RobotAction`. Subclasses must implement this method. Args: action: The input `RobotAction` dictionary. Retu
experiments/lerobot/src/lerobot/processor/pipeline.py:1503
↓ 1 callersMethodaction
Processes a `PolicyAction`. Subclasses must implement this method. Args: action: The input `PolicyAction`. Returns:
experiments/lerobot/src/lerobot/processor/pipeline.py:1532
↓ 1 callersMethodaction_adapter
(self)
sim_eval/inference/client.py:51
↓ 1 callersMethodaction_features
(self)
experiments/lerobot/examples/rtc/eval_with_real_robot.py:129
↓ 1 callersMethodactions_available
Check if there are actions available in the queue
experiments/lerobot/src/lerobot/async_inference/robot_client.py:362
↓ 1 callersFunctionactor_cli
(cfg: TrainRLServerPipelineConfig)
experiments/lerobot/src/lerobot/rl/actor.py:104
↓ 1 callersFunctionadd_actor_information_and_train
Handles data transfer from the actor to the learner, manages training updates, and logs training progress in an online reinforcement learning
experiments/lerobot/src/lerobot/rl/learner.py:251
↓ 1 callersMethodadd_data
(self, new_data)
experiments/lerobot/src/lerobot/robots/unitree_g1/g1_kinematics.py:41
↓ 1 callersFunctionadd_envs_task
Adds task feature to the observation dict with respect to the first environment attribute.
experiments/lerobot/src/lerobot/envs/utils.py:156
↓ 1 callersFunctionadd_internal_urls
(dataset: datasets.Dataset, _url_map={})
experiments/olmo/data/download_urls.py:149
↓ 1 callersMethodadd_lora
Add LoRA (Low-Rank Adaptation) adapters to the model. Args: r (int): Rank of adaptation lora_alpha (int): Lo
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:466
↓ 1 callersMethodadd_pos_emb
(self, x: torch.Tensor, patch_num: int)
experiments/olmo/hf_model/modeling_molmoact2.py:1728
↓ 1 callersMethodadd_pos_emb
(self, x: torch.Tensor, patch_num: int)
experiments/olmo/nn/image_vit.py:501
↓ 1 callersMethodadd_pos_emb
(self, x: torch.Tensor, patch_num: int)
experiments/olmo/nn/image_vit.py:718
↓ 1 callersMethodadd_step
Buffer one control-step record. ``obs_pre`` is the observation snapshot at the start of the step (the image the policy "sees" for tha
examples/yam/eval_utils.py:93
↓ 1 callersFunctionadd_v30_tag
Create v3.0 dataset tag in HF repo if missing.
examples/yam/lerobot_convert.py:498
↓ 1 callersMethodadd_wandb
(self, wandb_url)
experiments/olmo/train/trainer.py:253
↓ 1 callersFunctionaggregate_data
Aggregates data chunks from a source dataset into the destination dataset. Reads source data files, updates indices to match the aggregated datas
experiments/lerobot/src/lerobot/datasets/aggregate.py:430
↓ 1 callersFunctionaggregate_metadata
Aggregates metadata from a source dataset into the destination dataset. Reads source metadata files, updates all indices and timestamps, and
experiments/lerobot/src/lerobot/datasets/aggregate.py:502
↓ 1 callersFunctionaggregate_videos
Aggregates video chunks from a source dataset into the destination dataset. Handles video file concatenation and rotation based on file size limi
experiments/lerobot/src/lerobot/datasets/aggregate.py:321
↓ 1 callersFunctionall_gather_sizes
(x, dim)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1053
↓ 1 callersFunctionall_gather_variably_sized
(x, sizes, dim=0)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1060
↓ 1 callersFunctionall_to_all_4D
all-to-all for QKV Args: input (torch.tensor): a tensor sharded along dim scatter dim scatter_idx (int): default 1 g
experiments/olmo/nn/ulysses.py:34
↓ 1 callersFunctionall_to_all_5D
all-to-all for QKV forward (bs, seqlen/N, 3, hc, hs) -> (bs, seqlen, 3, hc/N, hs) Args: input (torch.tensor): a tensor sharded a
experiments/olmo/nn/ulysses.py:156
↓ 1 callersFunctionaloha_gripper_from_angular
(value)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:206
↓ 1 callersFunctionaloha_gripper_from_angular_inv
(value)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:218
↓ 1 callersFunctionaloha_gripper_to_angular
(value)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:184
↓ 1 callersFunctionanls_metric
Calculates ANLS for DocVQA. There does not seem to be an official evaluation script. Public implementation on which this implementation is ba
experiments/olmo/eval/vqa.py:158
↓ 1 callersMethodannotate
Annotate a video segment using local GPU.
experiments/lerobot/src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:377
↓ 1 callersMethodapply
( self, state: ConstraintStateType, class_log_probabilities: torch.Tensor, )
experiments/olmo/nn/beam_search.py:857
↓ 1 callersMethodapply_compile
(self, **kwargs)
experiments/olmo/nn/llm.py:842
↓ 1 callersMethodapply_cp
( self, cp_mesh: DeviceMesh, load_balancer: CPLoadBalancerType, head_stride: i
experiments/olmo/nn/llm.py:2073
↓ 1 callersFunctionapply_delta_transform
Apply delta transform to specified dimensions. Args: state: Current state [D] actions: Future actions [D] delta_dims: Lis
experiments/lerobot/src/lerobot/scripts/lerobot_train_tokenizer.py:107
↓ 1 callersMethodapply_fsdp2_v2
Apply FSDP(2) to the model when using context parallelism (CP). .. warning:: This should generally be called last if usi
experiments/olmo/models/molmo2/molmo2.py:283
↓ 1 callersFunctionapply_keywords
(prompt, example, keywords)
experiments/olmo/models/molmo/data_formatter.py:689
↓ 1 callersFunctionapply_normalization
Apply normalization to data based on the specified mode. Args: data: Data to normalize [N, H, D] or [D] stats: Dictionary of stat
experiments/lerobot/src/lerobot/scripts/lerobot_train_tokenizer.py:128
↓ 1 callersFunctionapply_rotary_pos_emb
Applies Rotary Position Embedding to the query and key tensors. Args: q (`torch.Tensor`): The query tensor. k (`torch.Tensor`): T
experiments/olmo/hf_model/modeling_molmoact2.py:1942
↓ 1 callersFunctionapply_rotary_pos_emb_flashatt
( q: torch.Tensor, k: torch.Tensor, cos: torch.Tensor, sin: torch.Tensor )
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:160
↓ 1 callersFunctionarange_for_pooling
( idx_arr: np.ndarray, pool_h: int, pool_w: int, )
experiments/olmo/hf_model/video_processing_molmoact2.py:146
↓ 1 callersFunctionare_all_envs_same_type
(env: gym.vector.VectorEnv)
experiments/lerobot/src/lerobot/envs/utils.py:133
↓ 1 callersFunctionassert_image_frames_integrity
Test that image frames are correctly preserved after aggregation.
experiments/lerobot/tests/datasets/test_aggregate.py:417
↓ 1 callersFunctionassert_image_schema_preserved
Test that HuggingFace Image feature schema is preserved in aggregated parquet files. This verifies the fix for a bug where image columns were wri
experiments/lerobot/tests/datasets/test_aggregate.py:386
↓ 1 callersFunctionasync_client
(cfg: RobotClientConfig)
experiments/lerobot/src/lerobot/async_inference/robot_client.py:486
↓ 1 callersFunctionattempt_import
(module_name: str)
experiments/lerobot/src/lerobot/utils/import_utils.py:158
↓ 1 callersFunctionaugment_dataset_with_quantile_stats
Augment a dataset with quantile statistics if they are missing. Args: repo_id: Repository ID of the dataset root: Local root dire
experiments/lerobot/src/lerobot/datasets/v30/augment_dataset_quantile_stats.py:182
↓ 1 callersFunctionbatch_pixels_to_patches
Reshape images of [n_images, h, w, 3] -> [n_images, n_patches, pixels_per_patch]
experiments/olmo/hf_model/video_processing_molmoact2.py:126
↓ 1 callersMethodbatch_start
(self, global_total_tokens: int, device_batch_num_tokens: int, device_batch_num_loss_tokens: int, record: bool
experiments/olmo/train/trainer.py:354
↓ 1 callersFunctionbatched_bincount
(x, *, minlength)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1094
↓ 1 callersFunctionbatched_embedding
(indices, embeds)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1139
↓ 1 callersFunctionbenchmark_decoding
( imgs_dir: Path, video_path: Path, timestamps_mode: str, backend: str, ep_num_images: int
experiments/lerobot/benchmarks/video/run_video_benchmark.py:154
↓ 1 callersFunctionbenchmark_encoding_decoding
( dataset: LeRobotDataset, video_path: Path, imgs_dir: Path, encoding_cfg: dict, decoding_
experiments/lerobot/benchmarks/video/run_video_benchmark.py:234
↓ 1 callersMethodbroadcastPing
(self, port)
experiments/lerobot/src/lerobot/motors/motors_bus.py:245
↓ 1 callersMethodbroadcast_ping
Ping every ID on the bus using the broadcast address. Args: num_retry (int, optional): Retry attempts. Defaults to `0`.
experiments/lerobot/src/lerobot/motors/motors_bus.py:965
↓ 1 callersMethodbuild
(cls, data)
experiments/olmo/preprocessing/preprocessor_utils.py:64
↓ 1 callersMethodbuild
(self, default_save_dir=None)
experiments/olmo/eval/inf_evaluator.py:262
↓ 1 callersMethodbuild
( self, llm_dim: int, llm_kv_dim: Optional[int] = None, llm_num_kv_heads: Opti
experiments/olmo/nn/action_expert.py:505
↓ 1 callersMethodbuild
(self, optimizer: Optimizer, num_training_steps: int)
experiments/lerobot/src/lerobot/optim/schedulers.py:50
↓ 1 callersMethodbuild
(self, optimizer: Optimizer, num_training_steps: int)
experiments/lerobot/src/lerobot/optim/schedulers.py:94
↓ 1 callersFunctionbuild_actions_from_episode
Build action array aligned with observation.state semantics.
examples/yam/lerobot_convert.py:297
↓ 1 callersFunctionbuild_app
(policy: Policy)
examples/droid/host_server_droid.py:234
↓ 1 callersFunctionbuild_app
(policy: Policy)
examples/yam/host_server_yam.py:231
← previousnext →2,501–2,600 of 8,779, ranked by callers