MCPcopy Create free account

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

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

Function_merge_with_image_features
Args: inputs_embeds (:obj:`torch.Tensor` of shape :obj:`(batch_size, sequence_length, input_embed_dim)`): The input embedding
verl_Test/verl/models/transformers/kimi_vl.py:25
Function_merge_with_image_features
Args: inputs_embeds (:obj:`torch.Tensor` of shape :obj:`(batch_size, sequence_length, input_embed_dim)`): The input embedding
verl_FlowRL/verl/models/transformers/kimi_vl.py:25
Function_mp_target_wrapper
Internal wrapper function executed in the child process. Calls the original target function and puts the result or exception into the queue.
verl_Test/verl/utils/py_functional.py:30
Function_mp_target_wrapper
Internal wrapper function executed in the child process. Calls the original target function and puts the result or exception into the queue.
verl_FlowRL/verl/utils/py_functional.py:30
Function_newf
(*args, **kwargs)
verl_Test/rllm/rewards/code_utils/pyext2.py:350
Function_newf
(*args, **kwargs)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:350
Method_newf
(*args, **kwargs)
verl_Test/rllm/rewards/code_utils/pyext2.py:166
Method_newf
(*args, **kwargs)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:166
Method_process_one_megatron_shard
(sharded_dir: str)
verl_Test/scripts/model_merger.py:418
Method_process_one_megatron_shard
(sharded_dir: str)
verl_FlowRL/scripts/model_merger.py:418
Function_process_pool_worker_for_concurrency_test
(sandbox_url, in_outs, generation, language, timeout, mp_semaphore_for_check_correctness, active_calls_counter
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:358
Method_rebind_actor_methods
(worker_group, actor_name)
verl_Test/verl/single_controller/ray/base.py:431
Method_rebind_actor_methods
(worker_group, actor_name)
verl_FlowRL/verl/single_controller/ray/base.py:431
Method_restart_sandbox
Restart the sandbox environment.
verl_Test/rllm/tools/code_tools/code_tool.py:83
Method_restart_sandbox
Restart the sandbox environment.
verl_Test/rllm/tools/code_tools/local_tool.py:193
Method_restart_sandbox
Restart the sandbox by creating a new session.
verl_Test/rllm/tools/code_tools/together_tool.py:113
Method_restart_sandbox
Restart the sandbox environment.
verl_FlowRL/rllm/tools/code_tools/code_tool.py:83
Method_restart_sandbox
Restart the sandbox environment.
verl_FlowRL/rllm/tools/code_tools/local_tool.py:193
Method_restart_sandbox
Restart the sandbox by creating a new session.
verl_FlowRL/rllm/tools/code_tools/together_tool.py:113
Method_search
(self, query: str, num: int = None, return_score: bool = False)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:206
Method_search
(self, query: str, num: int = None, return_score: bool = False)
verl_FlowRL/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:206
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:83
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:102
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:79
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:98
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:83
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:102
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:79
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:98
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:218
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:267
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:218
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:267
Function_temp_run
(sample, generation, debug, result, metadata_list, timeout)
verl_Test/rllm/rewards/code_reward.py:189
Function_temp_run
(in_outs, generation, debug, result, metadata_list, timeout)
verl_Test/recipe/r1/tasks/livecodebench.py:25
Function_temp_run
(sample, generation, debug, result, metadata_list, timeout)
verl_Test/verl/utils/reward_score/prime_code/utils.py:26
Function_temp_run
(in_outs, generation, debug, result, metadata_list, timeout)
verl_Test/verl/utils/reward_score/r1_tasks/livecodebench.py:25
Function_temp_run
(sample, generation, debug, result, metadata_list, timeout)
verl_FlowRL/rllm/rewards/code_reward.py:189
Function_temp_run
(in_outs, generation, debug, result, metadata_list, timeout)
verl_FlowRL/recipe/r1/tasks/livecodebench.py:25
Function_temp_run
(sample, generation, debug, result, metadata_list, timeout)
verl_FlowRL/verl/utils/reward_score/prime_code/utils.py:26
Function_temp_run
(in_outs, generation, debug, result, metadata_list, timeout)
verl_FlowRL/verl/utils/reward_score/r1_tasks/livecodebench.py:25
Method_tokenize
(self, text: str)
verl_FlowRL/tests/e2e/envs/digit_completion/tokenizer.py:89
Function_ulysses_flash_attention_forward
Insert all-to-all before and after flash attention. DeepSpeed-Ulysses: https://arxiv.org/pdf/2309.14509 Args: query_states (torch.Ten
verl_Test/verl/models/transformers/monkey_patch.py:49
Function_ulysses_flash_attention_forward
Insert all-to-all before and after flash attention. DeepSpeed-Ulysses: https://arxiv.org/pdf/2309.14509 Args: query_states (torch.Ten
verl_FlowRL/verl/models/transformers/monkey_patch.py:49
Function_ulysses_flash_attn_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None, positi
verl_Test/verl/models/transformers/kimi_vl.py:126
Function_ulysses_flash_attn_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None, positi
verl_FlowRL/verl/models/transformers/kimi_vl.py:126
Method_validate_config
(self)
verl_Test/recipe/prime/prime_ray_trainer.py:169
Method_validate_config
(self)
verl_FlowRL/recipe/prime/prime_ray_trainer.py:169
Function_worker
(rank, world_size, init_method, max_token_len, use_same_dp, min_mb)
verl_FlowRL/tests/utils/gpu_tests/test_seqlen_balancing.py:41
Function_worker_mask
(rank: int, world_size: int, rendezvous_file: str)
verl_FlowRL/tests/utils/gpu_tests/test_torch_functional.py:68
Function_worker_mean
(rank: int, world_size: int, rendezvous_file: str)
verl_FlowRL/tests/utils/gpu_tests/test_torch_functional.py:25
Function_wrap
(f)
verl_Test/rllm/rewards/code_utils/pyext2.py:46
Function_wrap
(f)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:46
Method_wrap
(f)
verl_Test/rllm/rewards/code_utils/pyext2.py:165
Method_wrap
(f)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:165
Function_wrapper_exec_fn
Helper function to execute code and put results in the queue
verl_Test/rllm/tools/code_tools/lcb_tool.py:137
Function_wrapper_exec_fn
Helper function to execute code and put results in the queue
verl_FlowRL/rllm/tools/code_tools/lcb_tool.py:137
Methodacquire
(self)
verl_Test/verl/tools/sandbox_fusion_tools.py:52
Methodacquire
Acquire a token from the bucket.
verl_Test/verl/tools/search_tool.py:57
Methodacquire
(self)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:52
Methodacquire
Acquire a token from the bucket.
verl_FlowRL/verl/tools/search_tool.py:57
Functionadd
r"""Adds two numbers. Args: a (int): The first number to be added. b (int): The second number to be added. R
verl_Test/rllm/tools/tool_base.py:165
Functionadd
r"""Adds two numbers. Args: a (int): The first number to be added. b (int): The second number to be added. R
verl_FlowRL/rllm/tools/tool_base.py:165
Methodadd_node
(self, process_count)
verl_Test/verl/single_controller/base/worker_group.py:48
Methodadd_node
(self, process_count)
verl_FlowRL/verl/single_controller/base/worker_group.py:48
Functionadd_one
(data)
verl_FlowRL/tests/ray_gpu/test_worker_group_basics.py:83
Methodadd_optimization_config_to_tf_config
(tf_config)
verl_Test/verl/single_controller/base/megatron/worker.py:78
Methodadd_optimization_config_to_tf_config
(tf_config)
verl_FlowRL/verl/single_controller/base/megatron/worker.py:78
Methodall_gather
(self)
verl_FlowRL/tests/ray_gpu/test_worker_group_torch.py:56
Methodall_special_ids
`List[int]`: List the ids of the special tokens(`'<unk>'`, `'<cls>'`, etc.) mapped to class attributes.
verl_Test/verl/workers/rollout/tokenizer.py:57
Methodall_special_ids
`List[int]`: List the ids of the special tokens(`'<unk>'`, `'<cls>'`, etc.) mapped to class attributes.
verl_FlowRL/verl/workers/rollout/tokenizer.py:57
Methodall_special_tokens
`List[str]`: A list of the unique special tokens (`'<unk>'`, `'<cls>'`, ..., etc.). Convert tokens of `tokenizers.AddedToken` type t
verl_Test/verl/workers/rollout/tokenizer.py:65
Methodall_special_tokens
`List[str]`: A list of the unique special tokens (`'<unk>'`, `'<cls>'`, ..., etc.). Convert tokens of `tokenizers.AddedToken` type t
verl_FlowRL/verl/workers/rollout/tokenizer.py:65
Methodallgather_params
allgather params of all pp ranks. Return a list of handles
verl_Test/verl/workers/sharding_manager/megatron_vllm.py:154
Methodallgather_params
allgather params of all pp ranks. Return a list of handles
verl_FlowRL/verl/workers/sharding_manager/megatron_vllm.py:154
Functionannotate
Set function annotations using decorators. :param args: This is a list of annotations for the function, in the order of the function's paramet
verl_Test/rllm/rewards/code_utils/pyext2.py:367
Functionannotate
Set function annotations using decorators. :param args: This is a list of annotations for the function, in the order of the function's paramet
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:367
Functionapply_kl_penalty
(data: DataProto, kl_ctrl: core_algos.AdaptiveKLController, kl_penalty='kl')
verl_Test/recipe/spin/spin_trainer.py:265
Functionapply_kl_penalty
(data: DataProto, kl_ctrl: core_algos.AdaptiveKLController, kl_penalty='kl')
verl_FlowRL/recipe/spin/spin_trainer.py:265
Functionapply_process_row
(row, split_name=split)
verl_Test/examples/data_preprocess/preprocess_search_r1_dataset.py:124
Functionapply_process_row
(row, split_name=split)
verl_FlowRL/examples/data_preprocess/preprocess_search_r1_dataset.py:124
Functionapply_rotary_pos_emb_rmpad
(q, k, cos, sin, position_ids, indices, sequence_length)
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:272
Functionapply_rotary_pos_emb_rmpad
(q, k, cos, sin, position_ids, indices, sequence_length)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:326
Functionapply_rotary_pos_emb_rmpad
(q, k, cos, sin, position_ids, indices, sequence_length)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:272
Functionapply_rotary_pos_emb_rmpad
(q, k, cos, sin, position_ids, indices, sequence_length)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:326
Methodargc
Overloads a function based on the specified argument count. :param argc: The argument count. Defaults to ``None``. If ``None`` is given, a
verl_Test/rllm/rewards/code_utils/pyext2.py:140
Methodargc
Overloads a function based on the specified argument count. :param argc: The argument count. Defaults to ``None``. If ``None`` is given, a
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:140
Methodargs
Overload a function based on the specified argument types. :param argtypes: The argument types. If None is given, get the argument types f
verl_Test/rllm/rewards/code_utils/pyext2.py:184
Methodargs
Overload a function based on the specified argument types. :param argtypes: The argument types. If None is given, get the argument types f
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:184
Functionarithmetic_sequence_reward_function
(data: DataProto, return_dict: bool = False)
verl_FlowRL/tests/e2e/arithmetic_sequence/rl/main_trainer.py:31
Methodasync_forward
Asynchronous version of the forward method. Args: url (str): The URL to scrape. Returns:
verl_Test/rllm/tools/web_tools/firecrawl_tool.py:122
Methodasync_forward
Asynchronous version of the forward method. Args: url (str): The URL to scrape. Returns:
verl_FlowRL/rllm/tools/web_tools/firecrawl_tool.py:122
Functionasync_func
(self, *args, **kwargs)
verl_Test/verl/single_controller/ray/base.py:639
Functionasync_func
(self, *args, **kwargs)
verl_FlowRL/verl/single_controller/ray/base.py:639
Functionasync_inner
(*args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:537
Functionasync_inner
(*args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:537
Methodauto_padding
(cls)
verl_Test/verl/protocol.py:53
Methodauto_padding
(cls)
verl_FlowRL/verl/protocol.py:53
Methodbackward
(ctx, grad_output)
verl_Test/verl/utils/activation_offload.py:120
Methodbackward
(ctx: Any, *grad_output: Tensor)
verl_Test/verl/utils/ulysses.py:182
← previousnext →2,801–2,900 of 4,141, ranked by callers