MCPcopy Create free account

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

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

↓ 1 callersFunction_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
verl/models/llama/megatron/modeling_llama_megatron.py:60
↓ 1 callersMethod_expand_to_token_level
(self, data: DataProto, scores: torch.Tensor)
verl/workers/fsdp_workers.py:1794
↓ 1 callersMethod_extract_context_from_pdf_info
Extract surrounding text context for each image from pdf_info.json. Args: pdf_info_path: Path to pdf_info.json file c
sdgsystem/tasks/image/local.py:108
↓ 1 callersMethod_extract_device_mesh_info
Retrieves sharding information (device_mesh, mesh_dim_names) from a DTensor in the state_dict. If no DTensor is found, infers a simpl
verl/model_merger/fsdp_model_merger.py:96
↓ 1 callersMethod_extract_images_from_pdfs
Extract images from PDFs using MinerU parser with context. Args: reporter: Optional progress reporter Returns:
sdgsystem/tasks/image/local.py:243
↓ 1 callersFunction_fetch_tp_shard_tensor_gate_up
fetch gate_up tensor in tp shards
verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:142
↓ 1 callersFunction_fetch_tp_shard_tensor_gate_up
fetch gate_up tensor in tp shards
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:144
↓ 1 callersFunction_fetch_tp_shard_tensor_qkv
fetch tensor in tp shards across mp_group
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:170
↓ 1 callersFunction_fetch_tp_shard_tensor_vocab
fetch tensor in tp shards
verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:110
↓ 1 callersFunction_fetch_tp_shard_tensor_vocab
fetch tensor in tp shards
verl/models/llama/megatron/checkpoint_utils/llama_loader.py:112
↓ 1 callersMethod_find_image_path
Find the correct path for an image filename in a HuggingFace repo. Args: image_data: The image filename/path from the da
sdgsystem/tasks/image/web.py:218
↓ 1 callersFunction_find_latest_checkpoint
Find the latest checkpoint folder for model merging. verl checkpoint structures: SFT: ./checkpoints/global_step_X/ ├──
sdgsystem/app/api/train.py:338
↓ 1 callersMethod_find_latest_checkpoint
Find the latest checkpoint in the default local directory
verl/utils/checkpoint/checkpoint_handler.py:211
↓ 1 callersMethod_find_latest_checkpoint
Find the latest checkpoint in the default local directory
verl/trainer/fsdp_sft_trainer.py:691
↓ 1 callersFunction_fix_a_slash_b
(string)
verl/utils/reward_score/prime_math/math_normalize.py:90
↓ 1 callersFunction_fix_fracs
(string)
verl/utils/reward_score/prime_math/math_normalize.py:58
↓ 1 callersFunction_fix_sqrt
(string)
verl/utils/reward_score/prime_math/math_normalize.py:115
↓ 1 callersFunction_flatten_dict
(raw: dict[str, Any], *, sep: str)
verl/utils/tracking.py:330
↓ 1 callersMethod_force_split
Character-level split with overlap (last resort).
sdgsystem/documents/chunk.py:162
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:317
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:629
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/models/llama/megatron/modeling_llama_megatron.py:316
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/models/llama/megatron/modeling_llama_megatron.py:583
↓ 1 callersMethod_forward_micro_batch
(self, micro_batch)
verl/workers/fsdp_workers.py:1731
↓ 1 callersFunction_fused_linear_for_ppo_bwd
( dlog_probs: Optional[torch.FloatTensor], dentropy: Optional[torch.FloatTensor], hidden_states: t
verl/utils/experimental/torch_functional.py:40
↓ 1 callersFunction_fused_linear_for_ppo_fwd
( hidden_states: torch.FloatTensor, vocab_weights: torch.FloatTensor, input_ids: torch.LongTensor,
verl/utils/experimental/torch_functional.py:20
↓ 1 callersMethod_generate_batch
(self, batch_start_end: Tuple[int, int], task_definition: str, input_instruction: str,
sdgsystem/generation/generator.py:201
↓ 1 callersMethod_generate_batch
Generate QA samples for a batch of images.
sdgsystem/generation/generator.py:498
↓ 1 callersMethod_generate_minibatch
(self, prompts: DataProto)
verl/workers/rollout/hf_rollout.py:54
↓ 1 callersMethod_generate_pattern
Generate a pattern summary from demonstration examples. Args: task_instruction: The task description input_i
sdgsystem/generation/generator.py:237
↓ 1 callersMethod_generate_single_batch
Generate a single batch of samples. Args: batch_config: Dict containing batch configuration: - batch_idx
sdgsystem/distillation/sdg_distill.py:218
↓ 1 callersMethod_get_batch_seqlens
(self, data)
verl/trainer/sft_trainer_ray.py:200
↓ 1 callersMethod_get_batch_seqlens
(self, data)
verl/trainer/sft_trainer.py:212
↓ 1 callersMethod_get_free_port
()
verl/single_controller/base/worker.py:59
↓ 1 callersMethod_get_generation_step_count
Get total step count for generation phase based on task type. Local task steps: 1. loading - Loading Documents 2. parsing - P
sdgsystem/app/services/sdg_service.py:146
↓ 1 callersFunction_get_input_embeds
( model: "Glm4vForConditionalGeneration", input_ids: torch.LongTensor, attention_mask: Optional[to
verl/models/transformers/glm4v.py:335
↓ 1 callersFunction_get_input_embeds
( model: "Qwen3VLForConditionalGeneration", input_ids: torch.LongTensor, attention_mask: Optional[
verl/models/transformers/qwen3_vl.py:137
↓ 1 callersMethod_get_logger
(self)
verl/utils/tracking.py:191
↓ 1 callersFunction_get_mla_transformer_config
Create a MLATransformerConfig with common parameters across different model architectures. This is specifically for MLA models like DeepseekV
verl/models/mcore/config_converter.py:99
↓ 1 callersMethod_get_node_ip
()
verl/single_controller/base/worker.py:52
↓ 1 callersFunction_get_parallel_model_architecture_from_config
(config: PretrainedConfig, value=False)
verl/utils/model.py:389
↓ 1 callersMethod_get_passages
Get passages (from cache or load fresh). Returns: List of passage texts
sdgsystem/documents/retrieve.py:103
↓ 1 callersMethod_get_prompt_diffs
Get differences between full prompt and current prompt with surrounding context. This function helps debug tokenization mismatches by showing
verl/workers/rollout/schemas.py:484
↓ 1 callersFunction_get_qualified_name
Get full qualified name including module and class (if any).
verl/utils/import_utils.py:142
↓ 1 callersMethod_get_responses
get response from model Args: prompt: str, the prompt kwargs: Arguments for LLM inference - tempe
sdgsystem/models/models.py:31
↓ 1 callersMethod_get_responses_with_images
Get response from VLM model with image inputs. Args: prompts: Single prompt string or list of prompts images
sdgsystem/models/models.py:52
↓ 1 callersMethod_get_role_string
(self)
verl/trainer/ppo/utils.py:43
↓ 1 callersMethod_get_type_info
Recursively get type information for nested structures
verl/protocol.py:1166
↓ 1 callersFunction_get_unique_tensor_key
(tensor)
verl/utils/activation_offload.py:35
↓ 1 callersMethod_get_world_size
_summary_ From FSDP json config file, extract the world size. Returns: int: world size
verl/model_merger/fsdp_model_merger.py:68
↓ 1 callersMethod_handle_generating_state
Handle the generating state: generate model response and check for tool calls.
verl/experimental/agent_loop/tool_agent_loop.py:215
↓ 1 callersMethod_handle_interacting_state
Handle the interacting state: get user input from interaction.
verl/experimental/agent_loop/tool_agent_loop.py:385
↓ 1 callersMethod_handle_pending_state
Handle the pending state: prepare the prompt and start generation.
verl/experimental/agent_loop/tool_agent_loop.py:187
↓ 1 callersMethod_handle_processing_tools_state
Handle the processing tools state: execute tool calls and prepare tool responses.
verl/experimental/agent_loop/tool_agent_loop.py:266
↓ 1 callersMethod_init_agent_loop_workers
(self)
verl/experimental/agent_loop/agent_loop.py:797
↓ 1 callersMethod_init_checkpoint_manager
Initialize checkpoint manager with proper configuration
verl/trainer/fsdp_sft_trainer.py:580
↓ 1 callersMethod_init_device_mesh
(self)
verl/workers/engine/megatron/transformer_impl.py:96
↓ 1 callersMethod_init_device_mesh
(self)
verl/workers/engine/fsdp/transformer_impl.py:179
↓ 1 callersMethod_init_engine
(self)
verl/trainer/sft_trainer.py:119
↓ 1 callersMethod_init_head
(self, config: Qwen2Config)
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:303
↓ 1 callersMethod_init_head
(self, config)
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:568
↓ 1 callersMethod_init_head
(self, config)
verl/models/llama/megatron/modeling_llama_megatron.py:302
↓ 1 callersMethod_init_head
(self, config)
verl/models/llama/megatron/modeling_llama_megatron.py:569
↓ 1 callersMethod_init_metrics
Initialize enabled metrics.
sdgsystem/deepeval/evaluator.py:60
↓ 1 callersMethod_init_rate_limit
Initialize singleton rate limiter.
verl/tools/image_zoom_in_tool.py:78
↓ 1 callersMethod_init_rate_limit
(self, rate_limit)
verl/tools/sandbox_fusion_tools.py:68
↓ 1 callersMethod_init_rate_limit
Initialize singleton rate limiter.
verl/tools/search_tool.py:80
↓ 1 callersMethod_init_reward_fn
(self)
verl/experimental/reward/reward_manager.py:65
↓ 1 callersMethod_init_reward_loop_workers
(self)
verl/experimental/reward/reward_manager.py:188
↓ 1 callersMethod_init_rope
(self)
verl/models/qwen2/megatron/layers/parallel_attention.py:224
↓ 1 callersMethod_init_rope
(self)
verl/models/llama/megatron/layers/parallel_attention.py:250
↓ 1 callersMethod_init_with_detached_workers
(self, worker_names, worker_handles)
verl/single_controller/ray/base.py:423
↓ 1 callersMethod_init_with_resource_pool
Initialize the worker group by creating new workers from a resource pool. Args: resource_pool: Resource pool for worker allocatio
verl/single_controller/ray/base.py:450
↓ 1 callersMethod_init_with_subresource_pool
Initialize the worker group by creating new workers from a resource pool or sub resource pool. Args: resource_pool: Resource pool
verl/single_controller/ray/base.py:489
↓ 1 callersMethod_init_worker
Initialize worker engine.
verl/workers/rollout/vllm_rollout/vllm_rollout.py:177
↓ 1 callersMethod_init_zeromq
(self)
verl/workers/rollout/vllm_rollout/vllm_rollout.py:136
↓ 1 callersMethod_initialize_interactions
Initialize interactions from configuration. Returns: dict[str, BaseInteraction]: A dictionary mapping interaction names to interac
verl/experimental/agent_loop/tool_agent_loop.py:485
↓ 1 callersMethod_initialize_llm_servers
(self)
verl/experimental/agent_loop/agent_loop.py:758
↓ 1 callersMethod_initialize_llm_servers
(self)
verl/experimental/reward/reward_model.py:50
↓ 1 callersMethod_initialize_router
(self)
verl/experimental/reward/reward_model.py:91
↓ 1 callersFunction_inject_demo_examples_path
Inject demo_examples_path into config.
sdgsystem/app/api/sdg.py:74
↓ 1 callersFunction_inject_document_dir
Inject document_dir into config for text.local or image.local task.
sdgsystem/app/api/sdg.py:41
↓ 1 callersFunction_inject_image_dir
Inject image_dir into config for image.local task.
sdgsystem/app/api/sdg.py:61
↓ 1 callersFunction_inject_implicit_mixed_number
Automatically make a mixed number evalable e.g. 7 3/4 => 7+3/4
verl/utils/reward_score/prime_math/__init__.py:105
↓ 1 callersFunction_inner_call_method
(_method)
verl/utils/reward_score/prime_code/testing_util.py:592
↓ 1 callersFunction_is_float
(num: str)
verl/utils/reward_score/prime_math/__init__.py:71
↓ 1 callersFunction_is_int
(x: float)
verl/utils/reward_score/prime_math/__init__.py:79
↓ 1 callersMethod_is_worker_alive
Check if a worker is alive. Must be implemented by derived classes.
verl/single_controller/base/worker_group.py:153
↓ 1 callersFunction_last_boxed_only_string
(string)
verl/utils/reward_score/prime_math/__init__.py:317
↓ 1 callersMethod_load_and_merge_state_dicts
( self, world_size: int, total_shards: int, mesh_shape: tuple[int, ...], mesh_dim_names: tuple[str, ..
verl/model_merger/fsdp_model_merger.py:143
↓ 1 callersMethod_load_checkpoint
(self)
verl/trainer/ppo/ray_trainer.py:871
↓ 1 callersMethod_load_config
(self, file: str)
verl/tools/utils/mcp_clients/McpClientManager.py:85
↓ 1 callersMethod_load_dataloader_state
Load dataloader state from checkpoint
verl/utils/checkpoint/checkpoint_handler.py:160
↓ 1 callersMethod_load_dataloader_state
Load dataloader state from checkpoint
verl/trainer/fsdp_sft_trainer.py:641
↓ 1 callersMethod_load_image
Load image data into PIL Image based on detected type. Args: image_data: The image data from the dataset dat
sdgsystem/tasks/image/web.py:259
↓ 1 callersMethod_load_images_from_dir
Load image paths from a directory. Args: image_dir: Path to directory containing images Returns: List of abs
sdgsystem/tasks/image/local.py:32
↓ 1 callersMethod_load_model
(self, *args, **kwargs)
verl/workers/rollout/vllm_rollout/vllm_rollout.py:202
↓ 1 callersMethod_load_model
Load translation model on first use (lazy loading).
sdgsystem/translation/translator.py:88
↓ 1 callersMethod_load_passages_from_jsonl
Load all passages from JSONL files in passages directory. Args: passages_dir: Directory path containing JSONL files
sdgsystem/documents/retrieve.py:58
↓ 1 callersMethod_load_rank_zero_state_dict
(self, world_size: int)
verl/model_merger/fsdp_model_merger.py:89
← previousnext →801–900 of 2,774, ranked by callers