MCPcopy Create free account

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

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

Method__init__
(self, config: LlamaConfig, megatron_config: ModelParallelConfig)
verl_Test/verl/models/llama/megatron/layers/parallel_attention.py:172
Method__init__
( self, input_size, gate_ouput_size, up_output_size, *, bias=T
verl_Test/verl/models/llama/megatron/layers/parallel_linear.py:55
Method__init__
( self, input_size, output_size, *, config, bias=True, )
verl_Test/verl/models/llama/megatron/layers/parallel_linear.py:83
Method__init__
LlamaRMSNorm is equivalent to T5LayerNorm
verl_Test/verl/models/llama/megatron/layers/parallel_rmsnorm.py:27
Method__init__
(self, tokenizer, num_examine)
verl_Test/examples/split_placement/main_ppo_split.py:38
Method__init__
(self, model_name, model_path, pooling_method, max_length, use_fp16)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:67
Method__init__
(self, config)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:117
Method__init__
(self, config)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:139
Method__init__
(self, config)
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:192
Method__init__
Args: docs (List[str]): A list of documents to encode. model (str): The SentenceTransformer model to use.
verl_FlowRL/rllm/utils.py:151
Method__init__
(self, tools: List[str])
verl_FlowRL/rllm/tools/multi_tool.py:7
Method__init__
Initialize the tool with a name. Args: name (str): The name of the tool, used for tool registry and calling.
verl_FlowRL/rllm/tools/tool_base.py:36
Method__init__
Initialize the Python code tool. Args: name: The name of the tool description: Description of what the tool d
verl_FlowRL/rllm/tools/code_tools/code_tool.py:23
Method__init__
(self, n_sandboxes=1)
verl_FlowRL/rllm/tools/code_tools/local_tool.py:17
Method__init__
Initialize the Python interpreter tool with appropriate settings.
verl_FlowRL/rllm/tools/code_tools/lcb_tool.py:178
Method__init__
Initialize the TogetherCodeTool. Args: api_key: Together API key (optional, will use environment variables if not provide
verl_FlowRL/rllm/tools/code_tools/together_tool.py:16
Method__init__
(self, n_sandboxes=1, api_key=E2B_API_KEY)
verl_FlowRL/rllm/tools/code_tools/e2b_tool.py:16
Method__init__
Initialize the Firecrawl tool. Args: timeout (int): Maximum time in seconds to wait for scraping results.
verl_FlowRL/rllm/tools/web_tools/firecrawl_tool.py:19
Method__init__
(self)
verl_FlowRL/rllm/tools/web_tools/tavily_tool.py:13
Method__init__
Initialize the GoogleSearch tool. Args: name (str): The name of the tool, defaults to GoogleSearch.NAME.
verl_FlowRL/rllm/tools/web_tools/gsearch_tool.py:19
Method__init__
Initialize the Calculator tool.
verl_FlowRL/rllm/tools/math_tools/calculator.py:15
Method__init__
(self, config: RewardConfig)
verl_FlowRL/rllm/rewards/reward_types.py:111
Method__init__
(self, config: RewardConfig)
verl_FlowRL/rllm/rewards/rl_reward.py:10
Method__init__
(self, value)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:286
Method__init__
(self, args, kwargs)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:347
Method__init__
(self, dataset_sizes: List[int], weights: List[float])
verl_FlowRL/rllm/data/dataloader.py:26
Method__init__
Initialize DataMixture. Args: datasets: Union[Dataset, List[Dataset], Dict[Dataset, float]] Either a sing
verl_FlowRL/rllm/data/dataloader.py:47
Method__init__
(self, config: DatasetConfig)
verl_FlowRL/rllm/data/dataloader.py:99
Method__init__
(self, config: ModelMergerConfig)
verl_FlowRL/scripts/model_merger.py:336
Method__init__
(self)
verl_FlowRL/scripts/converter_hf_to_mcore.py:44
Method__init__
(self)
verl_FlowRL/scripts/converter_hf_to_mcore.py:49
Method__init__
(self)
verl_FlowRL/scripts/converter_hf_to_mcore.py:54
Method__init__
(self, config)
verl_FlowRL/recipe/spin/fsdp_workers.py:277
Method__init__
(self, config, tokenizer, role_worker_mapping: dict[Role, W
verl_FlowRL/recipe/spin/spin_trainer.py:356
Method__init__
(self, init_kl_coef, target_kl, horizon)
verl_FlowRL/recipe/spin/core_algos.py:28
Method__init__
(self, kl_coef)
verl_FlowRL/recipe/spin/core_algos.py:43
Method__init__
(self, config, reward_module: nn.Module, ref_module: nn.Module, reward_optimizer: optim.Optimizer)
verl_FlowRL/recipe/prime/prime_dp_rm.py:38
Method__init__
(self, config)
verl_FlowRL/recipe/prime/prime_fsdp_workers.py:51
Method__init__
( self, config, tokenizer, role_worker_mapping: dict[Role, WorkerType],
verl_FlowRL/recipe/prime/prime_ray_trainer.py:145
Method__init__
( self, config, tokenizer, role_worker_mapping: dict[Role, WorkerType],
verl_FlowRL/recipe/sppo/sppo_ray_trainer.py:75
Method__init__
(self, initial_value=0)
verl_FlowRL/tests/ray_cpu/test_decorator.py:40
Method__init__
(self)
verl_FlowRL/tests/ray_cpu/test_ray_local_envs.py:28
Method__init__
(self, val)
verl_FlowRL/tests/ray_cpu/test_fused_workers.py:35
Method__init__
(self)
verl_FlowRL/tests/ray_cpu/test_auto_padding.py:31
Method__init__
(self)
verl_FlowRL/tests/ray_cpu/check_worker_alive/main.py:28
Method__init__
(self, value=None)
verl_FlowRL/tests/utils/cpu_tests/test_module.py:20
Method__init__
(self, config_dict)
verl_FlowRL/tests/utils/gpu_tests/test_flops_counter.py:25
Method__init__
(self, test_case_idx: int)
verl_FlowRL/tests/kernels/test_linear_cross_entropy.py:85
Method__init__
(self, config, model_path, server_addresses, sandbox_address, system_prompt, **kwargs)
verl_FlowRL/tests/workers/rollout/test_vllm_tool_calling.py:109
Method__init__
(self, rank, world_size)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:397
Method__init__
(self)
verl_FlowRL/tests/ray_gpu/test_data_transfer.py:33
Method__init__
(self, rank, world_size, group_name)
verl_FlowRL/tests/ray_gpu/test_rvdz.py:20
Method__init__
(self, cuda_visible_devices=None)
verl_FlowRL/tests/ray_gpu/test_high_level_scheduling_api.py:26
Method__init__
(self, size)
verl_FlowRL/tests/ray_gpu/test_worker_group_torch.py:48
Method__init__
(self, config)
verl_FlowRL/tests/ray_gpu/test_colocated_workers_fused.py:41
Method__init__
(self, config)
verl_FlowRL/tests/ray_gpu/test_colocated_workers.py:41
Method__init__
(self)
verl_FlowRL/tests/ray_gpu/test_driverfunc_to_worker.py:32
Method__init__
(self)
verl_FlowRL/tests/ray_gpu/test_driverfunc_to_worker.py:37
Method__init__
(self, x)
verl_FlowRL/tests/ray_gpu/test_worker_group_basics.py:44
Method__init__
(self)
verl_FlowRL/tests/ray_gpu/detached_worker/server.py:46
Method__init__
Args: max_number: the maximum number allowed in the arithmetic sequence max_diff: the maximum diff. The actual commo
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:35
Method__init__
Character tokenizer for Hugging Face transformers. Args: characters (Sequence[str]): List of desired characters. Any character wh
verl_FlowRL/tests/e2e/envs/digit_completion/tokenizer.py:30
Method__init__
(self, config: dict, tool_schema: OpenAIFunctionToolSchema)
verl_FlowRL/verl/tools/base_tool.py:33
Method__init__
(self, rate_limit: int)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:45
Method__init__
_tool_schema = OpenAIFunctionToolSchema.model_validate({ "type": "function", "function": { "name": "c
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:106
Method__init__
_tool_schema = OpenAIFunctionToolSchema.model_validate({ "type": "function", "function": { "name": "c
verl_FlowRL/verl/tools/gsm8k_tool.py:40
Method__init__
(self, rate_limit: int)
verl_FlowRL/verl/tools/search_tool.py:51
Method__init__
(self, enable_global_rate_limit=True, rate_limit=10)
verl_FlowRL/verl/tools/search_tool.py:76
Method__init__
Initialize SearchTool with configuration and schema. Args: config: Configuration dictionary containing tool settings
verl_FlowRL/verl/tools/search_tool.py:125
Method__init__
(self, config: PretrainedConfig)
verl_FlowRL/verl/utils/flops_counter.py:64
Method__init__
(self, project_name, experiment_name, default_backend: Union[str, List[str]] = "console", config=None)
verl_FlowRL/verl/utils/tracking.py:38
Method__init__
(self, project_name: str, experiment_name: str, config)
verl_FlowRL/verl/utils/tracking.py:147
Method__init__
(self)
verl_FlowRL/verl/utils/tracking.py:196
Method__init__
(self)
verl_FlowRL/verl/utils/activation_offload.py:40
Method__init__
( self, offload_handler: OffloadHandler, handler_extra_kwargs: Optional[dict[str, Any]
verl_FlowRL/verl/utils/activation_offload.py:61
Method__init__
(self, num_offload_group, tensor_need_offloading_checker=(lambda _: True))
verl_FlowRL/verl/utils/activation_offload.py:136
Method__init__
( self, num_offload_group, # must be <= actual number of groups (number of commits) n
verl_FlowRL/verl/utils/activation_offload.py:221
Method__init__
(self, offload_ctx, sync_func, tensor_filter, enable_ckpt)
verl_FlowRL/verl/utils/activation_offload.py:411
Method__init__
(self)
verl_FlowRL/verl/utils/seqlen_balancing.py:26
Method__init__
(self, items: List[Tuple[int, int]], k: int)
verl_FlowRL/verl/utils/seqlen_balancing.py:47
Method__init__
(self, dictionary, **kwargs)
verl_FlowRL/verl/utils/py_functional.py:194
Method__init__
(self, module: nn.Module)
verl_FlowRL/verl/utils/memory_buffer.py:146
Method__init__
(self, transform_memory_param_fn)
verl_FlowRL/verl/utils/memory_buffer.py:175
Method__init__
(self, fn)
verl_FlowRL/verl/utils/model.py:37
Method__init__
(self, numel, numel_padded, dtype)
verl_FlowRL/verl/utils/megatron/memory.py:19
Method__init__
(self, remote_logger=None, enable_wandb=False, print_to_console=False)
verl_FlowRL/verl/utils/logger/aggregate_logger.py:33
Method__init__
(self, role: str, logger: logging.Logger = None, level=logging.DEBUG, rank: int = 0, log_only_rank_0: bool = T
verl_FlowRL/verl/utils/logger/aggregate_logger.py:47
Method__init__
( self, parquet_files: Union[str, List[str]], tokenizer, prompt_key="prompt",
verl_FlowRL/verl/utils/dataset/rm_dataset.py:40
Method__init__
(self, parquet_files: Union[str, List[str]], tokenizer, config)
verl_FlowRL/verl/utils/dataset/sft_dataset.py:41
Method__init__
( self, data_files: Union[str, List[str]], tokenizer: PreTrainedTokenizer, con
verl_FlowRL/verl/utils/dataset/rl_dataset.py:85
Method__init__
(self, parquet_files: Union[str, List[str]], tokenizer, config=None)
verl_FlowRL/verl/utils/dataset/multiturn_sft_dataset.py:34
Method__init__
( self, model: FSDP, optimizer: torch.optim.Optimizer, lr_scheduler: torch.opt
verl_FlowRL/verl/utils/checkpoint/fsdp_checkpoint_manager.py:51
Method__init__
( self, model, optimizer: torch.optim.Optimizer, lr_scheduler: torch.optim.lr_
verl_FlowRL/verl/utils/checkpoint/checkpoint_manager.py:44
Method__init__
( self, config, model_config, role, model: torch.nn.ModuleList,
verl_FlowRL/verl/utils/checkpoint/megatron_checkpoint_manager.py:54
Method__init__
(self, hdfs_dir, verbose)
verl_FlowRL/verl/utils/debug/trajectory_tracker.py:52
Method__init__
(self, role: str, logger: logging.Logger = None, level=logging.DEBUG, log_only_rank_0: bool = True)
verl_FlowRL/verl/utils/debug/performance.py:71
Method__init__
(self, config)
verl_FlowRL/verl/utils/debug/profile.py:22
Method__init__
(self, nccl_id)
verl_FlowRL/verl/utils/rendezvous/ray_backend.py:25
Method__init__
(self, chunk_size: int = 512)
verl_FlowRL/verl/utils/experimental/torch_functional.py:198
Method__init__
( self, process_on_nodes: Optional[List[int]] = None, use_gpu: bool = True, na
verl_FlowRL/verl/single_controller/ray/base.py:86
← previousnext →2,501–2,600 of 4,141, ranked by callers