Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/molmoact2
/ functions
Functions
8,779 in github.com/allenai/molmoact2
⨍
Functions
8,779
◇
Types & classes
1,280
↳
Endpoints
41
↓ 1 callers
Function
_resolve_dataset_root
(repo_id: str, dataset_root: Optional[str])
experiments/scripts/run_open_loop_inference_lerobot.py:174
↓ 1 callers
Function
_resolve_delta_settings
( repo_id: str, dataset_root: Optional[Path], n_obs_steps: int, action_horizon: int, )
experiments/olmo/data/lerobot_wrapper.py:1184
↓ 1 callers
Method
_resolve_depth_gate_token_ids
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:2844
↓ 1 callers
Method
_resolve_depth_gate_token_ids
(self)
experiments/olmo/models/molmoact2/molmoact2.py:322
↓ 1 callers
Function
_resolve_discrete_action_processor_path
( processor_name_or_path: str, *, local_files_only: bool, hf_token: Optional[str] = None, )
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:419
↓ 1 callers
Function
_resolve_formatter
( formatter: Optional[DataFormatter], *, prompt_templates: Optional[str], message_format: Opti
experiments/lerobot/src/lerobot/policies/molmoact2/prompt_utils.py:36
↓ 1 callers
Function
_resolve_hf_checkpoint_dir
(checkpoint: str)
experiments/olmo/train/checkpoint_loading.py:114
↓ 1 callers
Function
_resolve_molmoact2_n_obs_steps
(policy_cfg: PreTrainedConfig, policy: torch.nn.Module)
experiments/scripts/run_open_loop_inference_lerobot.py:229
↓ 1 callers
Function
_resolve_molmoact2_root
()
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:49
↓ 1 callers
Function
_resolve_policy_inference_path
(policy_cfg: PreTrainedConfig, policy: torch.nn.Module)
experiments/scripts/run_open_loop_inference_lerobot.py:218
↓ 1 callers
Method
_resolve_real_action_dim
( self, action: np.ndarray, repo_id: str, )
experiments/olmo/data/lerobot_wrapper.py:2597
↓ 1 callers
Function
_resolve_repo_root
(repo_id: str, root_base: Optional[str])
experiments/launch_scripts/lerobot_utils/stats.py:21
↓ 1 callers
Function
_resolve_required_positive_int
(explicit_value: Optional[int], *, env_name: str, label: str)
experiments/olmo/data/lerobot_wrapper.py:619
↓ 1 callers
Function
_resolve_rng
(rng: Optional[np.random.RandomState])
experiments/lerobot/src/lerobot/policies/molmoact2/prompt_utils.py:32
↓ 1 callers
Method
_resolve_tag
(self, payload: Dict[str, Any])
experiments/scripts/serve_policy.py:360
↓ 1 callers
Method
_resolve_task_index
(self, frame: Dict[str, Any])
experiments/olmo/data/lerobot_wrapper.py:2127
↓ 1 callers
Function
_resolve_tokenizer_added_tokens_from_cfg_obj
(tokenizer_cfg: Any)
experiments/olmo/token_layout.py:30
↓ 1 callers
Function
_resolve_tokenizer_added_tokens_from_raw_cfg
(raw_cfg: Any)
experiments/olmo/token_layout.py:38
↓ 1 callers
Function
_rollout_episode
( dataset: LeRobotDataset, policy_cfg: PreTrainedConfig, policy: torch.nn.Module, preprocessor
experiments/scripts/run_open_loop_inference_lerobot.py:619
↓ 1 callers
Function
_round_up_multiple
(value: int, multiple_of: int)
experiments/olmo/hf_model/modeling_molmoact2.py:96
↓ 1 callers
Function
_round_up_multiple
(value: int, multiple_of: int)
experiments/olmo/nn/action_expert.py:19
↓ 1 callers
Method
_rtc_enabled
(self)
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:612
↓ 1 callers
Method
_rtc_enabled
(self)
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1034
↓ 1 callers
Method
_rtc_enabled
(self)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:601
↓ 1 callers
Method
_rtc_enabled
(self)
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:608
↓ 1 callers
Method
_run_action_flow_loop
( self, inputs: _ActionFlowInputs, steps: int )
experiments/olmo/hf_model/modeling_molmoact2.py:3137
↓ 1 callers
Method
_run_depth_decode_attention_core
( self, layer_idx: int, stage: _DepthDecodeCudaGraphLayerStage, *, pas
experiments/olmo/hf_model/inference.py:527
↓ 1 callers
Function
_run_episode
( env: gym.Env, client: MolmoActClientBase, obs: dict, instruction: str, max_steps: int, )
sim_eval/run_eval.py:143
↓ 1 callers
Function
_run_torchcodec_preflight
(model_cfg)
experiments/launch_scripts/lerobot_utils/env.py:73
↓ 1 callers
Function
_s3_clear_directory
(scheme: str, bucket_name: str, prefix: str)
experiments/olmo/io.py:911
↓ 1 callers
Function
_s3_list_directory
( scheme: str, bucket_name: str, prefix: str, recurse: bool = False, include_files: bool =
experiments/olmo/io.py:930
↓ 1 callers
Function
_s3_upload
( source: Path, scheme: str, bucket_name: str, key: str, save_overwrite: bool = False, )
experiments/olmo/io.py:886
↓ 1 callers
Function
_safe_extract_tar
(archive_path: Path, extract_dir: Path)
experiments/olmo/util.py:658
↓ 1 callers
Method
_sample_annotated_task
( self, frame: Dict[str, Any], mapped_index: Optional[int], rng: np.random.Gen
experiments/olmo/data/lerobot_wrapper.py:2227
↓ 1 callers
Function
_sample_beta_timesteps
Sample timesteps using a beta distribution with bounded support.
experiments/olmo/models/molmoact2/molmoact2.py:40
↓ 1 callers
Method
_sample_style
(self, rng: np.random.Generator)
experiments/olmo/data/lerobot_wrapper.py:1794
↓ 1 callers
Function
_sampler_with_overrides
(sampler, **sampler_overrides)
experiments/olmo/data/video_loader.py:107
↓ 1 callers
Function
_save_batch_episodes_images
Save images from multiple episodes to disk for batch video encoding. Args: dataset: The LeRobot dataset to extract images from im
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:1144
↓ 1 callers
Method
_save_current
(self)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:340
↓ 1 callers
Method
_save_episode_data
Save episode data to a parquet file and update the Hugging Face dataset of frames data. This function processes episodes data from a buffer,
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1410
↓ 1 callers
Function
_save_image
(frame: np.ndarray, path: Path)
sim_eval/run_eval.py:101
↓ 1 callers
Method
_save_image
( self, image: torch.Tensor | np.ndarray | PIL.Image.Image, fpath: Path, compress_level: int = 1 )
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1161
↓ 1 callers
Function
_save_image_array
(array: np.ndarray, path: Path)
experiments/scripts/serve_policy.py:167
↓ 1 callers
Method
_save_merged_lora_checkpoint
( self, *, checkpoint_dir: str, checkpoint_dir_llm: str, checkpoint_di
experiments/olmo/train/trainer.py:1375
↓ 1 callers
Method
_save_pretrained
Overwrite this method in subclass to define how to save your object. Args: save_directory (`str` or `Path`):
experiments/lerobot/src/lerobot/utils/hub.py:76
↓ 1 callers
Method
_save_pretrained
Internal method to comply with `HubMixin`'s saving mechanism. This method does the actual saving work and is called by HubMixin.save_pretrain
experiments/lerobot/src/lerobot/processor/pipeline.py:340
↓ 1 callers
Method
_save_train_state
(self, dir: PathOrStr, wd: Path, train_state: Dict[str, Any])
experiments/olmo/train/checkpointer.py:332
↓ 1 callers
Function
_save_video
(frames: list, path: Path, fps: int = 30)
sim_eval/run_eval.py:87
↓ 1 callers
Method
_scaled_dot_product_attention
Computes scaled dot product attention on query, key and value tensors, using an optional attention mask if passed, and applying dropo
experiments/olmo/nn/llm.py:1721
↓ 1 callers
Method
_select_depth_dataset_for_cameras
( self, camera_keys_used: Sequence[str], )
experiments/olmo/data/lerobot_wrapper.py:1660
↓ 1 callers
Method
_select_rope_cache
( self, x: torch.Tensor, position_ids: Optional[torch.Tensor], seq_len: int,
experiments/olmo/hf_model/modeling_molmoact2.py:2091
↓ 1 callers
Function
_select_task_ids
Validate/normalize task ids. If None → all tasks.
experiments/lerobot/src/lerobot/envs/libero.py:59
↓ 1 callers
Method
_send_zero_torque
Send a zero-gain command to make joints passive before shutting down.
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_g1.py:353
↓ 1 callers
Function
_serialize_stats
(stats: Dict[str, object])
experiments/launch_scripts/lerobot_utils/stats.py:115
↓ 1 callers
Method
_set_gripper_friction
(self, static_friction: float, dynamic_friction: float)
sim_eval/robots/bimanual_yam.py:157
↓ 1 callers
Function
_set_lerobot_environment_from_args
(args)
experiments/launch_scripts/lerobot_utils/env.py:83
↓ 1 callers
Method
_set_requires_grad
(self)
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:423
↓ 1 callers
Method
_set_requires_grad
(self)
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:420
↓ 1 callers
Method
_setup_cnn_backbone
Set up CNN encoder
experiments/lerobot/src/lerobot/policies/sac/reward_model/modeling_classifier.py:149
↓ 1 callers
Method
_setup_spaces
Configure observation and action spaces based on robot capabilities.
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:178
↓ 1 callers
Method
_setup_sync_reader
(self, motor_ids: list[int], addr: int, length: int)
experiments/lerobot/src/lerobot/motors/motors_bus.py:1183
↓ 1 callers
Method
_setup_sync_writer
(self, ids_values: dict[int, int], addr: int, length: int)
experiments/lerobot/src/lerobot/motors/motors_bus.py:1270
↓ 1 callers
Function
_should_retry_lerobot_torchcodec_packet_error
(exc: Exception)
experiments/olmo/data/lerobot_wrapper.py:158
↓ 1 callers
Function
_should_skip_decode_error
(exc: Exception)
experiments/olmo/data/lerobot_wrapper.py:1063
↓ 1 callers
Method
_should_use_vlm_loader_for_next_step
(self)
experiments/olmo/train/trainer.py:1061
↓ 1 callers
Method
_slice_action_chunk
( actions: torch.Tensor, n_obs_steps: int, n_action_steps: Optional[int] )
experiments/olmo/hf_model/modeling_molmoact2.py:3931
↓ 1 callers
Method
_slice_action_dim
(actions: torch.Tensor, action_dim: int)
experiments/olmo/hf_model/modeling_molmoact2.py:3923
↓ 1 callers
Function
_slice_batch_value
(value: Any, idx: int, batch_size: int)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:215
↓ 1 callers
Function
_slice_batch_value
(value: Any, idx: int, batch_size: int)
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:119
↓ 1 callers
Function
_sorted_image_files
Sort images by numeric stem when possible, fallback to lexical order.
examples/yam/lerobot_convert.py:94
↓ 1 callers
Method
_speed_control
Send a Velocity Mode Control Command (Command 11) to a single motor. Args: motor: Motor name or CAN ID. velo
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:507
↓ 1 callers
Method
_split_cloud_path
Split a full s3 path into the bucket name and path.
experiments/olmo/io.py:1008
↓ 1 callers
Method
_split_into_byte_chunks
Convert an integer into a list of byte-sized integers.
experiments/lerobot/src/lerobot/motors/motors_bus.py:928
↓ 1 callers
Method
_split_into_byte_chunks
(self, value: int, length: int)
experiments/lerobot/src/lerobot/motors/feetech/feetech.py:331
↓ 1 callers
Method
_split_into_byte_chunks
(self, value: int, length: int)
experiments/lerobot/src/lerobot/motors/dynamixel/dynamixel.py:246
↓ 1 callers
Method
_stage_to_dmodel
Deterministic projection of one-hot stage to d_model by pad/truncate. Args: stage_prior: One-hot stage embedding (B, 1,
experiments/lerobot/src/lerobot/policies/sarm/modeling_sarm.py:249
↓ 1 callers
Method
_start_capture_thread
(self)
examples/yam/gello_min/realsense_camera.py:59
↓ 1 callers
Method
_start_read_thread
(self)
experiments/lerobot/src/lerobot/cameras/zmq/camera_zmq.py:271
↓ 1 callers
Method
_start_read_thread
Starts or restarts the background read thread if it's not running.
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:464
↓ 1 callers
Method
_start_read_thread
Starts or restarts the background read thread if it's not running.
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:505
↓ 1 callers
Method
_start_thread
(self)
examples/yam/eval_utils.py:244
↓ 1 callers
Function
_stats_reference_array
(stats: Optional[Mapping[str, Any]])
experiments/olmo/data/robot_processing.py:59
↓ 1 callers
Function
_step_function
( last_predictions: torch.Tensor, state: dict[str, torch.Tensor] )
experiments/tests/beam_search_test.py:74
↓ 1 callers
Method
_stop_read_thread
(self)
experiments/lerobot/src/lerobot/cameras/zmq/camera_zmq.py:287
↓ 1 callers
Method
_sync_lora_grads
Manually synchronize replicated LoRA gradients. Used when adapters are injected after FSDP wrapping and therefore are not sh
experiments/olmo/train/trainer.py:1209
↓ 1 callers
Function
_sync_vlm_data_cfg_with_primary
(conf: TrainConfig)
experiments/launch_scripts/lerobot_utils/train_plan.py:232
↓ 1 callers
Method
_target_cache_seq_len
( self, x: torch.Tensor, position_ids: Optional[torch.Tensor] )
experiments/olmo/hf_model/modeling_molmoact2.py:2016
↓ 1 callers
Method
_teardown_tmp_dir
(self, dir: PathOrStr, tmp_dir: Path)
experiments/olmo/train/checkpointer.py:380
↓ 1 callers
Method
_temporary_wd
(self, dir: PathOrStr)
experiments/olmo/train/checkpointer.py:415
↓ 1 callers
Method
_tensor_to_debug_images
(self, image_tensor: Optional[torch.Tensor])
experiments/olmo/train/trainer.py:752
↓ 1 callers
Function
_test_template
(messages, formatter, tokenizer)
experiments/tests/preprocessing/test_data_formatter.py:6
↓ 1 callers
Method
_to_cpu_copy
(self, value: Any)
experiments/olmo/train/trainer.py:679
↓ 1 callers
Function
_to_numpy
(value: Any)
experiments/olmo/hf_model/modeling_molmoact2.py:866
↓ 1 callers
Function
_to_numpy_state
(normalized_states: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/prompt_utils.py:24
↓ 1 callers
Function
_to_uint8
(img)
sim_eval/inference/common.py:128
↓ 1 callers
Function
_to_uint8_np_bhwc
(img_t: torch.Tensor)
experiments/lerobot/src/lerobot/policies/groot/processor_groot.py:189
↓ 1 callers
Method
_triangle_hit
(self, pos)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:92
↓ 1 callers
Method
_trim_to_real_dim
Trim model output 20 → 7 dims.
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:304
↓ 1 callers
Method
_trim_to_real_dim
Trim model output max_dim → real_dim.
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:387
↓ 1 callers
Method
_trim_to_real_dim
Keep only the first REAL_DIM (12) dims for the real robot.
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:482
← previous
next →
2,401–2,500 of 8,779, ranked by callers