MCPcopy Create free account

hub / github.com/Xuekai-Zhu/FlowRL / functions

Functions4,141 in github.com/Xuekai-Zhu/FlowRL

↓ 1 callersFunctionformat_intervals
(prediction)
verl_FlowRL/verl/utils/reward_score/prime_math/grader.py:319
↓ 1 callersFunctionformat_reward
(predict_str: str)
verl_Test/verl/utils/reward_score/geo3k.py:20
↓ 1 callersFunctionformat_reward
(predict_str: str)
verl_FlowRL/verl/utils/reward_score/geo3k.py:20
↓ 1 callersMethodforward
Run firecrawl job asynchronously. Args: url (str): The URL to scrape. Returns:
verl_Test/rllm/tools/web_tools/firecrawl_tool.py:87
↓ 1 callersMethodforward
(self, module, forward_method, *args, **kwargs)
verl_Test/verl/utils/activation_offload.py:463
↓ 1 callersMethodforward
(self, *inputs, **kwargs)
verl_Test/verl/workers/sharding_manager/megatron_vllm.py:164
↓ 1 callersMethodforward
Run firecrawl job asynchronously. Args: url (str): The URL to scrape. Returns:
verl_FlowRL/rllm/tools/web_tools/firecrawl_tool.py:87
↓ 1 callersMethodforward
(self, module, forward_method, *args, **kwargs)
verl_FlowRL/verl/utils/activation_offload.py:463
↓ 1 callersMethodforward
(self, *inputs, **kwargs)
verl_FlowRL/verl/workers/sharding_manager/megatron_vllm.py:164
↓ 1 callersMethodforward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
verl_Test/verl/workers/reward_model/megatron/reward_model.py:203
↓ 1 callersMethodforward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
verl_FlowRL/verl/workers/reward_model/megatron/reward_model.py:203
↓ 1 callersMethodfrom_detached
Create a worker group from existing detached workers. Args: name_prefix: Prefix for worker names worker_names: Names
verl_Test/verl/single_controller/ray/base.py:399
↓ 1 callersMethodfrom_openai_function_parsed_schema
(parsed_schema: OpenAIFunctionParsedSchema)
verl_Test/verl/tools/schemas.py:67
↓ 1 callersMethodfrom_openai_function_parsed_schema
(parsed_schema: OpenAIFunctionParsedSchema)
verl_FlowRL/verl/tools/schemas.py:67
↓ 1 callersMethodfrom_str
(cls, value: str)
verl_Test/verl/workers/rollout/schemas.py:35
↓ 1 callersMethodfrom_str
(cls, value: str)
verl_FlowRL/verl/workers/rollout/schemas.py:35
↓ 1 callersFunctionfunc_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
verl_Test/verl/single_controller/ray/base.py:44
↓ 1 callersFunctionfunc_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
verl_FlowRL/verl/single_controller/ray/base.py:44
↓ 1 callersFunctionfunction_to_dict
Converts a function into a dictionary representation suitable for JSON Schema. Parameters: func (function): The function to convert.
verl_Test/rllm/tools/utils.py:141
↓ 1 callersFunctionfunction_to_dict
Converts a function into a dictionary representation suitable for JSON Schema. Parameters: func (function): The function to convert.
verl_FlowRL/rllm/tools/utils.py:141
↓ 1 callersMethodfuse
Fuse multiple worker groups into the current worker group. Args: prefix_set: Set of prefixes to fuse into the worker group
verl_FlowRL/verl/single_controller/ray/base.py:470
↓ 1 callersFunctiongather_from_labels
Gather the label from data. The value in label should be [0, vocab_size) Args: data: (..., vocab_size) label (torch.IntTensor) :
verl_Test/verl/utils/torch_functional.py:39
↓ 1 callersFunctiongather_from_labels
Gather the label from data. The value in label should be [0, vocab_size) Args: data: (..., vocab_size) label (torch.IntTensor) :
verl_FlowRL/verl/utils/torch_functional.py:39
↓ 1 callersFunctiongenerate_function
(name, key=key)
verl_Test/verl/single_controller/ray/base.py:634
↓ 1 callersFunctiongenerate_function
(name, key=key)
verl_FlowRL/verl/single_controller/ray/base.py:634
↓ 1 callersFunctiongenerate_ground_truth_response
Generate ground truth response given a prompt.
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:115
↓ 1 callersFunctiongenerate_rl_dataset
(target_hdfs_path_dir, local_dir="~/data/full_hh_rlhf/rl")
verl_Test/examples/data_preprocess/full_hh_rlhf.py:86
↓ 1 callersFunctiongenerate_rl_dataset
(target_hdfs_path_dir, local_dir="~/data/full_hh_rlhf/rl")
verl_FlowRL/examples/data_preprocess/full_hh_rlhf.py:86
↓ 1 callersFunctiongenerate_rm_dataset
(target_hdfs_path_dir, local_dir="~/data/full_hh_rlh/rm")
verl_Test/examples/data_preprocess/full_hh_rlhf.py:58
↓ 1 callersFunctiongenerate_rm_dataset
(target_hdfs_path_dir, local_dir="~/data/full_hh_rlh/rm")
verl_FlowRL/examples/data_preprocess/full_hh_rlhf.py:58
↓ 1 callersMethodgenerate_sequences
(self, prompts: DataProto)
verl_FlowRL/verl/workers/rollout/hf_rollout.py:45
↓ 1 callersMethodgenerate_sequences
(self, prompts: DataProto, **kwargs)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:418
↓ 1 callersFunctiongenerate_sft_dataset
(target_hdfs_path_dir, local_dir="~/data/full_hh_rlh/sft")
verl_Test/examples/data_preprocess/full_hh_rlhf.py:30
↓ 1 callersFunctiongenerate_sft_dataset
(target_hdfs_path_dir, local_dir="~/data/full_hh_rlh/sft")
verl_FlowRL/examples/data_preprocess/full_hh_rlhf.py:30
↓ 1 callersFunctionget_activation_offload_context
(num_layers: int = 1, model_layers: int = 1, tensor_need_offloading_checker=(lambda t: True))
verl_Test/verl/utils/activation_offload.py:394
↓ 1 callersFunctionget_activation_offload_context
(num_layers: int = 1, model_layers: int = 1, tensor_need_offloading_checker=(lambda t: True))
verl_FlowRL/verl/utils/activation_offload.py:394
↓ 1 callersMethodget_all_prompts
(self)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:79
↓ 1 callersFunctionget_aux_metrics
(self, test_proto)
verl_FlowRL/tests/ray_gpu/test_driverfunc_to_worker.py:41
↓ 1 callersMethodget_availale_master_addr_port
(self)
verl_Test/verl/single_controller/base/worker.py:68
↓ 1 callersMethodget_availale_master_addr_port
(self)
verl_FlowRL/verl/single_controller/base/worker.py:68
↓ 1 callersFunctionget_checkpoint_tracker_filename
Tracker file rescords the latest chckpoint during training to restart from.
verl_Test/verl/utils/checkpoint/checkpoint_manager.py:167
↓ 1 callersFunctionget_checkpoint_tracker_filename
Tracker file rescords the latest chckpoint during training to restart from.
verl_FlowRL/verl/utils/checkpoint/checkpoint_manager.py:167
↓ 1 callersMethodget_cluster_status
(self)
verl_Test/ray_cluster.py:302
↓ 1 callersMethodget_config
(self)
verl_FlowRL/tests/e2e/envs/digit_completion/tokenizer.py:127
↓ 1 callersFunctionget_default_model_parallel_config
()
verl_Test/verl/utils/megatron/tensor_parallel.py:46
↓ 1 callersFunctionget_default_model_parallel_config
()
verl_FlowRL/verl/utils/megatron/tensor_parallel.py:46
↓ 1 callersFunctionget_device_flops
(unit="T")
verl_Test/verl/utils/flops_counter.py:22
↓ 1 callersFunctionget_device_flops
(unit="T")
verl_FlowRL/verl/utils/flops_counter.py:22
↓ 1 callersMethodget_generation_prompt
(self, tokenizer: PreTrainedTokenizer)
verl_Test/verl/workers/rollout/schemas.py:107
↓ 1 callersMethodget_generation_prompt
(self, tokenizer: PreTrainedTokenizer)
verl_FlowRL/verl/workers/rollout/schemas.py:107
↓ 1 callersFunctionget_gsm8k_data
()
verl_FlowRL/tests/utils/gpu_tests/dataset/test_rl_dataset.py:21
↓ 1 callersFunctionget_hf_model_checkpoint_path
(checkpoint_path)
verl_Test/verl/utils/megatron_utils.py:436
↓ 1 callersFunctionget_hf_model_checkpoint_path
(checkpoint_path)
verl_FlowRL/verl/utils/megatron_utils.py:436
↓ 1 callersFunctionget_layers
(module)
verl_Test/verl/utils/activation_offload.py:518
↓ 1 callersFunctionget_layers
(module)
verl_FlowRL/verl/utils/activation_offload.py:518
↓ 1 callersFunctionget_local_temp_path
Generate a unique local cache path for an HDFS resource. Creates a MD5-hashed subdirectory in cache_dir to avoid name conflicts, then returns
verl_Test/verl/utils/fs.py:62
↓ 1 callersFunctionget_local_temp_path
Generate a unique local cache path for an HDFS resource. Creates a MD5-hashed subdirectory in cache_dir to avoid name conflicts, then returns
verl_FlowRL/verl/utils/fs.py:62
↓ 1 callersMethodget_megatron_global_info
(self)
verl_Test/verl/single_controller/base/megatron/worker.py:22
↓ 1 callersMethodget_megatron_global_info
(self)
verl_FlowRL/verl/single_controller/base/megatron/worker.py:22
↓ 1 callersFunctionget_model_size
(model: nn.Module, scale="auto")
verl_Test/verl/utils/model.py:127
↓ 1 callersFunctionget_model_size
(model: nn.Module, scale="auto")
verl_FlowRL/verl/utils/model.py:127
↓ 1 callersMethodget_n_gpus
Get the number of gpus in this cluster.
verl_Test/verl/trainer/ppo/ray_trainer.py:120
↓ 1 callersMethodget_n_gpus
Get the number of gpus in this cluster.
verl_FlowRL/verl/trainer/ppo/ray_trainer.py:120
↓ 1 callersFunctionget_nccl_id_store_by_name
(name)
verl_Test/verl/utils/rendezvous/ray_backend.py:32
↓ 1 callersFunctionget_nccl_id_store_by_name
(name)
verl_FlowRL/verl/utils/rendezvous/ray_backend.py:32
↓ 1 callersFunctionget_num_test_cases
(test_code)
verl_Test/rllm/rewards/code_utils/humanevalplus.py:16
↓ 1 callersFunctionget_num_test_cases
(test_code)
verl_FlowRL/rllm/rewards/code_utils/humanevalplus.py:16
↓ 1 callersMethodget_partitions
(self)
verl_Test/verl/utils/seqlen_balancing.py:56
↓ 1 callersMethodget_partitions
(self)
verl_FlowRL/verl/utils/seqlen_balancing.py:56
↓ 1 callersFunctionget_predefined_dispatch_fn
(dispatch_mode)
verl_Test/verl/single_controller/base/decorator.py:443
↓ 1 callersFunctionget_predefined_execute_fn
Note that here we only asks execute_all and execute_rank_zero to be implemented Leave the choice of how these two functions handle argument '
verl_Test/verl/single_controller/base/decorator.py:466
↓ 1 callersFunctionget_predefined_execute_fn
Note that here we only asks execute_all and execute_rank_zero to be implemented Leave the choice of how these two functions handle argument '
verl_FlowRL/verl/single_controller/base/decorator.py:466
↓ 1 callersFunctionget_random_string
(length: int)
verl_Test/verl/single_controller/ray/base.py:36
↓ 1 callersFunctionget_random_string
(length: int)
verl_FlowRL/verl/single_controller/ray/base.py:36
↓ 1 callersFunctionget_retriever
(config)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:252
↓ 1 callersFunctionget_retriever
(config)
verl_FlowRL/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:252
↓ 1 callersFunctionget_rm_data
()
verl_FlowRL/tests/utils/gpu_tests/dataset/test_rm_dataset.py:20
↓ 1 callersMethodget_rng_state
collect rng state across data parallel ranks
verl_Test/verl/utils/checkpoint/megatron_checkpoint_manager.py:96
↓ 1 callersMethodget_rng_state
collect rng state across data parallel ranks
verl_FlowRL/verl/utils/checkpoint/megatron_checkpoint_manager.py:96
↓ 1 callersFunctionget_rope_index
Gets the position ids for Qwen2-VL, it should be generated before sharding the sequence. The batch dim has been removed and the input_ids sho
verl_Test/verl/models/transformers/qwen2_vl.py:43
↓ 1 callersFunctionget_rope_index
Gets the position ids for Qwen2-VL, it should be generated before sharding the sequence. The batch dim has been removed and the input_ids sho
verl_FlowRL/verl/models/transformers/qwen2_vl.py:43
↓ 1 callersMethodget_rope_scaling_args
Get rope scaling args.
verl_Test/verl/models/mcore/model_initializer.py:39
↓ 1 callersMethodget_rope_scaling_args
Get rope scaling args.
verl_FlowRL/verl/models/mcore/model_initializer.py:39
↓ 1 callersFunctionget_sandbox_fusion_messages
()
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:40
↓ 1 callersFunctionget_search_messages
()
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:50
↓ 1 callersMethodget_supported_archs
()
verl_Test/verl/models/registry.py:57
↓ 1 callersMethodget_supported_archs
()
verl_FlowRL/verl/models/registry.py:57
↓ 1 callersFunctionget_tool_call_parser_type
(tokenizer: PreTrainedTokenizer)
verl_Test/verl/workers/rollout/sglang_rollout/sglang_rollout.py:107
↓ 1 callersFunctionget_tool_call_parser_type
(tokenizer: PreTrainedTokenizer)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:107
↓ 1 callersFunctionget_transformer_layer_offset
Get the index offset of any pipeline stage, given the level of pipelining. Make pp_rank and vpp_rank as two arguments to make it more flexib
verl_Test/verl/utils/megatron_utils.py:828
↓ 1 callersFunctionget_transformer_layer_offset
Get the index offset of any pipeline stage, given the level of pipelining. Make pp_rank and vpp_rank as two arguments to make it more flexib
verl_FlowRL/verl/utils/megatron_utils.py:828
↓ 1 callersMethodget_transformer_layer_spec
Get the transformer layer specification. https://github.com/NVIDIA/Megatron-LM/blob/main/megatron/core/models/gpt/gpt_layer_specs.py
verl_Test/verl/models/mcore/model_initializer.py:34
↓ 1 callersMethodget_transformer_layer_spec
Get the transformer layer specification. https://github.com/NVIDIA/Megatron-LM/blob/main/megatron/core/models/gpt/gpt_layer_specs.py
verl_FlowRL/verl/models/mcore/model_initializer.py:34
↓ 1 callersMethodget_value
(self)
verl_FlowRL/tests/utils/cpu_tests/test_module.py:23
↓ 1 callersFunctionget_weight_loader
(arch: str)
verl_Test/verl/models/weight_loader_registry.py:16
↓ 1 callersFunctionget_weight_loader
(arch: str)
verl_FlowRL/verl/models/weight_loader_registry.py:16
↓ 1 callersFunctionget_weight_saver
(arch: str)
verl_Test/verl/models/weight_loader_registry.py:29
↓ 1 callersFunctionget_weight_saver
(arch: str)
verl_FlowRL/verl/models/weight_loader_registry.py:29
↓ 1 callersFunctionget_wsd_schedule_with_warmup
Create a Warmup-Stable-Decay learning rate scheduler. The schedule follows three phases: 1. Warmup: Learning rate increases linearly fro
verl_Test/verl/utils/torch_functional.py:589
↓ 1 callersFunctionget_wsd_schedule_with_warmup
Create a Warmup-Stable-Decay learning rate scheduler. The schedule follows three phases: 1. Warmup: Learning rate increases linearly fro
verl_FlowRL/verl/utils/torch_functional.py:589
← previousnext →1,701–1,800 of 4,141, ranked by callers