MCPcopy Create free account

hub / github.com/DataArcTech/DataArc-SynData-Toolkit / functions

Functions2,774 in github.com/DataArcTech/DataArc-SynData-Toolkit

Functionunpad_input
Arguments: hidden_states: (batch, seqlen, ...) attention_mask: (batch, seqlen), bool / int, 1 means valid and 0 means not valid.
verl/utils/npu_flash_attn_utils.py:99
Functionunpatch_fused_forward
(model: torch.nn.Module)
verl/models/mcore/model_forward_fused.py:59
Methodupdate
Update the KL coefficient based on current KL divergence. Args: current_kl (float): Current KL divergence value. n_st
verl/trainer/ppo/core_algos.py:161
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:312
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:413
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:472
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:511
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:532
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:577
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:621
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:660
Methodupdate
(self, config: Dict)
sdgsystem/configs/config.py:796
Methodupdate_actor
(self, data: DataProto)
verl/workers/megatron_workers.py:728
Methodupdate_critic
(self, data: DataProto)
verl/workers/megatron_workers.py:1228
Methodupdate_critic
(self, data: DataProto)
verl/workers/engine_workers.py:383
Methodupdate_critic
Update the critic
verl/workers/critic/base.py:38
Methodupdate_critic
(self, dataloader: Iterable[DataProto])
verl/workers/critic/megatron_critic.py:296
Methodupdate_critic
(self, data: DataProto)
verl/workers/critic/dp_critic.py:192
Functionupdate_dict_with_config
(dictionary: dict, config: DictConfig)
verl/utils/config.py:68
Functionupdate_dispatch_mode
Update the dispatch mode.
verl/single_controller/base/decorator.py:368
Functionupdate_kwargs_with_config
(dictionary: dict, config: "ModelParallelConfig")
verl/utils/megatron/tensor_parallel.py:30
Methodupdate_metrics
metrics: should be a dict of tools_name -> Any
verl/workers/rollout/schemas.py:476
Methodupdate_policy
Update the policy with an iterator of DataProto Args: dataloader (Iterable[DataProto]): an iterator over the DataProto that retur
verl/workers/actor/megatron_actor.py:729
Methodupdate_policy
(self, data: DataProto)
verl/workers/actor/dp_actor.py:398
Methodupdate_weights
Update model weights using tensor buckets, similar to THUDM/slime's implementation. Notes: - For the best performance of `
verl/workers/rollout/sglang_rollout/sglang_rollout.py:155
Methodupdate_weights
Update the weights of the rollout model. Args: weights: A generator that yields the name of the weight tensor and the tensor itse
verl/workers/rollout/vllm_rollout/vllm_rollout.py:228
Methodupdate_weights_from_tensor
Update model weights from tensor data. The HTTP server will only post meta data, and the real weights will be copied directly from GP
verl/workers/rollout/sglang_rollout/http_server_engine.py:350
Methodupdate_weights_from_tensor
Update model weights from tensor data asynchronously. Args: serialized_named_tensors (List[str]): List of serialized tensor data
verl/workers/rollout/sglang_rollout/http_server_engine.py:747
Functionupload_to_huggingface
Upload trained model to HuggingFace Hub. This endpoint: 1. Finds the latest checkpoint 2. Runs verl model merger to convert .pt files to
sdgsystem/app/api/train.py:392
FunctionuseSSE
( url: string, options?: SSEOptions, onMessageCallback?: (data: T) => void, )
sdgsystem/webui/src/hooks/use-sse.ts:19
FunctionuseTheme
()
sdgsystem/webui/src/contexts/theme-context.tsx:68
Methodvalidate
Validate FSDP actor configuration with runtime parameters.
verl/workers/config/actor.py:293
Methodvalidate
Validate Megatron critic configuration with runtime parameters.
verl/workers/config/critic.py:167
Methodvalidate
Validate FSDP critic configuration with runtime parameters.
verl/workers/config/critic.py:207
Methodvalidate_config
Validate GRPO configuration. Args: config: GRPO configuration to validate Returns: Tuple of (is_val
sdgsystem/trainer/methods/grpo.py:13
Methodvalidate_input
(keys)
verl/protocol.py:770
Functionvalidator
(_, value)
sdgsystem/webui/src/pages/training-page/components/training-config.tsx:1348
Functionvalue_loss
(config: CriticConfig, model_output, data: TensorDict, dp_group=None)
verl/workers/utils/losses.py:158
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
verl/utils/megatron/tensor_parallel.py:161
Methodvocab_size
`int`: Size of the base vocabulary (without the added tokens).
verl/workers/rollout/tokenizer.py:31
Methodvoting
Perform exact match voting - select answers that appear most frequently. Args: answers: List of extracted answers
sdgsystem/models/postprocess/majority_voting.py:260
Methodvoting
Perform embedding-based clustering voting using SentenceTransformer/BGE. Algorithm: 1. Encode all answers using BGE embeddin
sdgsystem/models/postprocess/majority_voting.py:283
Methodvoting
Use an LLM to judge which answer is most correct. Algorithm: 1. Present all candidate answers to LLM judge 2. Ask LL
sdgsystem/models/postprocess/majority_voting.py:399
Functionwait
()
verl/utils/ulysses.py:147
Methodwait_for_hdfs
(self)
verl/utils/debug/trajectory_tracker.py:63
Methodwait_for_requests_to_drain
(self)
verl/workers/rollout/vllm_rollout/vllm_async_server.py:522
Methodwake_up
(self)
verl/workers/megatron_workers.py:950
Methodwake_up
(self)
verl/workers/fsdp_workers.py:1937
Methodwake_up
Context switch trainer mode to rollout mode.
verl/workers/engine_workers.py:619
Methodwake_up
Wake up each rollout server.
verl/workers/rollout/replica.py:209
Methodwake_up
(self)
verl/workers/rollout/sglang_rollout/async_sglang_server.py:234
Functionwarp_fn
(batch, **kwargs)
verl/utils/rollout_skip.py:122
Methodweight_buffers
(self)
verl/utils/memory_buffer.py:213
Methodworker_names
(self)
verl/single_controller/ray/base.py:586
Methodworkers
(self)
verl/single_controller/ray/base.py:805
Methodworld_size
(self)
verl/single_controller/ray/base.py:161
Methodworld_size
(self)
verl/single_controller/ray/base.py:809
Methodworld_size
Total number of processes across all nodes in the pool.
verl/single_controller/base/worker_group.py:52
Methodworld_size
Number of workers in the group.
verl/single_controller/base/worker_group.py:181
Methodworld_size
Get the total number of workers in the distributed setup.
verl/single_controller/base/worker.py:317
Functionwrapped
(*args, **kwargs)
verl/utils/import_utils.py:172
Functionwrapped_init
(self, *args, **kwargs)
verl/utils/import_utils.py:159
Methodwrapped_method
(model_self, *args, **kwargs)
verl/utils/activation_offload.py:490
Functionwrapper
(self, *args, **kwargs)
verl/utils/rollout_trace.py:248
Methodwrapper
(*args, **kwargs_inner)
verl/utils/profiler/nvtx_profile.py:178
Methodwrapper
(self_instance, *args, **kwargs_inner)
verl/utils/profiler/profile.py:241
Methodwrapper
(*args, **kwargs_inner)
verl/utils/profiler/mstx_profile.py:232
Methodwrapper
()
sdgsystem/app/core/job_manager.py:47
Methodwrapper
()
sdgsystem/app/core/job_manager.py:105
Functionwrapper_mp
(*args, **kwargs)
verl/utils/py_functional.py:105
Functionwrapper_signal
(*args, **kwargs)
verl/utils/py_functional.py:83
Functionwrite_config_file
(config_data, config_path)
verl/experimental/agent_loop/prometheus_utils.py:54
Methodzero
Reset the buffer to zero.
verl/utils/memory_buffer.py:41
Methodzero
Reset the buffer to zero.
verl/utils/megatron/memory.py:27
← previous2,701–2,774 of 2,774, ranked by callers