MCPcopy Create free account

hub / github.com/Alibaba-NLP/VRAG / functions

Functions1,037 in github.com/Alibaba-NLP/VRAG

Methodsupported_types
()
VRAG-RL/verl/utils/torch_dtypes.py:47
Methodthis_rank_models
(self)
VRAG-RL/verl/workers/sharding_manager/megatron_vllm.py:207
Functiontimeout
(timeout_seconds: int = 8)
VRAG-RL/verl/utils/reward_score/prime_math/__init__.py:38
Functiontimeout_handler
(signum, frame)
VRAG-RL/verl/utils/reward_score/prime_code/testing_util.py:60
Functiontokenize_and_postprocess_data
input_data is the output from tokenizer.
VRAG-RL/verl/utils/torch_functional.py:258
Methodtp_size
(self)
VRAG-RL/verl/single_controller/base/megatron/worker_group.py:36
Functionulysses_flash_attn_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
VRAG-RL/verl/models/transformers/qwen2_vl.py:217
Functionunfold_batch_dim
Unfold the first n dims as new batch dim
VRAG-RL/verl/protocol.py:135
Functionunpad_dataproto
(data: 'DataProto', pad_size)
VRAG-RL/verl/protocol.py:67
Methodupdate
(self, current_kl, n_steps)
VRAG-RL/verl/trainer/ppo/core_algos.py:39
Methodupdate_actor
(self, data: DataProto)
VRAG-RL/verl/workers/megatron_workers.py:352
Methodupdate_critic
(self, data: DataProto)
VRAG-RL/verl/workers/megatron_workers.py:640
Methodupdate_critic
Update the critic
VRAG-RL/verl/workers/critic/base.py:38
Methodupdate_critic
(self, dataloader: Iterable[DataProto])
VRAG-RL/verl/workers/critic/megatron_critic.py:207
Methodupdate_critic
(self, data: DataProto)
VRAG-RL/verl/workers/critic/dp_critic.py:166
Functionupdate_dict_with_config
(dictionary: Dict, config: DictConfig)
VRAG-RL/verl/utils/config.py:20
Functionupdate_kwargs_with_config
(dictionary: Dict, config: ModelParallelConfig)
VRAG-RL/verl/utils/megatron/tensor_parallel.py:27
Methodupdate_policy
Update the policy with an iterator of DataProto Args: dataloader (Iterable[DataProto]): an iterator over the DataProto that retur
VRAG-RL/verl/workers/actor/megatron_actor.py:358
Methodupdate_policy
(self, data: DataProto)
VRAG-RL/verl/workers/actor/dp_actor.py:229
Methodupdate_this_rank_models
(self, new_models)
VRAG-RL/verl/workers/sharding_manager/megatron_vllm.py:202
Methodvalidate_input
(keys)
VRAG-RL/verl/protocol.py:524
Functionverify
(self, data)
VRAG-RL/verl/workers/reward_manager/rm.py:174
Methodverify
(self, data)
VRAG-RL/verl/workers/reward_manager/naive.py:29
Functionvocab_parallel_log_probs_from_logits_response_rmpad
Similar to log_probs_from_logits_response_rmpad, but the logits_rmpad is now spliited across tensor parallel region. This will further reduce the
VRAG-RL/verl/utils/megatron/tensor_parallel.py:146
Methodvocab_size
`int`: Size of the base vocabulary (without the added tokens).
VRAG-RL/verl/workers/rollout/tokenizer.py:28
Functionwait
()
VRAG-RL/verl/utils/ulysses.py:146
Methodwait_for_hdfs
(self)
VRAG-RL/verl/utils/debug/trajectory_tracker.py:63
Methodweight_buffers
(self)
VRAG-RL/verl/utils/memory_buffer.py:212
Methodworker_names
(self)
VRAG-RL/verl/single_controller/ray/base.py:301
Methodworkers
(self)
VRAG-RL/verl/single_controller/ray/base.py:382
Methodworld_size
(self)
VRAG-RL/verl/single_controller/ray/base.py:386
Methodworld_size
(self)
VRAG-RL/verl/single_controller/base/worker_group.py:40
Methodworld_size
(self)
VRAG-RL/verl/single_controller/base/worker_group.py:132
Methodworld_size
(self)
VRAG-RL/verl/single_controller/base/worker.py:202
Functionwrapper
(*args, **kwargs)
VRAG-RL/verl/utils/reward_score/prime_math/__init__.py:47
Methodzero
Reset the buffer to zero.
VRAG-RL/verl/utils/memory_buffer.py:39
Methodzero
Reset the buffer to zero.
VRAG-RL/verl/utils/megatron/memory.py:29
← previous1,001–1,037 of 1,037, ranked by callers