MCPcopy Create free account

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

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

↓ 217 callersMethodget
Return a tensor with the input `shape` as a view into the 1-D data starting at `start_index`.
verl/utils/memory_buffer.py:40
↓ 171 callersMethodto
move the batch to device Args: device (torch.device, str): torch device Returns: DataProto: the current Data
verl/protocol.py:224
↓ 133 callersMethodget
(self)
verl/protocol.py:495
↓ 108 callersMethodget_pose
(self)
modified_codes/robotwin2/envs/utils/transforms.py:111
↓ 88 callersMethodmove
Take action for the robot.
modified_codes/robotwin2/envs/_base_task.py:886
↓ 73 callersMethodnamed_parameters
(self)
verl/utils/memory_buffer.py:205
↓ 56 callersFunctionlog_gpu_memory_usage
(head: str, logger: logging.Logger = None, level=logging.DEBUG, rank: int = 0)
verl/utils/debug/performance.py:20
↓ 44 callersMethodupdate
(self, current_kl, n_steps)
verl/trainer/ppo/core_algos.py:51
↓ 35 callersMethodadd_prohibit_area
( self, actor: Actor | sapien.Entity | sapien.Pose | list | np.ndarray, padding=0.01,
modified_codes/robotwin2/envs/_base_task.py:651
↓ 35 callersMethodmove_by_displacement
( self, arm_tag: ArmTag, x: float = 0.0, y: float = 0.0, z: float = 0.
modified_codes/robotwin2/envs/_base_task.py:1352
↓ 30 callersMethodgrasp_actor
( self, actor: Actor, arm_tag: ArmTag, pre_grasp_dis=0.1, grasp_dis=0,
modified_codes/robotwin2/envs/_base_task.py:1169
↓ 24 callersMethodeval
(self)
verl/workers/hybrid_engine/megatron_vllm.py:149
↓ 24 callersFunctionprint_color
(message, color_code)
modified_codes/robotwin2/script/update_embodiment_config_path.py:6
↓ 22 callersFunctioncopy_local_path_from_hdfs
Copy src from hdfs to local if src is on hdfs or directly return src. If cache_dir is None, we will use the default cache dir of the system. Note
verl/utils/fs.py:55
↓ 22 callersFunctioncreate_actor
( scene, pose: sapien.Pose, modelname: str, scale=(1, 1, 1), convex=Fa
modified_codes/robotwin2/envs/utils/create_actor.py:496
↓ 21 callersMethod_init_task_env_
Initialization TODO - `self.FRAME_IDX`: The index of the file saved for the current scene. - `self.fcitx5-configtool`: Left g
modified_codes/robotwin2/envs/_base_task.py:43
↓ 21 callersFunctionoffload_fsdp_param_and_grad
(module, offload_grad=False)
verl/utils/fsdp_utils.py:172
↓ 20 callersFunctionappend_to_dict
(data: Dict, new_data: Dict)
verl/utils/py_functional.py:41
↓ 20 callersMethodplace_actor
( self, actor: Actor, arm_tag: ArmTag, target_pose: list | np.ndarray,
modified_codes/robotwin2/envs/_base_task.py:1310
↓ 20 callersMethodstep
Execute action in environment
verl/workers/rollout/rob_rollout.py:294
↓ 19 callersMethodconcat
Concat a list of DataProto. The batch is concatenated among dim=0. The meta_info is assumed to be identical and will use the first one.
verl/protocol.py:422
↓ 18 callersMethodto_dtype
(precision)
verl/utils/torch_dtypes.py:63
↓ 17 callersFunctionhf_tokenizer
Create a huggingface pretrained tokenizer. Args: name (str): The name of the tokenizer. correct_pad_token (bool): Whether to corr
verl/utils/tokenizer.py:35
↓ 16 callersFunctionload_fsdp_param_and_grad
(module, device_id, load_grad=False)
verl/utils/fsdp_utils.py:182
↓ 15 callersMethodset_pose
更新点的位置
modified_codes/robotwin2/envs/utils/transforms.py:188
↓ 14 callersMethodis_right_gripper_open
(self)
modified_codes/robotwin2/envs/robot/robot.py:564
↓ 14 callersFunctionredistribute_dtensor
(param_name: str, loaded_weights: DTensor, parallelize_plan: Dict = None)
verl/third_party/vllm/vllm_v_0_6_3/dtensor_weight_loaders.py:312
↓ 14 callersMethodselect
Select a subset of the DataProto via batch_keys and meta_info_keys Args: batch_keys (list, optional): a list of strings indicatin
verl/protocol.py:238
↓ 13 callersMethodclose
Close the environment
verl/workers/rollout/rob_rollout.py:323
↓ 13 callersMethodis_left_gripper_open
(self)
modified_codes/robotwin2/envs/robot/robot.py:561
↓ 13 callersMethodtrain
(self)
verl/workers/hybrid_engine/megatron_vllm.py:153
↓ 12 callersMethodchunk
Split the batch among dim=0 into chunks. The meta_info is passed to each DataProto after split. Args: chunks (int): the number of
verl/protocol.py:390
↓ 12 callersFunctioncreate_box
( scene, pose: sapien.Pose, half_size, color=None, is_static=False, name="", textu
modified_codes/robotwin2/envs/utils/create_actor.py:81
↓ 12 callersMethodfrom_dict
Create a DataProto from a dict of tensors. This assumes that 1. All the tensor in tensors have the same dim0 2. Only dim0 is the batch
verl/protocol.py:189
↓ 12 callersFunctionlogprobs_from_logits
See: https://github.com/pytorch/pytorch/issues/563#issuecomment-330103591
verl/utils/torch_functional.py:49
↓ 12 callersFunctionredistribute_dtensor
(param_name: str, loaded_weights: DTensor, parallelize_plan: Dict = None)
verl/third_party/vllm/vllm_v_0_5_4/dtensor_weight_loaders.py:274
↓ 11 callersFunctionpreprocess
Add entity to scene. Add bias to z axis if scene is not sapien.Scene.
modified_codes/robotwin2/envs/utils/create_actor.py:21
↓ 10 callersMethodget
Return a tensor with the input `shape` as a view into the 1-D data starting at `start_index`.
verl/utils/megatron/memory.py:33
↓ 10 callersFunctionoffload_fsdp_optimizer
(optimizer)
verl/utils/fsdp_utils.py:192
↓ 10 callersFunctionredistribute_dtensor
(param_name: str, loaded_weights: DTensor, parallelize_plan: Dict = None)
verl/third_party/vllm/vllm_v_0_4_2/dtensor_weight_loaders.py:205
↓ 9 callersFunction_toPose
(pose: sapien.Pose | list | np.ndarray)
modified_codes/robotwin2/envs/utils/transforms.py:259
↓ 9 callersMethod_update_render
Update rendering to refresh the camera's RGBD information (rendering must be updated even when disabled, otherwise data cannot be col
modified_codes/robotwin2/envs/_base_task.py:421
↓ 9 callersMethodget
(self)
verl/utils/rendezvous/ray_backend.py:30
↓ 9 callersMethodget_megatron_rank_info
(self)
verl/single_controller/base/megatron/worker.py:33
↓ 8 callersMethodget_tokenizer_for_seq
(self, sequence: Sequence)
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:146
↓ 8 callersFunctionget_ulysses_sequence_parallel_group
Get ulysses sequence parallel process group.
verl/utils/ulysses.py:37
↓ 8 callersMethodlog
(self, data, step, backend=None)
verl/utils/tracking.py:47
↓ 8 callersFunctionmasked_mean
Compute mean of tensor with a masked values.
verl/utils/torch_functional.py:107
↓ 8 callersFunctionpad_sequence_to_length
pad a 2D tensors (e.g. responses, logprobs) in the last dim to max_seq_length. input shape: [bs, seq_length] output shape: [bs, max_seq_l
verl/utils/torch_functional.py:212
↓ 8 callersMethodprocess_tensor
(self, tensor, pad_id)
verl/workers/actor/dp_rob.py:58
↓ 8 callersMethodset_gripper
Set gripper posture - `left_pos`: Left gripper pose - `right_pos`: Right gripper pose - `set_tag`: "left" to set the
modified_codes/robotwin2/envs/_base_task.py:608
↓ 8 callersFunctionset_random_seed
(seed)
verl/workers/megatron_workers.py:47
↓ 7 callersFunction_megatron_calc_global_rank
given TP,DP,PP rank to get the global rank.
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:28
↓ 7 callersMethodadd
(self, idx: int, val: int)
verl/utils/seqlen_balancing.py:33
↓ 7 callersFunctionclean_traceback
(error_traceback)
verl/utils/reward_score/evaluation_utils/code_util/testing_utils_org.py:83
↓ 7 callersFunctionclean_traceback
(error_traceback)
verl/utils/reward_score/evaluation_utils/code_util/testing_util.py:86
↓ 7 callersFunctionclean_traceback
(error_traceback)
verl/utils/reward_score/evaluation_utils/code_util/testing_util_org.py:83
↓ 7 callersFunctionfunc
(*args, **kwargs)
verl/single_controller/ray/base.py:38
↓ 7 callersMethodget_sliding_window
(self)
verl/third_party/vllm/vllm_v_0_3_1/config.py:181
↓ 7 callersFunctionrearrange_micro_batches
Split the batch into a list of micro_batches, where the max_token_len is smaller than max_token_len and the number of valid tokens in each micro b
verl/utils/seqlen_balancing.py:224
↓ 7 callersMethodslice
(self, index)
verl/protocol.py:122
↓ 6 callersFunction_broadcast_tensor
broadcast tensor from rank0 across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:97
↓ 6 callersMethod_take_picture
(self)
modified_codes/robotwin2/envs/_base_task.py:510
↓ 6 callersMethodback_to_origin
(self, arm_tag: ArmTag)
modified_codes/robotwin2/envs/_base_task.py:1392
↓ 6 callersFunctioncombined_int_check
(val)
verl/utils/reward_score/evaluation_utils/code_util/testing_utils_org.py:80
↓ 6 callersFunctioncombined_int_check
(val)
verl/utils/reward_score/evaluation_utils/code_util/testing_util.py:83
↓ 6 callersFunctioncombined_int_check
(val)
verl/utils/reward_score/evaluation_utils/code_util/testing_util_org.py:80
↓ 6 callersMethodcompute_log_prob
Compute logits given a batch of data. Args: data (DataProto): a batch of data represented by DataProto. It must contain key ```in
verl/workers/actor/base.py:39
↓ 6 callersFunctionget_fsdp_wrap_policy
(module, config=None)
verl/utils/fsdp_utils.py:41
↓ 6 callersFunctionget_init_weight_context_manager
(use_meta_tensor=True)
verl/utils/fsdp_utils.py:29
↓ 6 callersMethodget_supported_archs
()
verl/models/registry.py:65
↓ 6 callersMethodinit_model
(self, cupy_port: Optional[int] = None)
verl/third_party/vllm/vllm_v_0_3_1/worker.py:89
↓ 6 callersMethodplan_batch
Plan multiple paths - matching CuroboPlanner's interface
modified_codes/robotwin2/envs/robot/planner.py:397
↓ 6 callersMethodplan_path
Interpolative planning with screw motion. Will not avoid collision and will fail if the path contains collision.
modified_codes/robotwin2/envs/robot/planner.py:133
↓ 6 callersMethodset_arm_joints
(self, target_position, target_velocity, arm_tag)
modified_codes/robotwin2/envs/robot/robot.py:632
↓ 6 callersMethodto_dict
(self)
verl/single_controller/base/worker.py:78
↓ 6 callersMethodupdate
(self, force_output: bool = False, flexible: bool = False)
modified_codes/robotwin2/envs/utils/transforms.py:198
↓ 6 callersFunctionupdate_model_config
(module_config, override_config_kwargs)
verl/utils/model.py:42
↓ 6 callersMethodupdate_point_cloud
Update point cloud for collision checking
modified_codes/robotwin2/envs/robot/planner.py:523
↓ 5 callersMethod__init__
(self, config: LlamaConfig, megatron_config: ModelParallelConfig)
verl/models/llama/megatron/modeling_llama_megatron.py:81
↓ 5 callersFunction_hdfs_cmd
(cmd: str)
verl/utils/hdfs_io.py:139
↓ 5 callersFunction_run_cmd
(cmd: str, timeout=None)
verl/utils/hdfs_io.py:135
↓ 5 callersMethodbackward
(ctx: Any, grad_output: Tensor)
verl/utils/ulysses.py:226
↓ 5 callersFunctionbroadcast_dict_tensor
TODO: optimize this. Technically, we only need one broadcast
verl/utils/torch_functional.py:163
↓ 5 callersFunctioncompute_position_id_with_mask
(mask)
verl/utils/model.py:177
↓ 5 callersMethodexecute_all_async
(self, method_name: str, *args, **kwargs)
verl/single_controller/ray/base.py:335
↓ 5 callersMethodget_left_gripper_val
(self)
modified_codes/robotwin2/envs/robot/robot.py:549
↓ 5 callersFunctionget_micro_data_parallel_world_size
()
verl/workers/hybrid_engine/megatron_vllm.py:423
↓ 5 callersFunctionget_model
Build the model.
verl/utils/megatron_utils.py:34
↓ 5 callersMethodget_right_gripper_val
(self)
modified_codes/robotwin2/envs/robot/robot.py:555
↓ 5 callersFunctionimport_external_libs
(external_libs=None)
verl/utils/import_utils.py:49
↓ 5 callersMethodopen_gripper
(self, arm_tag: ArmTag, pos: float = 1.0)
modified_codes/robotwin2/envs/_base_task.py:1389
↓ 5 callersFunctionprint_model_size
(model: nn.Module, name: str = None)
verl/utils/model.py:129
↓ 5 callersMethodstep
Performs one decoding iteration and returns newly generated results. This function performs one decoding iteration of the engine. It first
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:574
↓ 5 callersFunctionunwrap_model
(model, module_instances=ALL_MODULE_WRAPPER_CLASSNAMES)
verl/utils/megatron_utils.py:122
↓ 4 callersMethod__init__
(self, llm_dim: int, proprio_dim: int)
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:72
↓ 4 callersMethod__init__
(self, config)
verl/workers/fsdp_workers.py:1094
↓ 4 callersMethod__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:193
↓ 4 callersMethod__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:175
↓ 4 callersFunction_broadcast_tensor
broadcast tensor across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:131
next →1–100 of 1,816, ranked by callers