Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataArcTech/DataArc-SynData-Toolkit
/ functions
Functions
2,774 in github.com/DataArcTech/DataArc-SynData-Toolkit
⨍
Functions
2,774
◇
Types & classes
564
↳
Endpoints
80
Function
unpad_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
Function
unpatch_fused_forward
(model: torch.nn.Module)
verl/models/mcore/model_forward_fused.py:59
Method
update
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
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:312
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:413
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:472
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:511
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:532
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:577
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:621
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:660
Method
update
(self, config: Dict)
sdgsystem/configs/config.py:796
Method
update_actor
(self, data: DataProto)
verl/workers/megatron_workers.py:728
Method
update_critic
(self, data: DataProto)
verl/workers/megatron_workers.py:1228
Method
update_critic
(self, data: DataProto)
verl/workers/engine_workers.py:383
Method
update_critic
Update the critic
verl/workers/critic/base.py:38
Method
update_critic
(self, dataloader: Iterable[DataProto])
verl/workers/critic/megatron_critic.py:296
Method
update_critic
(self, data: DataProto)
verl/workers/critic/dp_critic.py:192
Function
update_dict_with_config
(dictionary: dict, config: DictConfig)
verl/utils/config.py:68
Function
update_dispatch_mode
Update the dispatch mode.
verl/single_controller/base/decorator.py:368
Function
update_kwargs_with_config
(dictionary: dict, config: "ModelParallelConfig")
verl/utils/megatron/tensor_parallel.py:30
Method
update_metrics
metrics: should be a dict of tools_name -> Any
verl/workers/rollout/schemas.py:476
Method
update_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
Method
update_policy
(self, data: DataProto)
verl/workers/actor/dp_actor.py:398
Method
update_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
Method
update_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
Method
update_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
Method
update_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
Function
upload_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
Function
useSSE
( url: string, options?: SSEOptions, onMessageCallback?: (data: T) => void, )
sdgsystem/webui/src/hooks/use-sse.ts:19
Function
useTheme
()
sdgsystem/webui/src/contexts/theme-context.tsx:68
Method
validate
Validate FSDP actor configuration with runtime parameters.
verl/workers/config/actor.py:293
Method
validate
Validate Megatron critic configuration with runtime parameters.
verl/workers/config/critic.py:167
Method
validate
Validate FSDP critic configuration with runtime parameters.
verl/workers/config/critic.py:207
Method
validate_config
Validate GRPO configuration. Args: config: GRPO configuration to validate Returns: Tuple of (is_val
sdgsystem/trainer/methods/grpo.py:13
Method
validate_input
(keys)
verl/protocol.py:770
Function
validator
(_, value)
sdgsystem/webui/src/pages/training-page/components/training-config.tsx:1348
Function
value_loss
(config: CriticConfig, model_output, data: TensorDict, dp_group=None)
verl/workers/utils/losses.py:158
Function
vocab_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
Method
vocab_size
`int`: Size of the base vocabulary (without the added tokens).
verl/workers/rollout/tokenizer.py:31
Method
voting
Perform exact match voting - select answers that appear most frequently. Args: answers: List of extracted answers
sdgsystem/models/postprocess/majority_voting.py:260
Method
voting
Perform embedding-based clustering voting using SentenceTransformer/BGE. Algorithm: 1. Encode all answers using BGE embeddin
sdgsystem/models/postprocess/majority_voting.py:283
Method
voting
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
Function
wait
()
verl/utils/ulysses.py:147
Method
wait_for_hdfs
(self)
verl/utils/debug/trajectory_tracker.py:63
Method
wait_for_requests_to_drain
(self)
verl/workers/rollout/vllm_rollout/vllm_async_server.py:522
Method
wake_up
(self)
verl/workers/megatron_workers.py:950
Method
wake_up
(self)
verl/workers/fsdp_workers.py:1937
Method
wake_up
Context switch trainer mode to rollout mode.
verl/workers/engine_workers.py:619
Method
wake_up
Wake up each rollout server.
verl/workers/rollout/replica.py:209
Method
wake_up
(self)
verl/workers/rollout/sglang_rollout/async_sglang_server.py:234
Function
warp_fn
(batch, **kwargs)
verl/utils/rollout_skip.py:122
Method
weight_buffers
(self)
verl/utils/memory_buffer.py:213
Method
worker_names
(self)
verl/single_controller/ray/base.py:586
Method
workers
(self)
verl/single_controller/ray/base.py:805
Method
world_size
(self)
verl/single_controller/ray/base.py:161
Method
world_size
(self)
verl/single_controller/ray/base.py:809
Method
world_size
Total number of processes across all nodes in the pool.
verl/single_controller/base/worker_group.py:52
Method
world_size
Number of workers in the group.
verl/single_controller/base/worker_group.py:181
Method
world_size
Get the total number of workers in the distributed setup.
verl/single_controller/base/worker.py:317
Function
wrapped
(*args, **kwargs)
verl/utils/import_utils.py:172
Function
wrapped_init
(self, *args, **kwargs)
verl/utils/import_utils.py:159
Method
wrapped_method
(model_self, *args, **kwargs)
verl/utils/activation_offload.py:490
Function
wrapper
(self, *args, **kwargs)
verl/utils/rollout_trace.py:248
Method
wrapper
(*args, **kwargs_inner)
verl/utils/profiler/nvtx_profile.py:178
Method
wrapper
(self_instance, *args, **kwargs_inner)
verl/utils/profiler/profile.py:241
Method
wrapper
(*args, **kwargs_inner)
verl/utils/profiler/mstx_profile.py:232
Method
wrapper
()
sdgsystem/app/core/job_manager.py:47
Method
wrapper
()
sdgsystem/app/core/job_manager.py:105
Function
wrapper_mp
(*args, **kwargs)
verl/utils/py_functional.py:105
Function
wrapper_signal
(*args, **kwargs)
verl/utils/py_functional.py:83
Function
write_config_file
(config_data, config_path)
verl/experimental/agent_loop/prometheus_utils.py:54
Method
zero
Reset the buffer to zero.
verl/utils/memory_buffer.py:41
Method
zero
Reset the buffer to zero.
verl/utils/megatron/memory.py:27
← previous
2,701–2,774 of 2,774, ranked by callers