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
Method
run_all
()
verl/experimental/reward/reward_manager.py:244
Method
run_all
()
verl/experimental/reward/reward_model.py:113
Method
run_generation
Run the generation phase with progress reporting.
sdgsystem/app/services/sdg_service.py:22
Method
run_job
Run training job in background thread.
sdgsystem/app/core/job_manager.py:103
Method
run_refinement
Run the refinement phase with progress reporting.
sdgsystem/app/services/sdg_service.py:57
Function
run_router
(router_ip: str, router_port: int, worker_urls: list[str])
verl/experimental/reward/router/naive_router.py:77
Method
run_single
(self, data: DataProto)
verl/experimental/reward/reward_loop/dapo.py:47
Method
run_single
(self, data: DataProto)
verl/experimental/reward/reward_loop/naive.py:34
Function
run_training_from_config
Run training from a configuration dictionary. Args: config_dict: Configuration dictionary (nested verl-style format) verl_pa
sdgsystem/trainer/launcher.py:260
Method
sample_level_repeat
Repeat each row of the batch data a specified number of times. Args: repeat_times (torch.tensor, list, tuple, ndarray):
verl/protocol.py:1065
Method
sample_tokens
( self, grammar_output: "GrammarOutput | None", non_block: bool = False )
verl/workers/rollout/vllm_rollout/vllm_async_server.py:120
Method
sanitize_key
(key)
verl/utils/tracking.py:286
Method
save_checkpoint
Save an FSDP checkpoint for this rank. Writes: - model & optimizer shard files - extra state dict (scheduler + R
verl/utils/checkpoint/fsdp_checkpoint_manager.py:180
Method
save_checkpoint
( self, local_path: str, hdfs_path: str = None, global_step: int = 0, max_ckpt_to_keep: int = None
verl/utils/checkpoint/checkpoint_manager.py:124
Method
save_checkpoint
Save checkpoint using FSDPCheckpointManager with improved tracking
verl/utils/checkpoint/checkpoint_handler.py:87
Method
save_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, max_ckpt_to_keep=None)
verl/utils/checkpoint/megatron_checkpoint_manager.py:411
Method
save_checkpoint
(self, checkpoint_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl/workers/megatron_workers.py:906
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl/workers/fsdp_workers.py:1037
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl/workers/engine_workers.py:259
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl/workers/engine_workers.py:598
Method
save_checkpoint
Save model, optimizer, and scheduler states to a checkpoint. Args: local_path: Local filesystem path to save checkpoint.
verl/workers/engine/base.py:175
Method
save_checkpoint
Save model, optimizer, and scheduler states to a checkpoint. Args: local_path: Local filesystem path to save checkpoint.
verl/workers/engine/megatron/transformer_impl.py:446
Method
save_checkpoint
Save FSDP checkpoint, handling parameter offload as needed.
verl/workers/engine/fsdp/transformer_impl.py:593
Function
save_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
verl/utils/debug/trajectory_tracker.py:34
Method
search_datasets
Search for datasets on Hugging Face Hub by query keyword. Results are filtered to JSON datasets and sorted by downloads (descending).
sdgsystem/huggingface/crawl.py:19
Method
series_to_item
(ls)
verl/utils/dataset/sft_dataset.py:81
Method
series_to_item
(ls)
verl/utils/dataset/multiturn_sft_dataset.py:118
Method
server_address
Get rollout server address for OpenAI chat completion.
verl/workers/rollout/replica.py:200
Method
server_handle
Get rollout server handle for Token-in-token-out generation.
verl/workers/rollout/replica.py:205
Function
setMode
(newMode: ThemeMode)
sdgsystem/webui/src/contexts/theme-context.tsx:39
Method
set_additional_resource
Set additional resource requirements for the actor. Args: additional_resource: Dictionary specifying additional resource requirem
verl/single_controller/ray/base.py:266
Function
set_backward_method
Set the backward method.
verl/utils/kernel/kernels.py:145
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:557
Method
set_input_tensor
Sets input tensor to the model. Args: input_tensor (Tensor): Sets the input tensor for the model.
verl/models/mcore/qwen2_5_vl/vision_model.py:151
Method
set_input_tensor
(self, input_tensor)
verl/models/mcore/qwen2_5_vl/model.py:161
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl/models/llama/megatron/modeling_llama_megatron.py:558
Method
set_loss_fn
(self, loss_fn)
verl/workers/engine_workers.py:115
Method
set_loss_fn
(self, loss_fn)
verl/workers/engine_workers.py:452
Method
set_output
Set job output.
sdgsystem/app/core/progress.py:193
Method
set_replay_data
Distributes the topk indices for all layers to their respective RouterReplay instances. :param all_layers_topk_indices: A list of ten
verl/utils/megatron/router_replay_patch.py:51
Method
set_sequential
(self)
sdgsystem/models/usage_counter.py:72
Method
set_service
Store the training service.
sdgsystem/app/core/job_manager.py:83
Function
sft_loss
(config: ActorConfig, model_output, data: TensorDict, dp_group=None)
verl/workers/utils/losses.py:27
Function
shard_placement_fn
(param)
verl/utils/fsdp_utils.py:543
Method
should_load_extra
Returns True if 'extra' is in checkpoint_load_contents, indicating the extra state should be loaded.
verl/utils/checkpoint/checkpoint_manager.py:115
Method
should_load_model
Returns True if 'model' is in checkpoint_load_contents, indicating the model state should be loaded.
verl/utils/checkpoint/checkpoint_manager.py:101
Method
should_load_optimizer
Returns True if 'optimizer' is in checkpoint_load_contents, indicating the optimizer state should be loaded.
verl/utils/checkpoint/checkpoint_manager.py:108
Method
should_save_extra
Returns True if 'extra' is in checkpoint_save_contents, indicating the extra state should be saved.
verl/utils/checkpoint/checkpoint_manager.py:86
Method
should_save_hf_model
Returns True if 'hf_model' is in checkpoint_save_contents, indicating the model should be converted to hf model and saved.
verl/utils/checkpoint/checkpoint_manager.py:93
Method
should_save_model
Returns True if 'model' is in checkpoint_save_contents, indicating the model state should be saved.
verl/utils/checkpoint/checkpoint_manager.py:72
Method
should_save_optimizer
Returns True if 'optimizer' is in checkpoint_save_contents, indicating the optimizer state should be saved.
verl/utils/checkpoint/checkpoint_manager.py:79
Method
shutdown
Shutdown the HTTP server and clean up resources. This method performs the following cleanup operations: 1. Unregisters the worker fro
verl/workers/rollout/sglang_rollout/http_server_engine.py:392
Function
silu_forward_npu
NPU optimized implementation for SiLU in `forward` func in MLP layer.
verl/models/transformers/npu_patch.py:41
Method
sleep
(self)
verl/workers/megatron_workers.py:955
Method
sleep
(self)
verl/workers/fsdp_workers.py:1942
Method
sleep
Context switch from rollout mode to trainer mode.
verl/workers/engine_workers.py:603
Method
sleep
(self)
verl/workers/rollout/vllm_rollout/vllm_async_server.py:506
Function
split_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
verl/utils/torch_functional.py:326
Method
split_priority
(split_info)
sdgsystem/tasks/image/web.py:330
Method
spread
(self)
verl/utils/seqlen_balancing.py:85
Function
squeeze
(x)
verl/utils/model.py:58
Method
start
(self, **kwargs)
verl/utils/profiler/profile.py:224
Method
start
(self, **kwargs)
verl/utils/profiler/profile.py:264
Method
start
(self, **kwargs)
verl/utils/profiler/profile.py:313
Function
start_generation
Start generation phase and return SSE stream.
sdgsystem/app/api/sdg.py:183
Method
start_interaction
( self, instance_id: Optional[str] = None, ground_truth: Optional[str] = None, **kwargs )
verl/interactions/weather_interaction.py:39
Method
start_interaction
( self, instance_id: Optional[str] = None, ground_truth: Optional[str] = None, **kwargs )
verl/interactions/gsm8k_interaction.py:43
Method
start_profile
Start profiling for the current rank in the current training step.
verl/utils/profiler/profile.py:364
Method
start_profile
Start profiling for the current rank in the current training step.
verl/workers/megatron_workers.py:923
Function
start_refinement
Start refinement phase after generation completes.
sdgsystem/app/api/sdg.py:219
Function
start_training
Start training and return SSE stream. If job is pending, starts training and streams logs. If job is already running, reconnects and replays
sdgsystem/app/api/train.py:247
Method
start_worker_aliveness_check
Starts a background thread to monitor worker aliveness. Args: every_n_seconds (int): Interval between aliveness checks
verl/single_controller/base/worker_group.py:166
Function
state_dict
(self, *args, **kwargs)
verl/models/transformers/monkey_patch.py:285
Method
stop
(self)
verl/utils/profiler/profile.py:227
Method
stop
(self)
verl/utils/profiler/profile.py:267
Method
stop
(self)
verl/utils/profiler/profile.py:323
Method
stop_profile
Stop profiling for the current rank in the current training step.
verl/utils/profiler/profile.py:369
Method
stop_profile
Stop profiling for the current rank in the current training step.
verl/workers/megatron_workers.py:928
Method
supported_type
(precision: str | int)
verl/utils/torch_dtypes.py:41
Method
supported_types
()
verl/utils/torch_dtypes.py:45
Method
tensor_pop
Tensor pop.
verl/utils/activation_offload.py:210
Method
tensor_pop
Tensor pop.
verl/utils/activation_offload.py:285
Method
tensor_push
Tensor push.
verl/utils/activation_offload.py:195
Method
tensor_push
(self, tensor: torch.Tensor, **kwargs)
verl/utils/activation_offload.py:263
Function
tie_weights
(self: "AutoModelForCausalLMWithValueHead")
verl/utils/model.py:598
Method
to
Manual control of load/offload
verl/workers/engine_workers.py:456
Method
to_str
(precision)
verl/utils/torch_dtypes.py:72
Method
to_verl_args
Convert to verl main_ppo command arguments.
sdgsystem/trainer/config.py:221
Function
tokenize_and_postprocess_data
Tokenize text and process outputs to consistent tensor shapes. Args: prompt: Input text to tokenize tokenizer: HuggingFace tokeni
verl/utils/torch_functional.py:410
Function
train
Train a model using a YAML configuration file. \b Example: sdg train configs/sft_example.yaml sdg train configs/grpo_example.
sdgsystem/cli.py:175
Method
train_batch
(self, data: TensorDict)
verl/workers/engine_workers.py:588
Method
train_mode
Context manager entry for switching the engine and model into training mode. Usage: with engine.train_mode():
verl/workers/engine/megatron/transformer_impl.py:350
Method
train_mode
Return a context manager that switches to training mode with FSDP-specific handling. Includes parameter and optimizer offload entry/
verl/workers/engine/fsdp/transformer_impl.py:456
Method
translate_text
(self, text: str, source_lang: str = "English", target_lang: str = "Arabic")
sdgsystem/translation/translator.py:107
Function
ulysses_wrapped_decoder_forward
(self, *args, **kwargs)
verl/models/transformers/monkey_patch.py:127
Function
unfold_batch_dim
Unfold the first n dims as new batch dim
verl/protocol.py:233
Method
unfold_column_chunks
Split along the second dim into `n_split`, unfold it to the first dim (batch dim) Useful in passing grouped tensors that doesn't want to be sh
verl/protocol.py:1026
Method
union
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:792
Function
union_tensor_dict
Union two tensordicts.
verl/utils/tensordict_utils.py:266
Function
unpad
Unpad the data proto with pad_size. i.e. `data[:-pad_size]`
verl/utils/tensordict_utils.py:440
← previous
next →
2,601–2,700 of 2,774, ranked by callers