Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gen-Verse/OpenClaw-RL
/ functions
Functions
10,561 in github.com/Gen-Verse/OpenClaw-RL
⨍
Functions
10,561
◇
Types & classes
1,405
↳
Endpoints
144
Function
add_arguments
(parser)
Megatron-LM/tools/checkpoint/loader_llava.py:15
Function
add_arguments
(parser)
Megatron-LM/tools/checkpoint/saver_hf_llava.py:10
Function
add_arguments
(parser)
Megatron-LM/tools/checkpoint/saver_llava.py:25
Function
add_arguments
(parser)
Megatron-LM/tools/checkpoint/loader_llama_mistral.py:19
Function
add_checkpoint_args
(parser)
slime/tools/convert_to_hf.py:11
Function
add_convert_args
Add additional arguments for ModelOpt checkpoint convertion.
Megatron-LM/examples/post_training/modelopt/convert_model.py:36
Function
add_convertion_args
Add conversion arguments to the parser
slime/tools/convert_hf_to_torch_dist.py:93
Function
add_dynamic_inference_args
Dynamic inference arguments.
Megatron-LM/examples/inference/gpt/gpt_dynamic_inference.py:66
Method
add_error
(msg)
Megatron-LM/megatron/core/transformer/cuda_graphs.py:924
Method
add_event_error_transient
Add transient error event.
Megatron-LM/megatron/core/inference/inference_request.py:353
Function
add_extract_args
Add additional arguments for feature extraction.
Megatron-LM/examples/post_training/modelopt/offline_feature_extract.py:23
Function
add_finetune_args
Add additional arguments for finetune.
Megatron-LM/examples/post_training/modelopt/finetune.py:39
Function
add_generate_args
Add additional arguments for ModelOpt acceptance rate validation.
Megatron-LM/examples/post_training/modelopt/generate.py:26
Method
add_if_valid
Helper to create and append batch dimension to list only if it's valid.
Megatron-LM/megatron/core/inference/batch_dimensions_utils.py:243
Function
add_inference_benchmarking_args
Inference benchmarking arguments.
Megatron-LM/tools/run_inference_performance_test.py:48
Function
add_mimo_args
Add MIMO-specific arguments to the parser.
Megatron-LM/examples/mimo/train.py:51
Function
add_mmlu_args
Add additional arguments for ModelOpt text generation PTQ.
Megatron-LM/examples/post_training/modelopt/mmlu.py:26
Function
add_modelopt_export_args
Add additional arguments for ModelOpt hf-like export.
Megatron-LM/examples/post_training/modelopt/export.py:25
Method
add_proxy
Add proxy to pool
gui-rl/desktop_env/providers/aws/proxy_pool.py:55
Function
add_prune_args
Add additional arguments for ModelOpt pruning.
Megatron-LM/examples/post_training/modelopt/prune.py:37
Function
add_retro_args
(parser)
Megatron-LM/tools/retro/preprocess_data.py:51
Method
add_samples
(self, samples: list[list[Sample]])
gui-rl/gui_data_source.py:113
Method
add_samples
(self, samples: list[list[Sample]])
gui-rl/gui_data_source.py:253
Method
add_samples
(self, samples: list[list[Sample]])
slime/slime/rollout/data_source.py:114
Method
add_samples
Add a sample group to buffer.
slime/slime/rollout/data_source.py:187
Method
add_section
Add or replace a section. :param section: The new section.
Megatron-LM/tools/retro/config_utils.py:387
Function
add_slime_arguments
(parser)
slime/slime/utils/arguments.py:36
Method
add_special_tokens
Adds special tokens to the tokenizer.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:127
Method
add_special_tokens
Adds special tokens to the tokenizer.
Megatron-LM/megatron/core/tokenizers/text/libraries/abstract_tokenizer.py:91
Method
add_special_tokens
Adds special tokens to the tokenizer.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:220
Function
add_static_inference_args
Static inference arguments.
Megatron-LM/examples/inference/gpt/gpt_static_inference.py:52
Function
add_text_generate_args
Adds text generation arguments to parser.
Megatron-LM/tools/run_text_generation_server.py:90
Function
add_text_generate_args
Text generation arguments.
Megatron-LM/tools/retro/text_generation/retro_text_generation.py:84
Function
add_text_generate_args
Text generation arguments.
Megatron-LM/examples/academic_paper_scripts/detxoify_lm/generate_samples_gpt.py:93
Function
add_text_generate_args
Text generation arguments.
Megatron-LM/examples/inference/t5/simple_t5_batch_inference.py:36
Function
add_text_generate_ptq_args
Add additional arguments for ModelOpt text generation PTQ.
Megatron-LM/examples/post_training/modelopt/quantize.py:43
Function
add_text_generation_args
Text generation arguments.
Megatron-LM/tools/run_vlm_text_generation.py:27
Function
add_text_generation_args
Text generation arguments.
Megatron-LM/examples/multimodal/run_text_generation.py:54
Method
add_tokentype_embeddings
Add token-type embedding. This function is provided so we can add token-type embeddings in case the pretrained model does not have it.
Megatron-LM/megatron/legacy/model/language_model.py:203
Function
add_validation_args
Text generation arguments.
Megatron-LM/examples/academic_paper_scripts/detxoify_lm/finetune_gpt.py:141
Function
add_vlm_extra_args
Extra arguments.
Megatron-LM/pretrain_vlm.py:380
Method
add_vm
(self, vm_path, region=DEFAULT_REGION, lock_needed=True, **kwargs)
gui-rl/desktop_env/providers/aws/manager.py:202
Method
add_vm
(self, vm_path)
gui-rl/desktop_env/providers/docker/manager.py:96
Method
add_vm
(self, vm_path, lock_needed=True)
gui-rl/desktop_env/providers/virtualbox/manager.py:318
Method
add_vm
(self, vm_path, lock_needed=True, **kwargs)
gui-rl/desktop_env/providers/volcengine/manager.py:299
Method
add_vm
(self, vm_path, lock_needed=True)
gui-rl/desktop_env/providers/vmware/manager.py:306
Method
add_vm
(self, vm_path, lock_needed=True, **kwargs)
gui-rl/desktop_env/providers/aliyun/manager.py:282
Method
add_worker
Add a new worker to the router. Supports providing the URL via query string or JSON body. Examples: - POST /add_worker?url=htt
slime/slime/router/router.py:169
Method
additional_special_tokens
All the additional special tokens you may want to use (list of strings).
Megatron-LM/megatron/training/tokenizer/tokenizer.py:316
Method
additional_special_tokens_ids
Returns a list of the additional special tokens.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:145
Method
additional_special_tokens_ids
Megatron-LM/megatron/core/tokenizers/text/libraries/null_tokenizer.py:85
Method
additional_special_tokens_ids
Returns a list of the additional special tokens (excluding bos, eos, pad, unk). Used to return sentinel tokens for e.g. T5.
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:205
Method
additional_special_tokens_ids
Returns a list of the additional special tokens (excluding bos, eos, pad, unk). Used to return sentinel tokens for e.g. T5.
Megatron-LM/megatron/core/tokenizers/text/libraries/sentencepiece_tokenizer.py:379
Method
additional_special_tokens_ids
Returns a list of the additional special tokens, excluding [bos, eos, pad, unk] and special_filler. Used to return sentinel tokens fo
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:225
Method
additional_special_tokens_ids
Ids of all the additional special tokens in the vocabulary (list of integers).
Megatron-LM/megatron/training/tokenizer/tokenizer.py:321
Method
additional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:534
Method
additional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:578
Method
additional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:632
Method
additional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:871
Method
additional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:944
Function
addr
()
slime/slime/ray/rollout.py:1022
Method
adjust_coordinates
(x: float, y: float)
gui-rl/agents/qwen35_agent.py:481
Method
adjust_coordinates
(x: float, y: float)
gui-rl/agents/qwen3vl_agent.py:393
Method
agenerate
( self, request: ChatInferenceRequest )
Megatron-LM/megatron/rl/inference/inference_interface.py:134
Function
all_gather_last_dim_from_tensor_parallel_region
Wrapper for autograd function: forward: AG, backward RS <last dim>
Megatron-LM/megatron/core/tensor_parallel/mappings.py:523
Method
all_gather_parameters
All gather the parameters. Args: async_op (bool, optional): Whether to do the all-reduce asynchronously. Defaults
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:2776
Function
all_to_all_hp2sp
Perform AlltoAll communication on tensor parallel group, transform the input tensor from shape [num_tokens, H/TP] to [num_tokens/TP, H].
Megatron-LM/megatron/core/tensor_parallel/mappings.py:570
Function
all_to_all_sp2hp
Perform AlltoAll communication on tensor parallel group, transform the input tensor from shape [num_tokens/TP, H] to [num_tokens, H/TP].
Megatron-LM/megatron/core/tensor_parallel/mappings.py:541
Method
allgather
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:199
Method
allgather_coalesced
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:205
Method
allgather_into_tensor_coalesced
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:208
Function
allocate
(request: Request)
terminal-rl/router_server.py:232
Function
allocate
(request: Request)
terminal-rl/remote/pool_server.py:379
Function
allocate
()
gui-rl/env_pool_server.py:340
Function
allocate
()
swe-rl/server/swe_env_pool_server.py:233
Method
allocate
allocate a temporary bucket.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:496
Method
allocate
allocate a temporary bucket.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:529
Method
allocate
allocate a temporary bucket.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:592
Method
allocate_mamba_states
Allocate Mamba states. This function is called below within `with ctx_manager:`.
Megatron-LM/megatron/core/inference/contexts/dynamic_context.py:584
Method
allocate_memory_buffer
Allocate the memory buffer. This function is called below within `with ctx_manager:`.
Megatron-LM/megatron/core/inference/contexts/dynamic_context.py:555
Method
allreduce
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:190
Method
allreduce_coalesced
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:193
Method
alltoall
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:229
Method
alltoall_base
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:226
Function
apply
(x)
Megatron-LM/megatron/core/dist_checkpointing/mapping.py:673
Method
apply_chat_template
Applies chat template to the conversation. Args: conversation (list): chat_template (Optional[str]): chat te
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:90
Method
apply_chat_template
Applies tokenizer's chat template to the conversation. Args: conversation (List[Dict[str, str]]): a list of dicts with "
Megatron-LM/megatron/core/tokenizers/text/libraries/chat_template.py:16
Method
apply_chat_template
Applies chat template and tokenizes results
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:254
Method
as_array
(self)
Megatron-LM/megatron/legacy/data/biencoder_dataset_utils.py:103
Method
as_tuple
(self)
Megatron-LM/megatron/legacy/data/biencoder_dataset_utils.py:106
Function
assert_grouped_gemm_is_available
Assert that grouped_gemm is available.
Megatron-LM/megatron/core/transformer/moe/grouped_gemm_util.py:14
Method
async_loop
Main function for the persistent checkpoint worker The persisent worker is created once and terminated at exit or when application ca
Megatron-LM/megatron/core/dist_checkpointing/strategies/async_utils.py:440
Method
async_save
(self, sharded_state_dict: ShardedStateDict, checkpoint_dir: Path)
Megatron-LM/megatron/core/dist_checkpointing/strategies/fully_parallel.py:88
Method
async_save
Translates MCore ShardedTensors to PyT ShardedTensors & saves in PyT Distributed format. Args: sharded_state_dict (ShardedStateDi
Megatron-LM/megatron/core/dist_checkpointing/strategies/torch.py:745
Method
async_step
Dummy async_step.
Megatron-LM/tests/unit_tests/inference/test_data_parallel_inference_coordinator.py:86
Method
atol
(self)
Megatron-LM/tests/functional_tests/python_test_utils/common.py:57
Function
attention_mask_func
(attention_scores, attention_mask)
Megatron-LM/megatron/legacy/fused_kernels/tests/test_fused_kernels.py:282
Function
attention_mask_func
(attention_scores, attention_mask)
Megatron-LM/megatron/core/transformer/utils.py:49
Method
backup
(self, tag: str)
slime/slime/utils/tensor_backper.py:55
Method
backup
(self, tag: str)
slime/slime/utils/tensor_backper.py:94
← previous
next →
6,601–6,700 of 10,561, ranked by callers