MCPcopy Create free account

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

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

Functionfetch_params
(module)
verl_FlowRL/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:63
Functionfetch_params
(module)
verl_FlowRL/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:65
Functionfind_available_ports
Find consecutive available ports starting from base_port.
verl_Test/rllm/utils.py:185
Functionfind_available_ports
Find consecutive available ports starting from base_port.
verl_FlowRL/rllm/utils.py:185
Methodfinish
(self)
verl_Test/verl/utils/tracking.py:210
Methodfinish
(self)
verl_FlowRL/verl/utils/tracking.py:210
Functionfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the PPO
verl_Test/examples/split_placement/split_monkey_patch.py:37
Functionfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the PPO
verl_FlowRL/examples/split_placement/split_monkey_patch.py:37
Methodfn
(i)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:487
Functionfold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
verl_Test/verl/protocol.py:140
Methodfoo
(self, y)
verl_FlowRL/tests/ray_gpu/test_worker_group_basics.py:48
Methodforward
(self, *args, tool_name: str, **kwargs)
verl_Test/rllm/tools/multi_tool.py:18
Methodforward
Synchronously sleep for the specified number of seconds. Args: seconds (float): The number of seconds to sleep.
verl_Test/rllm/tools/example_tool.py:49
Methodforward
Execute Python code in the sandbox environment. Args: code: Python code to execute timeout: Maximum
verl_Test/rllm/tools/code_tools/code_tool.py:61
Methodforward
Synchronous implementation of Python code execution in a sandbox. Uses the process pool for isolation but blocks until completion.
verl_Test/rllm/tools/code_tools/local_tool.py:52
Methodforward
Execute Python code using the LiveCodeBench sandbox environment. Args: code (str): Python code to execute
verl_Test/rllm/tools/code_tools/lcb_tool.py:186
Methodforward
Execute Python code using Together Code Interpreter. Args: code: Python code to execute timeout: Max
verl_Test/rllm/tools/code_tools/together_tool.py:43
Methodforward
Execute Python code in one of the sandboxes using round-robin distribution. Args: code: Python code to execute
verl_Test/rllm/tools/code_tools/e2b_tool.py:53
Methodforward
Extract content from provided URLs using Tavily API. Args: urls (List[str]): List of URLs to extract content fro
verl_Test/rllm/tools/web_tools/tavily_tool.py:51
Methodforward
Execute a Google search with the given query. Args: query (str): Query to be submitted to Google search engine.
verl_Test/rllm/tools/web_tools/gsearch_tool.py:84
Methodforward
Safely evaluate a mathematical expression. Args: expression: Mathematical expression as string
verl_Test/rllm/tools/math_tools/calculator.py:43
Methodforward
(ctx, tensor, cpu_offload_handler)
verl_Test/verl/utils/activation_offload.py:112
Methodforward
( ctx: Any, group: dist.ProcessGroup, local_input: Tensor, scatter_dim: int,
verl_Test/verl/utils/ulysses.py:167
Methodforward
( ctx: Any, group: dist.ProcessGroup, local_tensor: Tensor, gather_dim: int,
verl_Test/verl/utils/ulysses.py:196
Methodforward
(self, *args, **kwargs)
verl_Test/verl/utils/model.py:41
Methodforward
(ctx, vocab_parallel_logits: torch.Tensor)
verl_Test/verl/utils/megatron/tensor_parallel.py:111
Methodforward
( ctx, hidden_states: torch.FloatTensor, vocab_weights: torch.FloatTensor, inp
verl_Test/verl/utils/experimental/torch_functional.py:77
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:174
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:238
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:311
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:386
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:463
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:619
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:699
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
verl_Test/verl/models/qwen2/megatron/layers/parallel_decoder.py:47
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/qwen2/megatron/layers/parallel_decoder.py:114
Methodforward
(self, x)
verl_Test/verl/models/qwen2/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:65
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:221
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:297
Methodforward
(self, hidden_states)
verl_Test/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:41
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:174
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:238
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:311
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:386
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:464
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:569
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:650
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
verl_Test/verl/models/llama/megatron/layers/parallel_decoder.py:47
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/llama/megatron/layers/parallel_decoder.py:114
Methodforward
(self, x)
verl_Test/verl/models/llama/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:61
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:270
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:351
Methodforward
( self, input_, weight=None, runtime_gather_output=None, )
verl_Test/verl/models/llama/megatron/layers/parallel_linear.py:96
Methodforward
(self, hidden_states)
verl_Test/verl/models/llama/megatron/layers/parallel_rmsnorm.py:41
Methodforward
(self, *args, tool_name: str, **kwargs)
verl_FlowRL/rllm/tools/multi_tool.py:18
Methodforward
Synchronously sleep for the specified number of seconds. Args: seconds (float): The number of seconds to sleep.
verl_FlowRL/rllm/tools/example_tool.py:49
Methodforward
Execute Python code in the sandbox environment. Args: code: Python code to execute timeout: Maximum
verl_FlowRL/rllm/tools/code_tools/code_tool.py:61
Methodforward
Synchronous implementation of Python code execution in a sandbox. Uses the process pool for isolation but blocks until completion.
verl_FlowRL/rllm/tools/code_tools/local_tool.py:52
Methodforward
Execute Python code using the LiveCodeBench sandbox environment. Args: code (str): Python code to execute
verl_FlowRL/rllm/tools/code_tools/lcb_tool.py:186
Methodforward
Execute Python code using Together Code Interpreter. Args: code: Python code to execute timeout: Max
verl_FlowRL/rllm/tools/code_tools/together_tool.py:43
Methodforward
Execute Python code in one of the sandboxes using round-robin distribution. Args: code: Python code to execute
verl_FlowRL/rllm/tools/code_tools/e2b_tool.py:53
Methodforward
Extract content from provided URLs using Tavily API. Args: urls (List[str]): List of URLs to extract content fro
verl_FlowRL/rllm/tools/web_tools/tavily_tool.py:51
Methodforward
Execute a Google search with the given query. Args: query (str): Query to be submitted to Google search engine.
verl_FlowRL/rllm/tools/web_tools/gsearch_tool.py:84
Methodforward
Safely evaluate a mathematical expression. Args: expression: Mathematical expression as string
verl_FlowRL/rllm/tools/math_tools/calculator.py:43
Methodforward
(ctx, tensor, cpu_offload_handler)
verl_FlowRL/verl/utils/activation_offload.py:112
Methodforward
( ctx: Any, group: dist.ProcessGroup, local_input: Tensor, scatter_dim: int,
verl_FlowRL/verl/utils/ulysses.py:167
Methodforward
( ctx: Any, group: dist.ProcessGroup, local_tensor: Tensor, gather_dim: int,
verl_FlowRL/verl/utils/ulysses.py:196
Methodforward
(self, *args, **kwargs)
verl_FlowRL/verl/utils/model.py:41
Methodforward
(ctx, vocab_parallel_logits: torch.Tensor)
verl_FlowRL/verl/utils/megatron/tensor_parallel.py:111
Methodforward
( ctx, hidden_states: torch.FloatTensor, vocab_weights: torch.FloatTensor, inp
verl_FlowRL/verl/utils/experimental/torch_functional.py:77
Methodforward
(self, x)
verl_FlowRL/verl/workers/fsdp_workers.py:116
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:174
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:238
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:311
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:386
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:463
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:619
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:699
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_decoder.py:47
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_decoder.py:114
Methodforward
(self, x)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:65
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:221
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:297
Methodforward
(self, hidden_states)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:41
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:174
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:238
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:311
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:386
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:464
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:569
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:650
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
verl_FlowRL/verl/models/llama/megatron/layers/parallel_decoder.py:47
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/llama/megatron/layers/parallel_decoder.py:114
Methodforward
(self, x)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:61
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:270
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:351
← previousnext →3,201–3,300 of 4,141, ranked by callers