MCPcopy Create free account

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

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

↓ 4 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:170
↓ 4 callersMethod_build_multimodal_attention
Build multimodal embeddings and attention mask
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:490
↓ 4 callersFunction_check_if_gpu_supports_dtype
(torch_dtype: torch.dtype)
verl/third_party/vllm/vllm_v_0_3_1/worker.py:306
↓ 4 callersMethod_entity_qf
(self, entity)
modified_codes/robotwin2/envs/robot/robot.py:628
↓ 4 callersMethod_entity_qf
(self, entity)
modified_codes/robotwin2/envs/robot/robot_curobo.py:605
↓ 4 callersMethod_forward_micro_batch
(self, module, micro_batch, prompt_length, no_grad=False)
verl/workers/actor/dp_prime.py:85
↓ 4 callersFunction_get_cpu_tensor
(tensor: torch.Tensor)
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:124
↓ 4 callersFunction_get_gpt_model
(model)
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:63
↓ 4 callersFunction_is_non_local
(path: str)
verl/utils/hdfs_io.py:143
↓ 4 callersMethod_obs_to_input
Convert observation to model input format
verl/workers/rollout/rob_rollout.py:1085
↓ 4 callersFunction_replace_name
(megatron_name, name_mapping)
verl/third_party/vllm/vllm_v_0_6_3/megatron_weight_loaders.py:147
↓ 4 callersFunction_replace_name
(megatron_name, name_mapping)
verl/third_party/vllm/vllm_v_0_5_4/megatron_weight_loaders.py:146
↓ 4 callersFunction_replace_name
(megatron_name, name_mapping)
verl/third_party/vllm/vllm_v_0_4_2/megatron_weight_loaders.py:146
↓ 4 callersFunction_split_args_kwargs_data_proto
(chunks, *args, **kwargs)
verl/single_controller/base/decorator.py:45
↓ 4 callersMethod_trans_endpose
(self, arm_tag=None, is_endpose=False)
modified_codes/robotwin2/envs/robot/robot.py:611
↓ 4 callersMethod_trans_endpose
(self, arm_tag=None, is_endpose=False)
modified_codes/robotwin2/envs/robot/robot_curobo.py:588
↓ 4 callersMethod_trans_from_gripper_to_endlink
(self, target_pose, arm_tag=None)
modified_codes/robotwin2/envs/robot/robot.py:353
↓ 4 callersMethod_trans_from_gripper_to_endlink
(self, target_pose, arm_tag=None)
modified_codes/robotwin2/envs/robot/robot_curobo.py:330
↓ 4 callersMethodapply_mask_with_grad_control
Args: log_probs: (batch_size, traj_len, ...) entropy: (batch_size, traj_len, ...) mask: (batch_siz
verl/workers/actor/dp_rob.py:79
↓ 4 callersMethodbuffer_size
(self)
verl/utils/dataset/rl_dataset.py:210
↓ 4 callersFunctionbuild_memory_reference_from_module
(module: torch.nn.Module, memory_buffers: Dict[torch.dtype, MemoryBuffe
verl/utils/memory_buffer.py:97
↓ 4 callersFunctioncal_quat_dis
(quat1, quat2)
modified_codes/robotwin2/envs/utils/transforms.py:381
↓ 4 callersMethodgenerate
Generates the completions for the input prompts. NOTE: This class automatically batches the given prompts, considering the memory con
verl/third_party/vllm/vllm_v_0_3_1/llm.py:148
↓ 4 callersMethodgenerate_traj_mask
Args: end_step: (batch_size,), traj_len: Returns: mask: (batch_size, traj_len),
verl/workers/actor/dp_rob.py:66
↓ 4 callersFunctionget_constant_schedule_with_warmup
( optimizer: Optimizer, num_warmup_steps: int, last_epoch: int = -1, )
verl/utils/torch_functional.py:465
↓ 4 callersMethodget_constraint_pose
(self, ori_vec: list, arm_tag=None)
modified_codes/robotwin2/envs/robot/robot.py:166
↓ 4 callersMethodget_constraint_pose
(self, ori_vec: list, arm_tag=None)
modified_codes/robotwin2/envs/robot/robot_curobo.py:162
↓ 4 callersFunctionget_embodiment_file
(embodiment_type)
verl/workers/rollout/rob_rollout.py:188
↓ 4 callersFunctionget_embodiment_file
(embodiment_type)
verl/workers/rollout/pre_collect_twin2_seed.py:63
↓ 4 callersFunctionget_glb_or_obj_file
(modeldir, model_id)
modified_codes/robotwin2/envs/utils/create_actor.py:482
↓ 4 callersMethodget_grasp_pose
Obtain the grasp pose through the marked grasp point. - actor: The instance of the object to be grasped. - arm_tag: The arm t
modified_codes/robotwin2/envs/_base_task.py:1033
↓ 4 callersMethodget_left_ee_pose
(self)
modified_codes/robotwin2/envs/robot/robot.py:580
↓ 4 callersFunctionget_micro_data_parallel_group
()
verl/workers/hybrid_engine/megatron_vllm.py:418
↓ 4 callersMethodget_output_mat
(self)
modified_codes/robotwin2/envs/utils/transforms.py:167
↓ 4 callersMethodget_placement_groups
(self, strategy="STRICT_PACK", name=None)
verl/single_controller/ray/base.py:64
↓ 4 callersFunctionget_product_vector
获取 v2 在 v1 上的投影向量
modified_codes/robotwin2/envs/utils/transforms.py:444
↓ 4 callersMethodget_resource_pool
Get the resource pool of the worker_cls
verl/trainer/ppo/ray_trainer.py:76
↓ 4 callersMethodget_right_ee_pose
(self)
modified_codes/robotwin2/envs/robot/robot.py:583
↓ 4 callersFunctionget_tensor_model_parallel_group
Get the tensor model parallel group the caller rank belongs to.
verl/third_party/vllm/vllm_v_0_3_1/parallel_state.py:108
↓ 4 callersFunctionget_tensor_model_parallel_group
Get the tensor model parallel group the caller rank belongs to.
verl/third_party/vllm/vllm_v_0_6_3/parallel_state.py:291
↓ 4 callersFunctionget_tensor_model_parallel_group
Get the tensor model parallel group the caller rank belongs to.
verl/third_party/vllm/vllm_v_0_5_4/parallel_state.py:282
↓ 4 callersFunctionget_tensor_model_parallel_group
Get the tensor model parallel group the caller rank belongs to.
verl/third_party/vllm/vllm_v_0_4_2/parallel_state.py:273
↓ 4 callersFunctionget_tensor_model_parallel_world_size
Return world size for the tensor model parallel group.
verl/third_party/vllm/vllm_v_0_4_2/parallel_state.py:279
↓ 4 callersMethodinit
(self)
verl/single_controller/base/dp.py:24
↓ 4 callersFunctionis_digit
(s)
verl/utils/reward_score/evaluation_utils/math_util/grader.py:96
↓ 4 callersFunctionload_fsdp_optimizer
(optimizer, device_id)
verl/utils/fsdp_utils.py:202
↓ 4 callersFunctionload_megatron_model_weights
(config, model_config, parallel_model,
verl/utils/model.py:253
↓ 4 callersMethodmake_iterator
Make an iterator from the DataProto. This is built upon that TensorDict can be used as a normal Pytorch dataset. See https://pytorch.org/tenso
verl/protocol.py:349
↓ 4 callersMethodplan_grippers
(self, now_val, target_val)
modified_codes/robotwin2/envs/robot/planner.py:161
↓ 4 callersMethodprofile_run
(self)
verl/third_party/vllm/vllm_v_0_3_1/model_runner.py:235
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
verl/models/llama/megatron/layers/parallel_attention.py:116
↓ 4 callersMethodsave_checkpoint
(self, step)
verl/trainer/fsdp_sft_trainer.py:288
↓ 4 callersMethodtrans_mat
(to_mat: np.ndarray, from_mat: np.ndarray, scale: float = 1.0)
modified_codes/robotwin2/envs/utils/transforms.py:124
↓ 4 callersFunctiontruncatefn
(s, length=300)
verl/utils/reward_score/evaluation_utils/code_util/testing_utils_org.py:27
↓ 4 callersFunctiontruncatefn
(s, length=300)
verl/utils/reward_score/evaluation_utils/code_util/testing_util.py:30
↓ 4 callersFunctiontruncatefn
(s, length=300)
verl/utils/reward_score/evaluation_utils/code_util/testing_util_org.py:27
↓ 4 callersFunctionulysses_pad_and_slice_inputs
Pad and slice input_ids to be divisible by sp_size Pad position_ids to be divisible by sp_size. Note both input_ids_rmpad and position_i
verl/utils/ulysses.py:252
↓ 4 callersMethodunion
Union with another DataProto. Union batch and meta_info separately. Throw an error if - there are conflict keys in batch and they are
verl/protocol.py:331
↓ 4 callersMethodupdate_policy
Update the policy with an iterator of DataProto Args: data (DataProto): an iterator over the DataProto that returns by
verl/workers/actor/base.py:54
↓ 3 callersMethod__init__
(self, use_fused_vision_backbone: bool, vision_dim: int, llm_dim: int)
verl/utils/vla_utils/openvla/modeling_prismatic.py:128
↓ 3 callersMethod__init__
(self)
verl/single_controller/ray/base.py:440
↓ 3 callersMethod__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
verl/models/llama/megatron/layers/parallel_attention.py:37
↓ 3 callersMethod__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:164
↓ 3 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:178
↓ 3 callersMethod_build_param_references
(self, pp_rank, maintain_weight=False)
verl/workers/hybrid_engine/megatron_vllm.py:88
↓ 3 callersFunction_concat_data_proto_or_future
(output: List)
verl/single_controller/base/decorator.py:129
↓ 3 callersFunction_get_and_verify_dtype
( config: PretrainedConfig, dtype: Union[str, torch.dtype], )
verl/third_party/vllm/vllm_v_0_3_1/config.py:475
↓ 3 callersFunction_get_and_verify_max_len
Get and verify the model's maximum length.
verl/third_party/vllm/vllm_v_0_3_1/config.py:525
↓ 3 callersFunction_get_gpt_model
(model)
verl/models/llama/megatron/checkpoint_utils/llama_saver.py:93
↓ 3 callersMethod_process_proprio_features
Process proprioceptive features and append to vision features
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:478
↓ 3 callersMethod_run_diffusion_prediction
Run diffusion-based action prediction
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:1442
↓ 3 callersFunction_str_is_int
(x: str)
verl/utils/reward_score/evaluation_utils/math_util/__init__.py:103
↓ 3 callersMethod_validate
(self, global_steps=0)
verl/trainer/ppo/ray_trainer.py:336
↓ 3 callersMethod_verify_cuda_graph
(self)
verl/third_party/vllm/vllm_v_0_3_1/config.py:153
↓ 3 callersMethod_verify_quantization
(self)
verl/third_party/vllm/vllm_v_0_3_1/config.py:124
↓ 3 callersFunctionallgather_dict_tensors
TODO: optimize this. - We can use async ops - We can use only one allgather Args: tensors: size: group:
verl/utils/torch_functional.py:172
↓ 3 callersMethodbuffer_size
(self)
verl/utils/dataset/rob_dataset.py:254
↓ 3 callersFunctionbuild_memory_buffer
Build the memory buffer given weight_buffer_meta Args: weight_buffer_meta: contains mapping from name to a dictionary containing shape an
verl/utils/memory_buffer.py:68
↓ 3 callersFunctioncalc_padded_numel
for cuda memory alignment, make sure alignment by 128-bits
verl/utils/memory_buffer.py:51
↓ 3 callersFunctioncenter_crop_image
(image)
verl/workers/rollout/rob_rollout.py:111
↓ 3 callersFunctioncheck_model_support_rmpad
(model_type: str)
verl/models/registry.py:28
↓ 3 callersMethodclose_gripper
(self, arm_tag: ArmTag, pos: float = 0.0)
modified_codes/robotwin2/envs/_base_task.py:1386
↓ 3 callersFunctioncompute_transformers_input_shapes
(batches, meta_info)
verl/utils/megatron/pipeline_parallel.py:22
↓ 3 callersFunctioncopy
r"""Works like shutil.copy() for file, and shutil.copytree for dir, and supports hdfs. Copy data and mode bits ("cp src dst"). Return the file's
verl/utils/hdfs_io.py:84
↓ 3 callersMethoddecode
Converts a sequence of ids in a string, using the tokenizer and vocabulary with options to remove special tokens and clean up tokeniz
verl/workers/rollout/tokenizer.py:86
↓ 3 callersMethoddump
(self, data: io.BytesIO, name)
verl/utils/debug/trajectory_tracker.py:59
↓ 3 callersFunctionencode_obs
Post-Process Observation for robotwin 2.0
verl/workers/rollout/rob_rollout.py:229
↓ 3 callersMethodexecute_all_sync
(self, method_name: str, *args, **kwargs)
verl/single_controller/ray/base.py:332
↓ 3 callersMethodexecute_rank_zero_async
(self, method_name: str, *args, **kwargs)
verl/single_controller/ray/base.py:322
↓ 3 callersFunctionfunc_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
verl/single_controller/ray/base.py:36
↓ 3 callersFunctiongather_outpus_and_unpad
(x: Tensor, gather_dim: int, unpad_dim: int = None,
verl/utils/ulysses.py:233
↓ 3 callersMethodgenerate_sequences
Generate sequences
verl/workers/rollout/base.py:35
↓ 3 callersMethodget_action_dim
Get the dimensionality of the policy's action space.
verl/utils/vla_utils/openvla/modeling_prismatic.py:554
↓ 3 callersFunctionget_align_matrix
获取从 v1 到 v2 的旋转矩阵
modified_codes/robotwin2/envs/utils/transforms.py:389
↓ 3 callersFunctionget_default_kwargs_for_model_parallel_config
()
verl/utils/megatron/tensor_parallel.py:32
↓ 3 callersFunctionget_eos_mask
e.g. end of sentence token=1 response_id: [0, 0, 2, 42, 3, 5, 1, 0, 0] eos_mask: [1, 1, 1, 1, 1, 1, 1, 0, 0]
verl/utils/torch_functional.py:142
↓ 3 callersMethodget_input_embeddings
(self)
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:392
↓ 3 callersMethodget_lora_tokenizer
(self, lora_request: Optional[LoRARequest])
verl/third_party/vllm/vllm_v_0_3_1/tokenizer.py:52
↓ 3 callersMethodget_num_images_in_input
Returns the number of input images for the vision backbone. Returns: Number of images expected in the input
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:190
↓ 3 callersMethodget_num_patches
Returns the number of vision patches output by the vision backbone. Returns: Number of patches per image
verl/utils/vla_utils/openvla_oft/modeling_prismatic.py:181
← previousnext →101–200 of 1,816, ranked by callers