Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xuekai-Zhu/FlowRL
/ functions
Functions
4,141 in github.com/Xuekai-Zhu/FlowRL
⨍
Functions
4,141
◇
Types & classes
610
↳
Endpoints
120
↓ 2 callers
Function
get_huggingface_actor_config
(model_name: str, override_config_kwargs=None, trust_remote_code=False)
verl_FlowRL/verl/utils/model.py:62
↓ 2 callers
Function
get_json_with_retry
Fetch JSON data from a URL with retries.
verl_Test/command/eval/cf_elo_calc.py:32
↓ 2 callers
Function
get_json_with_retry
Fetch JSON data from a URL with retries.
verl_Test/benchmark/cf_elo_calc.py:32
↓ 2 callers
Function
get_master_address
获取头节点的地址。 通过 socket 解析主机名并返回 IP 地址。
verl_Test/multi_node.py:9
↓ 2 callers
Function
get_mcore_weight_converter
Get the weight converter for given model architecture.
verl_Test/verl/models/mcore/registry.py:176
↓ 2 callers
Function
get_mcore_weight_converter
Get the weight converter for given model architecture.
verl_FlowRL/verl/models/mcore/registry.py:176
↓ 2 callers
Function
get_megatron_optimizer
( model, config: OptimizerConfig, no_weight_decay_cond=None, scale_lr_cond=None, lr_mult=1
verl_Test/verl/utils/megatron/optimizer.py:20
↓ 2 callers
Function
get_model_config
(model)
verl_Test/verl/utils/megatron_utils.py:41
↓ 2 callers
Function
get_model_config
(model)
verl_FlowRL/verl/utils/megatron_utils.py:41
↓ 2 callers
Method
get_n_gpus
Get the number of gpus in this cluster.
verl_Test/recipe/spin/spin_trainer.py:101
↓ 2 callers
Method
get_n_gpus
Get the number of gpus in this cluster.
verl_FlowRL/recipe/spin/spin_trainer.py:101
↓ 2 callers
Method
get_node_id
(self)
verl_FlowRL/tests/ray_gpu/test_high_level_scheduling_api.py:29
↓ 2 callers
Method
get_openai_tool_schema
(self)
verl_Test/verl/tools/base_tool.py:38
↓ 2 callers
Method
get_openai_tool_schema
(self)
verl_FlowRL/verl/tools/base_tool.py:38
↓ 2 callers
Function
get_optimizer_checkpoint_path
(checkpoint_path, use_distributed_optimizer=True)
verl_Test/verl/utils/megatron_utils.py:446
↓ 2 callers
Function
get_optimizer_checkpoint_path
(checkpoint_path, use_distributed_optimizer=True)
verl_FlowRL/verl/utils/megatron_utils.py:446
↓ 2 callers
Function
get_percentile
Calculate the percentile of a given rating.
verl_Test/command/eval/cf_elo_calc.py:16
↓ 2 callers
Function
get_percentile
Calculate the percentile of a given rating.
verl_Test/benchmark/cf_elo_calc.py:16
↓ 2 callers
Function
get_ray_version_local
()
verl_Test/ray_cluster.py:92
↓ 2 callers
Function
get_rng_states_checkpoint_path
(checkpoint_path, only_rank0_save=True)
verl_Test/verl/utils/megatron_utils.py:458
↓ 2 callers
Function
get_rng_states_checkpoint_path
(checkpoint_path, only_rank0_save=True)
verl_FlowRL/verl/utils/megatron_utils.py:458
↓ 2 callers
Function
get_sharding_strategy
(device_mesh)
verl_Test/recipe/spin/fsdp_workers.py:57
↓ 2 callers
Function
get_sharding_strategy
(device_mesh)
verl_FlowRL/recipe/spin/fsdp_workers.py:57
↓ 2 callers
Function
get_stripped_lines
(val: str)
verl_Test/rllm/rewards/code_utils/livecodebench.py:193
↓ 2 callers
Function
get_stripped_lines
(val: str)
verl_FlowRL/rllm/rewards/code_utils/livecodebench.py:193
↓ 2 callers
Function
get_trajectory_tracker
()
verl_Test/verl/utils/debug/trajectory_tracker.py:79
↓ 2 callers
Function
get_trajectory_tracker
()
verl_FlowRL/verl/utils/debug/trajectory_tracker.py:79
↓ 2 callers
Method
get_transformers_auto_model_class
(self)
verl_Test/scripts/model_merger.py:107
↓ 2 callers
Method
get_transformers_auto_model_class
(self)
verl_FlowRL/scripts/model_merger.py:107
↓ 2 callers
Function
get_ulysses_sequence_parallel_rank
Get ulysses sequence parallel rank.
verl_Test/verl/utils/ulysses.py:54
↓ 2 callers
Function
get_ulysses_sequence_parallel_rank
Get ulysses sequence parallel rank.
verl_FlowRL/verl/utils/ulysses.py:54
↓ 2 callers
Function
get_upper_triangle
(tensor_x)
verl_Test/recipe/prime/prime_core_algos.py:117
↓ 2 callers
Function
get_upper_triangle
(tensor_x)
verl_FlowRL/recipe/prime/prime_core_algos.py:117
↓ 2 callers
Function
get_version
(pkg)
verl_Test/verl/workers/rollout/vllm_rollout/__init__.py:20
↓ 2 callers
Function
get_version
(pkg)
verl_FlowRL/verl/workers/rollout/vllm_rollout/__init__.py:20
↓ 2 callers
Function
get_weight_buffer_meta_from_module
Return a dictionary containing name to a shape and dtype.
verl_Test/verl/utils/memory_buffer.py:60
↓ 2 callers
Function
get_weight_buffer_meta_from_module
Return a dictionary containing name to a shape and dtype.
verl_FlowRL/verl/utils/memory_buffer.py:60
↓ 2 callers
Function
grade
(model_answer: str, gt_answer: str, fast: bool = True)
verl_Test/recipe/entropy_math/__init__.py:1013
↓ 2 callers
Function
grade_answer
The answer will be considered correct if: (a) it normalizes to the same string as the ground truth answer OR (b) sympy can simplify t
verl_Test/verl/utils/reward_score/prime_math/__init__.py:241
↓ 2 callers
Function
grade_answer
The answer will be considered correct if: (a) it normalizes to the same string as the ground truth answer OR (b) sympy can simplify t
verl_FlowRL/verl/utils/reward_score/prime_math/__init__.py:241
↓ 2 callers
Function
grade_answer_mathd
(given_answer: str, ground_truth: str)
verl_Test/rllm/rewards/math_utils/utils.py:469
↓ 2 callers
Function
grade_answer_mathd
(given_answer: str, ground_truth: str)
verl_FlowRL/rllm/rewards/math_utils/utils.py:469
↓ 2 callers
Function
grade_answer_sympy
(given_answer: str, ground_truth: str)
verl_Test/rllm/rewards/math_utils/utils.py:430
↓ 2 callers
Function
grade_answer_sympy
(given_answer: str, ground_truth: str)
verl_FlowRL/rllm/rewards/math_utils/utils.py:430
↓ 2 callers
Method
init
(self)
verl_FlowRL/tests/ray_gpu/test_worker_group_torch.py:34
↓ 2 callers
Function
init_megatron_optim_config
(optim_config: Dict)
verl_Test/verl/utils/megatron_utils.py:201
↓ 2 callers
Method
init_model
(self)
verl_FlowRL/tests/ray_gpu/detached_worker/server.py:68
↓ 2 callers
Function
initialize_global_process_group
(timeout_second=36000, spmd=False)
verl_FlowRL/tests/workers/rollout/utils_sglang.py:55
↓ 2 callers
Function
is_port_available
Return whether a port is available.
verl_Test/rllm/utils.py:198
↓ 2 callers
Function
is_port_available
Return whether a port is available.
verl_FlowRL/rllm/utils.py:198
↓ 2 callers
Function
is_tensor_parallel_param
(param)
verl_Test/verl/utils/megatron/tensor_parallel.py:95
↓ 2 callers
Function
is_tensor_parallel_param
(param)
verl_FlowRL/verl/utils/megatron/tensor_parallel.py:95
↓ 2 callers
Function
is_transformers_version_in_range
(min_version: Optional[str] = None, max_version: Optional[str] = None)
verl_Test/verl/models/transformers/monkey_patch.py:247
↓ 2 callers
Function
is_transformers_version_in_range
(min_version: Optional[str] = None, max_version: Optional[str] = None)
verl_FlowRL/verl/models/transformers/monkey_patch.py:247
↓ 2 callers
Function
is_version_ge
check if the package version is greater than or equal to the minimum version
verl_FlowRL/verl/utils/vllm_utils.py:198
↓ 2 callers
Function
kl_penalty
Compute KL divergence given logprob and ref_logprob. Copied from https://github.com/huggingface/trl/blob/main/trl/trainer/ppo_trainer.py#L1104
verl_FlowRL/verl/trainer/ppo/core_algos.py:522
↓ 2 callers
Function
last_boxed_only_string
Extract the last LaTeX boxed expression from a string. Args: string: Input string containing LaTeX code Returns: The last bo
verl_Test/verl/utils/reward_score/math_dapo.py:20
↓ 2 callers
Function
last_boxed_only_string
(string)
verl_FlowRL/verl/utils/reward_score/math.py:63
↓ 2 callers
Function
last_boxed_only_string
Extract the last LaTeX boxed expression from a string. Args: string: Input string containing LaTeX code Returns: The last bo
verl_FlowRL/verl/utils/reward_score/math_dapo.py:20
↓ 2 callers
Function
layered_summon_lora_params
(fsdp_module)
verl_Test/verl/utils/fsdp_utils.py:462
↓ 2 callers
Function
layered_summon_lora_params
(fsdp_module)
verl_FlowRL/verl/utils/fsdp_utils.py:462
↓ 2 callers
Function
list_of_dict_to_dict_of_list
(list_of_dict: list[dict])
verl_Test/verl/protocol.py:128
↓ 2 callers
Function
list_of_dict_to_dict_of_list
(list_of_dict: list[dict])
verl_FlowRL/verl/protocol.py:128
↓ 2 callers
Method
load_checkpoint
Load an FSDP checkpoint for this rank. Downloads and loads: - model and optimizer shards - extra state dict (sch
verl_FlowRL/verl/utils/checkpoint/fsdp_checkpoint_manager.py:76
↓ 2 callers
Function
load_corpus
(corpus_path: str)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:34
↓ 2 callers
Function
load_corpus
(corpus_path: str)
verl_FlowRL/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:34
↓ 2 callers
Function
load_megatron_optimizer
(optimizers)
verl_Test/verl/utils/megatron_utils.py:404
↓ 2 callers
Function
load_megatron_optimizer
(optimizers)
verl_FlowRL/verl/utils/megatron_utils.py:404
↓ 2 callers
Function
load_state_dict_to_megatron_gptmodel
Load merged state_dict to sharded Megatron module in training.
verl_Test/verl/models/mcore/loader.py:52
↓ 2 callers
Function
load_state_dict_to_megatron_gptmodel
Load merged state_dict to sharded Megatron module in training.
verl_FlowRL/verl/models/mcore/loader.py:52
↓ 2 callers
Function
load_tokenizer_and_model
(local_model_path, dtype="bfloat16")
verl_FlowRL/tests/workers/rollout/utils_sglang.py:88
↓ 2 callers
Method
local_mkdir
(path)
verl_Test/verl/utils/checkpoint/checkpoint_manager.py:88
↓ 2 callers
Method
local_mkdir
(path)
verl_FlowRL/verl/utils/checkpoint/checkpoint_manager.py:88
↓ 2 callers
Function
log_probs_from_logits_all_rmpad
Compute the log_probs from logits with rmpad input_ids and logits. Note that logits_rmpad = model(input_ids_rmpad). For each sentences, there is a
verl_FlowRL/verl/utils/torch_functional.py:419
↓ 2 callers
Function
log_seqlen_unbalance
(seqlen_list: List[int], partitions: List[List[int]], prefix)
verl_Test/verl/utils/seqlen_balancing.py:187
↓ 2 callers
Function
log_seqlen_unbalance
(seqlen_list: List[int], partitions: List[List[int]], prefix)
verl_FlowRL/verl/utils/seqlen_balancing.py:187
↓ 2 callers
Function
logprobs_from_logits_naive
(logits, labels)
verl_FlowRL/verl/utils/torch_functional.py:89
↓ 2 callers
Function
logprobs_from_logits_v2
A memory efficient implementation of logprobs_from_logits
verl_FlowRL/verl/utils/torch_functional.py:95
↓ 2 callers
Function
make_function
(code: str)
verl_Test/rllm/rewards/code_utils/livecodebench.py:96
↓ 2 callers
Function
make_function
(code: str)
verl_FlowRL/rllm/rewards/code_utils/livecodebench.py:96
↓ 2 callers
Method
make_iterator
r"""Make an iterator from the DataProto. This is built upon that TensorDict can be used as a normal Pytorch dataset. See https://pytorch.org/t
verl_Test/verl/protocol.py:593
↓ 2 callers
Function
make_map_fn
(split)
verl_Test/examples/data_preprocess/geo3k.py:45
↓ 2 callers
Function
make_map_fn
(split)
verl_Test/examples/data_preprocess/gsm8k.py:52
↓ 2 callers
Function
make_map_fn
(split)
verl_Test/examples/data_preprocess/gsm8k_multiturn_w_tool.py:53
↓ 2 callers
Function
make_map_fn
(split)
verl_Test/examples/data_preprocess/math_dataset.py:50
↓ 2 callers
Function
make_map_fn
(split)
verl_FlowRL/examples/data_preprocess/geo3k.py:45
↓ 2 callers
Function
make_map_fn
(split)
verl_FlowRL/examples/data_preprocess/gsm8k.py:52
↓ 2 callers
Function
make_map_fn
(split)
verl_FlowRL/examples/data_preprocess/gsm8k_multiturn_w_tool.py:53
↓ 2 callers
Function
make_map_fn
(split)
verl_FlowRL/examples/data_preprocess/math_dataset.py:50
↓ 2 callers
Function
make_map_fn
Create a mapping function to process dataset examples. Args: split: Dataset split name ('train' or 'test') Returns: Function
preprocess/deepcoder/deepscaler_dataset.py:32
↓ 2 callers
Method
make_minibatch_iterator
Make minibatch iterator for updating the actor Args: data (DataProto): a DataProto containing keys ``input_ids``
verl_Test/verl/workers/actor/megatron_actor.py:247
↓ 2 callers
Method
make_minibatch_iterator
Make minibatch iterator for updating the actor Args: data (DataProto): a DataProto containing keys ``input_ids``
verl_FlowRL/verl/workers/actor/megatron_actor.py:247
↓ 2 callers
Function
masked_rloo
(reward_tensor_original, mask_tensor)
verl_Test/recipe/prime/prime_core_algos.py:23
↓ 2 callers
Function
masked_rloo
(reward_tensor_original, mask_tensor)
verl_FlowRL/recipe/prime/prime_core_algos.py:23
↓ 2 callers
Function
math_equal
Exact match of math if and only if: 1. numerical equal: both can convert to float and are equal 2. symbolic equal: both can convert to sy
verl_Test/verl/utils/reward_score/prime_math/grader.py:173
↓ 2 callers
Function
math_equal
Exact match of math if and only if: 1. numerical equal: both can convert to float and are equal 2. symbolic equal: both can convert to sy
verl_FlowRL/verl/utils/reward_score/prime_math/grader.py:173
↓ 2 callers
Function
mathd_normalize_answer
(answer: Optional[str])
verl_Test/rllm/rewards/math_utils/utils.py:14
↓ 2 callers
Function
mathd_normalize_answer
(answer: Optional[str])
verl_FlowRL/rllm/rewards/math_utils/utils.py:14
↓ 2 callers
Function
md5_encode
Generate an MD5 hash of a path string. This function is used to create unique identifiers for paths, typically for creating cache directories
verl_Test/verl/utils/fs.py:47
↓ 2 callers
Function
md5_encode
Generate an MD5 hash of a path string. This function is used to create unique identifiers for paths, typically for creating cache directories
verl_FlowRL/verl/utils/fs.py:47
← previous
next →
801–900 of 4,141, ranked by callers