MCPcopy Create free account

hub / github.com/bruno686/VisPlay / functions

Functions545 in github.com/bruno686/VisPlay

Methodpost_init
(self)
verl/trainer/config.py:54
Methodpost_init
(self)
verl/trainer/config.py:96
Methodpost_init
(self)
verl/workers/config.py:50
Methodpost_init
(self)
verl/workers/reward/config.py:33
Methodpost_init
(self)
verl/workers/actor/config.py:32
Functionpostprocess_data
Pad or truncate data.
verl/utils/torch_functional.py:153
Methodpostprocess_data
Get chunk data of this tp rank since we do all gather in preprocess.
verl/workers/sharding_manager/fsdp_vllm.py:121
Methodpostprocess_data
Split the data to follow FSDP partition
verl/workers/sharding_manager/fsdp_ulysses.py:56
Methodpreprocess_data
All gather across tp group to make each rank has identical input.
verl/workers/sharding_manager/fsdp_vllm.py:116
Methodpreprocess_data
AllGather data from sp region This is because the data is first sharded along the FSDP dimension as we utilize the DP_COMPUTE
verl/workers/sharding_manager/fsdp_ulysses.py:43
Methodprint_size
(self, prefix: str = "")
verl/protocol.py:224
Functionprocess_one_shard
(rank, model_state_dict_lst)
scripts_Qwen-VL-7B/model_merger.py:106
Functionprocess_one_shard
(rank, model_state_dict_lst)
scripts_MIMO-VL-7B/model_merger.py:106
Functionprocess_one_shard
(rank, model_state_dict_lst)
scripts_Qwen-VL-3B/model_merger.py:106
Functionqwen2_vl_attn_forward
( self: "Qwen2VLAttention", hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] =
verl/models/transformers/qwen2_vl.py:139
Methodrank
(self)
verl/single_controller/base/worker.py:191
Functionrearrange_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:222
Functionregister
(dispatch_mode=Dispatch.ALL_TO_ALL, execute_mode=Execute.ALL, blocking=True, materialize_futures=True)
verl/single_controller/base/decorator.py:198
Methodrename
Note that this function only rename the key in the batch
verl/protocol.py:400
Methodsave_checkpoint
(self, path: str)
verl/utils/checkpoint/fsdp_checkpoint_manager.py:80
Methodsave_checkpoint
(self, *args, **kwargs)
verl/utils/checkpoint/checkpoint_manager.py:70
Methodset_additional_resource
(self, additional_resource)
verl/single_controller/ray/base.py:169
Methodspread
(self)
verl/utils/seqlen_balancing.py:71
Methodstart_worker_aliveness_check
(self, every_n_seconds=1)
verl/single_controller/base/worker_group.py:121
Methodstore
(self)
verl/single_controller/base/worker_group.py:51
Methodto_json_file
Save this instance to a JSON file. Args: json_file_path (Union[str, os.PathLike]): Path to the JSON file in which this c
configuration_utils.py:1365
Functiontry_get_generation_config
( model: str, trust_remote_code: bool, revision: Optional[str] = None, )
config.py:762
Methodupdate
Update the configuration attributes with new values. Args: **kwargs: Keyword arguments representing configuration attrib
configuration_utils.py:1404
Methodupdate
(self, current_kl: float, n_steps: int)
verl/trainer/core_algos.py:56
Methodupdate
(self, current_kl: float, n_steps: int)
verl/trainer/core_algos.py:71
Methodupdate_critic
Update the critic
verl/workers/critic/base.py:40
Methodupdate_critic
(self, data: DataProto)
verl/workers/critic/dp_critic.py:169
Methodupdate_policy
(self, data: DataProto)
verl/workers/actor/dp_actor.py:208
Functionuses_mrope
Detect if the model with this config uses M-ROPE.
config.py:223
Methodvalidate
(self)
configuration_utils.py:1416
Methodvalidate
(self)
configuration_utils.py:1458
Methodvalidate
(self)
configuration_utils.py:1563
Methodvalidate_input
(keys)
verl/protocol.py:407
Functionwait
()
verl/utils/ulysses.py:148
Methodworker_names
(self)
verl/single_controller/ray/base.py:318
Methodworkers
(self)
verl/single_controller/ray/base.py:400
Methodworld_size
(self)
verl/single_controller/ray/base.py:404
Methodworld_size
(self)
verl/single_controller/base/worker_group.py:44
Methodworld_size
(self)
verl/single_controller/base/worker_group.py:131
Methodworld_size
(self)
verl/single_controller/base/worker.py:187
← previous501–545 of 545, ranked by callers