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
Function
fetch_params
(module)
verl_FlowRL/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:63
Function
fetch_params
(module)
verl_FlowRL/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:65
Function
find_available_ports
Find consecutive available ports starting from base_port.
verl_Test/rllm/utils.py:185
Function
find_available_ports
Find consecutive available ports starting from base_port.
verl_FlowRL/rllm/utils.py:185
Method
finish
(self)
verl_Test/verl/utils/tracking.py:210
Method
finish
(self)
verl_FlowRL/verl/utils/tracking.py:210
Function
fit
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
Function
fit
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
Method
fn
(i)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:487
Function
fold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
verl_Test/verl/protocol.py:140
Method
foo
(self, y)
verl_FlowRL/tests/ray_gpu/test_worker_group_basics.py:48
Method
forward
(self, *args, tool_name: str, **kwargs)
verl_Test/rllm/tools/multi_tool.py:18
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
Safely evaluate a mathematical expression. Args: expression: Mathematical expression as string
verl_Test/rllm/tools/math_tools/calculator.py:43
Method
forward
(ctx, tensor, cpu_offload_handler)
verl_Test/verl/utils/activation_offload.py:112
Method
forward
( ctx: Any, group: dist.ProcessGroup, local_input: Tensor, scatter_dim: int,
verl_Test/verl/utils/ulysses.py:167
Method
forward
( ctx: Any, group: dist.ProcessGroup, local_tensor: Tensor, gather_dim: int,
verl_Test/verl/utils/ulysses.py:196
Method
forward
(self, *args, **kwargs)
verl_Test/verl/utils/model.py:41
Method
forward
(ctx, vocab_parallel_logits: torch.Tensor)
verl_Test/verl/utils/megatron/tensor_parallel.py:111
Method
forward
( ctx, hidden_states: torch.FloatTensor, vocab_weights: torch.FloatTensor, inp
verl_Test/verl/utils/experimental/torch_functional.py:77
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:386
Method
forward
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
Method
forward
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
Method
forward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:699
Method
forward
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
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/qwen2/megatron/layers/parallel_decoder.py:114
Method
forward
(self, x)
verl_Test/verl/models/qwen2/megatron/layers/parallel_mlp.py:71
Method
forward
(self, x, seq_len=None)
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:65
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:221
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/qwen2/megatron/layers/parallel_attention.py:297
Method
forward
(self, hidden_states)
verl_Test/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:41
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:386
Method
forward
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
Method
forward
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
Method
forward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:650
Method
forward
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
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/llama/megatron/layers/parallel_decoder.py:114
Method
forward
(self, x)
verl_Test/verl/models/llama/megatron/layers/parallel_mlp.py:71
Method
forward
(self, x, seq_len=None)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:61
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:270
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:351
Method
forward
( self, input_, weight=None, runtime_gather_output=None, )
verl_Test/verl/models/llama/megatron/layers/parallel_linear.py:96
Method
forward
(self, hidden_states)
verl_Test/verl/models/llama/megatron/layers/parallel_rmsnorm.py:41
Method
forward
(self, *args, tool_name: str, **kwargs)
verl_FlowRL/rllm/tools/multi_tool.py:18
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
Safely evaluate a mathematical expression. Args: expression: Mathematical expression as string
verl_FlowRL/rllm/tools/math_tools/calculator.py:43
Method
forward
(ctx, tensor, cpu_offload_handler)
verl_FlowRL/verl/utils/activation_offload.py:112
Method
forward
( ctx: Any, group: dist.ProcessGroup, local_input: Tensor, scatter_dim: int,
verl_FlowRL/verl/utils/ulysses.py:167
Method
forward
( ctx: Any, group: dist.ProcessGroup, local_tensor: Tensor, gather_dim: int,
verl_FlowRL/verl/utils/ulysses.py:196
Method
forward
(self, *args, **kwargs)
verl_FlowRL/verl/utils/model.py:41
Method
forward
(ctx, vocab_parallel_logits: torch.Tensor)
verl_FlowRL/verl/utils/megatron/tensor_parallel.py:111
Method
forward
( ctx, hidden_states: torch.FloatTensor, vocab_weights: torch.FloatTensor, inp
verl_FlowRL/verl/utils/experimental/torch_functional.py:77
Method
forward
(self, x)
verl_FlowRL/verl/workers/fsdp_workers.py:116
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:386
Method
forward
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
Method
forward
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
Method
forward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:699
Method
forward
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
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_decoder.py:114
Method
forward
(self, x)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_mlp.py:71
Method
forward
(self, x, seq_len=None)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:65
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:221
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_attention.py:297
Method
forward
(self, hidden_states)
verl_FlowRL/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:41
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:386
Method
forward
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
Method
forward
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
Method
forward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:650
Method
forward
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
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/llama/megatron/layers/parallel_decoder.py:114
Method
forward
(self, x)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_mlp.py:71
Method
forward
(self, x, seq_len=None)
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:61
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:270
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
verl_FlowRL/verl/models/llama/megatron/layers/parallel_attention.py:351
← previous
next →
3,201–3,300 of 4,141, ranked by callers