MCPcopy Create free account

hub / github.com/PRIME-RL/SimpleVLA-RL / functions

Functions1,816 in github.com/PRIME-RL/SimpleVLA-RL

↓ 2 callersFunctionget_megatron_optimizer
( model, config: OptimizerConfig, no_weight_decay_cond=None, scale_lr_cond=Non
verl/utils/megatron/optimizer.py:26
↓ 2 callersFunctionget_micro_data_parallel_group
()
verl/third_party/vllm/vllm_v_0_3_1/parallel_state.py:137
↓ 2 callersFunctionget_model_size
(model: nn.Module, scale='auto')
verl/utils/model.py:102
↓ 2 callersMethodget_normal_real_gripper_val
(self)
modified_codes/robotwin2/envs/robot/robot.py:642
↓ 2 callersMethodget_normal_real_gripper_val
(self)
modified_codes/robotwin2/envs/robot/robot_curobo.py:619
↓ 2 callersMethodget_obs
Get observation from environment
verl/workers/rollout/rob_rollout.py:275
↓ 2 callersMethodget_obs
(self)
modified_codes/robotwin2/envs/_base_task.py:439
↓ 2 callersMethodget_place_pose
( self, actor: Actor, arm_tag: ArmTag, target_pose: list | np.ndarray,
modified_codes/robotwin2/envs/_base_task.py:1222
↓ 2 callersFunctionget_reverse_idx
(idx_map)
verl/utils/seqlen_balancing.py:259
↓ 2 callersMethodget_right_arm_jointState
(self)
modified_codes/robotwin2/envs/robot/robot.py:524
↓ 2 callersMethodget_right_gripper_val
(self)
modified_codes/robotwin2/envs/robot/robot_curobo.py:532
↓ 2 callersFunctionget_robotwin2_task
Get robotwin 2.0 task
verl/workers/rollout/rob_rollout.py:153
↓ 2 callersFunctionget_tensor_model_parallel_world_size
Return world size for the tensor model parallel group.
verl/third_party/vllm/vllm_v_0_3_1/parallel_state.py:114
↓ 2 callersFunctionget_trajectory_tracker
()
verl/utils/debug/trajectory_tracker.py:79
↓ 2 callersFunctionget_upper_triangle
(tensor_x)
verl/trainer/ppo/core_algos.py:386
↓ 2 callersFunctionget_weight_buffer_meta_from_module
Return a dictionary containing name to a shape and dtype.
verl/utils/memory_buffer.py:58
↓ 2 callersMethodinit_joints
(self)
modified_codes/robotwin2/envs/robot/robot.py:170
↓ 2 callersFunctioninit_megatron_optim_config
(optim_config: Dict)
verl/utils/megatron_utils.py:185
↓ 2 callersFunctioninitialize_model_parallel
NOTE: This method is a hack from the open-sourced version without asertion of world_size = tp * pp Initialize model parallel groups.
verl/third_party/vllm/vllm_v_0_5_4/parallel_state.py:191
↓ 2 callersFunctioninitialize_model_parallel
NOTE: This method is a hack from the open-sourced version without asertion of world_size = tp * pp Initialize model parallel groups.
verl/third_party/vllm/vllm_v_0_4_2/parallel_state.py:172
↓ 2 callersMethodinitialize_mplib
Initialize the internal mplib planner with additional required information This should be called after the CuroboPlanner is c
modified_codes/robotwin2/envs/robot/planner.py:215
↓ 2 callersFunctionis_tensor_parallel_param
(param)
verl/utils/megatron/tensor_parallel.py:86
↓ 2 callersFunctionis_vllm_available
()
verl/utils/import_utils.py:42
↓ 2 callersMethodleft_plan_path
( self, target_pose, constraint_pose=None, use_point_cloud=False, use_
modified_codes/robotwin2/envs/robot/robot.py:448
↓ 2 callersFunctionlist_of_dict_to_dict_of_list
(list_of_dict: list[dict])
verl/protocol.py:65
↓ 2 callersMethodload_model_cls
(model_arch: str, value=False)
verl/models/registry.py:49
↓ 2 callersMethodload_params_to_cuda
load all model params to cuda
verl/workers/hybrid_engine/megatron_vllm.py:112
↓ 2 callersMethodlog
Log data to file and optionally console. Args: data: Dictionary containing metrics/data to log step:
verl/utils/logger/aggregate_logger.py:87
↓ 2 callersFunctionls_apply_patch
(ls_module: LayerScale)
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:62
↓ 2 callersFunctionls_apply_patch
(ls_module: LayerScale)
verl/utils/vla_utils/openvla/modeling_prismatic.py:56
↓ 2 callersFunctionmain
(config)
verl/trainer/main_ppo.py:106
↓ 2 callersMethodmake_minibatch_iterator
Make minibatch iterator for updating the actor Args: data (DataProto): a DataProto containing keys ``input_ids``
verl/workers/actor/megatron_actor.py:190
↓ 2 callersFunctionmakedirs
r"""Works like os.makedirs() but supports hdfs. Super-mkdir; create a leaf directory and all intermediate ones. Works like mkdir, except tha
verl/utils/hdfs_io.py:50
↓ 2 callersFunctionmath_equal
Exact match of math if and only if: 1. numerical equal: both can convert to float and are equal 2. symbolic equal: both can convert to sy
verl/utils/reward_score/evaluation_utils/math_util/grader.py:163
↓ 2 callersFunctionmd5_encode
(path: str)
verl/utils/fs.py:33
↓ 2 callersMethodmerge
(self, other)
verl/utils/seqlen_balancing.py:37
↓ 2 callersMethodmove_bowl
(self, actor, target_pose)
modified_codes/robotwin2/envs/stack_bowls_two.py:55
↓ 2 callersFunctionnormalize
(answer, pi)
verl/utils/reward_score/evaluation_utils/math_util/grader.py:108
↓ 2 callersFunctionnormalize_pp_vpp_params
Normalize the pp vpp params into a complete named parameters. This is useful when gather parameters from pp ranks and passed to a model with
verl/utils/model.py:181
↓ 2 callersFunctionoffload_fsdp_grad
(module)
verl/utils/fsdp_utils.py:158
↓ 2 callersMethodoffload_params_to_cpu
(self)
verl/workers/reward_model/megatron/reward_model.py:262
↓ 2 callersMethodpick_and_place_block
(self, block: Actor)
modified_codes/robotwin2/envs/stack_blocks_two.py:100
↓ 2 callersMethodping
Check if the tokenizer group is alive.
verl/third_party/vllm/vllm_v_0_5_4/tokenizer.py:35
↓ 2 callersMethodplan_grippers
Plan gripper motion - simple linear interpolation
modified_codes/robotwin2/envs/robot/planner.py:511
↓ 2 callersMethodplan_path
Plan a single path
modified_codes/robotwin2/envs/robot/planner.py:286
↓ 2 callersMethodpop
Pop a subset of the DataProto via `batch_keys` and `meta_info_keys` Args: batch_keys (list, optional): a list of strings indicati
verl/protocol.py:273
↓ 2 callersMethodprocess_input
Unified input processing for both Robotwin and Libero
verl/workers/rollout/rob_rollout.py:504
↓ 2 callersMethodrank
(self)
verl/single_controller/base/worker.py:175
↓ 2 callersFunctionreduce_metrics
(metrics: dict)
verl/trainer/ppo/ray_trainer.py:207
↓ 2 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
verl/models/llama/megatron/layers/parallel_attention.py:131
↓ 2 callersFunctionresize_image
Takes numpy array corresponding to a single image and returns resized image as numpy array. NOTE (Moo Jin): To make input images in distribu
verl/utils/libero_utils.py:39
↓ 2 callersMethodright_plan_path
( self, target_pose, constraint_pose=None, use_point_cloud=False, use_
modified_codes/robotwin2/envs/robot/robot.py:482
↓ 2 callersFunctionsave_rollout_video
Saves an MP4 replay of an episode.
verl/utils/libero_utils.py:217
↓ 2 callersMethodset_planner
(self, scene=None)
modified_codes/robotwin2/envs/robot/robot.py:261
↓ 2 callersFunctionsplit_tuple
Split the elements in a tuple/interval, while handling well-formatted commas in large numbers
verl/utils/reward_score/evaluation_utils/math_util/__init__.py:254
↓ 2 callersFunctionstrip_string
(string)
verl/utils/reward_score/math.py:165
↓ 2 callersFunctionstripped_string_compare
(s1, s2)
verl/utils/reward_score/evaluation_utils/code_util/testing_utils_org.py:639
↓ 2 callersFunctionstripped_string_compare
(s1, s2)
verl/utils/reward_score/evaluation_utils/code_util/testing_util.py:706
↓ 2 callersFunctionstripped_string_compare
(s1, s2)
verl/utils/reward_score/evaluation_utils/code_util/testing_util_org.py:639
↓ 2 callersMethodsync_model_weights
(self, actor_weights: Dict[str, torch.Tensor])
verl/third_party/vllm/vllm_v_0_3_1/llm.py:271
↓ 2 callersMethodtogether_open_gripper
(self, save_freq=-1, left_pos=1, right_pos=1)
modified_codes/robotwin2/envs/_base_task.py:720
↓ 2 callersMethodtrans_base
( now_base_mat: np.ndarray, init_base_mat: np.ndarray, init_pose_mat: np.ndarray,
modified_codes/robotwin2/envs/utils/transforms.py:146
↓ 2 callersFunctionunpack_tuple
(fn: Callable[[Any], Tuple[Any]])
verl/utils/vla_utils/openvla/modeling_prismatic.py:41
↓ 2 callersFunctionupdate_auto_map
Update the AutoMap configuration in the checkpoint config.json file. This loads the config.json file inside the checkpoint directory and ove
verl/utils/openvla_utils.py:26
↓ 2 callersFunctionupdate_dtensor_weight_loader
()
verl/third_party/vllm/vllm_v_0_6_3/dtensor_weight_loaders.py:379
↓ 2 callersFunctionupdate_dtensor_weight_loader
()
verl/third_party/vllm/vllm_v_0_5_4/dtensor_weight_loaders.py:339
↓ 2 callersFunctionupdate_dtensor_weight_loader
()
verl/third_party/vllm/vllm_v_0_4_2/dtensor_weight_loaders.py:268
↓ 2 callersFunctionupdate_hf_weight_loader
()
verl/third_party/vllm/vllm_v_0_6_3/hf_weight_loader.py:22
↓ 2 callersFunctionupdate_hf_weight_loader
()
verl/third_party/vllm/vllm_v_0_5_4/hf_weight_loader.py:25
↓ 2 callersFunctionupdate_hf_weight_loader
()
verl/third_party/vllm/vllm_v_0_4_2/hf_weight_loader.py:25
↓ 2 callersMethodupdate_options
(self, options: Dict)
verl/single_controller/ray/base.py:139
↓ 2 callersMethodverify_with_parallel_config
( self, parallel_config: "ParallelConfig", )
verl/third_party/vllm/vllm_v_0_3_1/config.py:163
↓ 1 callersMethod__init__
(self, numel: int, numel_padded: int, dtype: torch.dtype)
verl/utils/memory_buffer.py:30
↓ 1 callersMethod__init__
( self, norm_stats: Optional[Dict[str, Dict[str, Dict[str, Dict[str, List[float]]]]]] = None,
verl/utils/vla_utils/openvla_oft/configuration_prismatic.py:132
↓ 1 callersMethod__init__
( self, image_processor: Optional[ImageProcessingMixin] = None, tokenizer: Optional[Pr
verl/utils/vla_utils/openvla_oft/processing_prismatic.py:180
↓ 1 callersMethod__init__
( self, norm_stats: Optional[Dict[str, Dict[str, Dict[str, Dict[str, List[float]]]]]] = None,
verl/utils/vla_utils/openvla/configuration_prismatic.py:132
↓ 1 callersMethod__init__
( self, image_processor: Optional[ImageProcessingMixin] = None, tokenizer: Optional[Pr
verl/utils/vla_utils/openvla/processing_prismatic.py:183
↓ 1 callersMethod__init__
(self, resource_pool: RayResourcePool, ray_cls_with_init: RayClassWithInitAr
verl/single_controller/ray/megatron.py:44
↓ 1 callersMethod__init__
(self, config: LlamaConfig, megatron_config: ModelParallelConfig)
verl/models/llama/megatron/layers/parallel_decoder.py:35
↓ 1 callersMethod__init__
(self, input_size, num_heads, num_key_value_heads,
verl/models/llama/megatron/layers/parallel_linear.py:23
↓ 1 callersMethod__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict tokenizer:
verl/third_party/vllm/vllm_v_0_3_1/llm.py:87
↓ 1 callersMethod__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict tokenizer:
verl/third_party/vllm/vllm_v_0_4_2/llm.py:89
↓ 1 callersMethod__init__
(self)
modified_codes/robotwin2/envs/_base_task.py:39
↓ 1 callersMethod__init__
( self, urdf_path, srdf_path, move_group, robot_origion_pose,
modified_codes/robotwin2/envs/robot/planner.py:17
↓ 1 callersMethod__init__
( self, urdf_path, srdf_path, move_group, robot_origion_pose,
modified_codes/robotwin2/envs/robot/planner_curobo.py:282
↓ 1 callersMethod_add_request
( self, prompt: Optional[str], sampling_params: SamplingParams, prompt_token_i
verl/third_party/vllm/vllm_v_0_3_1/llm.py:201
↓ 1 callersMethod_add_request
( self, prompt: Optional[str], sampling_params: SamplingParams, prompt_token_i
verl/third_party/vllm/vllm_v_0_4_2/llm.py:232
↓ 1 callersMethod_bind_worker_method
Bind the worker method to the WorkerGroup
verl/single_controller/base/worker_group.py:136
↓ 1 callersFunction_bind_workers_method_to_parent
Binds the methods of each worker to the WorkerDict. Note that we only bind public methods that are decorated by register
verl/single_controller/ray/base.py:378
↓ 1 callersMethod_block_until_all_workers_alive
(self)
verl/single_controller/base/worker_group.py:113
↓ 1 callersFunction_broadcast_tp_shard_tensor_gate_up
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:214
↓ 1 callersFunction_broadcast_tp_shard_tensor_gate_up
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:224
↓ 1 callersFunction_broadcast_tp_shard_tensor_qkv
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:267
↓ 1 callersFunction_broadcast_tp_shard_tensor_qkv
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:278
↓ 1 callersFunction_broadcast_tp_shard_tensor_vocab
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:131
↓ 1 callersMethod_build_critic_model_optimizer
(self, model_path, megatron_config
verl/workers/megatron_workers.py:446
↓ 1 callersMethod_build_critic_model_optimizer
(self, config)
verl/workers/fsdp_workers.py:1108
↓ 1 callersMethod_build_dataloader
(self)
verl/trainer/fsdp_sft_trainer.py:92
↓ 1 callersMethod_build_model
(self, config)
verl/workers/fsdp_workers.py:1315
↓ 1 callersMethod_build_model_optimizer
(self)
verl/trainer/fsdp_sft_trainer.py:135
← previousnext →301–400 of 1,816, ranked by callers