MCPcopy Create free account

hub / github.com/Gen-Verse/OpenClaw-RL / functions

Functions10,561 in github.com/Gen-Verse/OpenClaw-RL

Functionadd_arguments
(parser)
Megatron-LM/tools/checkpoint/loader_llava.py:15
Functionadd_arguments
(parser)
Megatron-LM/tools/checkpoint/saver_hf_llava.py:10
Functionadd_arguments
(parser)
Megatron-LM/tools/checkpoint/saver_llava.py:25
Functionadd_arguments
(parser)
Megatron-LM/tools/checkpoint/loader_llama_mistral.py:19
Functionadd_checkpoint_args
(parser)
slime/tools/convert_to_hf.py:11
Functionadd_convert_args
Add additional arguments for ModelOpt checkpoint convertion.
Megatron-LM/examples/post_training/modelopt/convert_model.py:36
Functionadd_convertion_args
Add conversion arguments to the parser
slime/tools/convert_hf_to_torch_dist.py:93
Functionadd_dynamic_inference_args
Dynamic inference arguments.
Megatron-LM/examples/inference/gpt/gpt_dynamic_inference.py:66
Methodadd_error
(msg)
Megatron-LM/megatron/core/transformer/cuda_graphs.py:924
Methodadd_event_error_transient
Add transient error event.
Megatron-LM/megatron/core/inference/inference_request.py:353
Functionadd_extract_args
Add additional arguments for feature extraction.
Megatron-LM/examples/post_training/modelopt/offline_feature_extract.py:23
Functionadd_finetune_args
Add additional arguments for finetune.
Megatron-LM/examples/post_training/modelopt/finetune.py:39
Functionadd_generate_args
Add additional arguments for ModelOpt acceptance rate validation.
Megatron-LM/examples/post_training/modelopt/generate.py:26
Methodadd_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
Functionadd_inference_benchmarking_args
Inference benchmarking arguments.
Megatron-LM/tools/run_inference_performance_test.py:48
Functionadd_mimo_args
Add MIMO-specific arguments to the parser.
Megatron-LM/examples/mimo/train.py:51
Functionadd_mmlu_args
Add additional arguments for ModelOpt text generation PTQ.
Megatron-LM/examples/post_training/modelopt/mmlu.py:26
Functionadd_modelopt_export_args
Add additional arguments for ModelOpt hf-like export.
Megatron-LM/examples/post_training/modelopt/export.py:25
Methodadd_proxy
Add proxy to pool
gui-rl/desktop_env/providers/aws/proxy_pool.py:55
Functionadd_prune_args
Add additional arguments for ModelOpt pruning.
Megatron-LM/examples/post_training/modelopt/prune.py:37
Functionadd_retro_args
(parser)
Megatron-LM/tools/retro/preprocess_data.py:51
Methodadd_samples
(self, samples: list[list[Sample]])
gui-rl/gui_data_source.py:113
Methodadd_samples
(self, samples: list[list[Sample]])
gui-rl/gui_data_source.py:253
Methodadd_samples
(self, samples: list[list[Sample]])
slime/slime/rollout/data_source.py:114
Methodadd_samples
Add a sample group to buffer.
slime/slime/rollout/data_source.py:187
Methodadd_section
Add or replace a section. :param section: The new section.
Megatron-LM/tools/retro/config_utils.py:387
Functionadd_slime_arguments
(parser)
slime/slime/utils/arguments.py:36
Methodadd_special_tokens
Adds special tokens to the tokenizer.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:127
Methodadd_special_tokens
Adds special tokens to the tokenizer.
Megatron-LM/megatron/core/tokenizers/text/libraries/abstract_tokenizer.py:91
Methodadd_special_tokens
Adds special tokens to the tokenizer.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:220
Functionadd_static_inference_args
Static inference arguments.
Megatron-LM/examples/inference/gpt/gpt_static_inference.py:52
Functionadd_text_generate_args
Adds text generation arguments to parser.
Megatron-LM/tools/run_text_generation_server.py:90
Functionadd_text_generate_args
Text generation arguments.
Megatron-LM/tools/retro/text_generation/retro_text_generation.py:84
Functionadd_text_generate_args
Text generation arguments.
Megatron-LM/examples/academic_paper_scripts/detxoify_lm/generate_samples_gpt.py:93
Functionadd_text_generate_args
Text generation arguments.
Megatron-LM/examples/inference/t5/simple_t5_batch_inference.py:36
Functionadd_text_generate_ptq_args
Add additional arguments for ModelOpt text generation PTQ.
Megatron-LM/examples/post_training/modelopt/quantize.py:43
Functionadd_text_generation_args
Text generation arguments.
Megatron-LM/tools/run_vlm_text_generation.py:27
Functionadd_text_generation_args
Text generation arguments.
Megatron-LM/examples/multimodal/run_text_generation.py:54
Methodadd_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
Functionadd_validation_args
Text generation arguments.
Megatron-LM/examples/academic_paper_scripts/detxoify_lm/finetune_gpt.py:141
Functionadd_vlm_extra_args
Extra arguments.
Megatron-LM/pretrain_vlm.py:380
Methodadd_vm
(self, vm_path, region=DEFAULT_REGION, lock_needed=True, **kwargs)
gui-rl/desktop_env/providers/aws/manager.py:202
Methodadd_vm
(self, vm_path)
gui-rl/desktop_env/providers/docker/manager.py:96
Methodadd_vm
(self, vm_path, lock_needed=True)
gui-rl/desktop_env/providers/virtualbox/manager.py:318
Methodadd_vm
(self, vm_path, lock_needed=True, **kwargs)
gui-rl/desktop_env/providers/volcengine/manager.py:299
Methodadd_vm
(self, vm_path, lock_needed=True)
gui-rl/desktop_env/providers/vmware/manager.py:306
Methodadd_vm
(self, vm_path, lock_needed=True, **kwargs)
gui-rl/desktop_env/providers/aliyun/manager.py:282
Methodadd_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
Methodadditional_special_tokens
All the additional special tokens you may want to use (list of strings).
Megatron-LM/megatron/training/tokenizer/tokenizer.py:316
Methodadditional_special_tokens_ids
Returns a list of the additional special tokens.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:145
Methodadditional_special_tokens_ids
Megatron-LM/megatron/core/tokenizers/text/libraries/null_tokenizer.py:85
Methodadditional_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
Methodadditional_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
Methodadditional_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
Methodadditional_special_tokens_ids
Ids of all the additional special tokens in the vocabulary (list of integers).
Megatron-LM/megatron/training/tokenizer/tokenizer.py:321
Methodadditional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:534
Methodadditional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:578
Methodadditional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:632
Methodadditional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:871
Methodadditional_special_tokens_ids
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:944
Functionaddr
()
slime/slime/ray/rollout.py:1022
Methodadjust_coordinates
(x: float, y: float)
gui-rl/agents/qwen35_agent.py:481
Methodadjust_coordinates
(x: float, y: float)
gui-rl/agents/qwen3vl_agent.py:393
Methodagenerate
( self, request: ChatInferenceRequest )
Megatron-LM/megatron/rl/inference/inference_interface.py:134
Functionall_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
Methodall_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
Functionall_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
Functionall_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
Methodallgather
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:199
Methodallgather_coalesced
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:205
Methodallgather_into_tensor_coalesced
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:208
Functionallocate
(request: Request)
terminal-rl/router_server.py:232
Functionallocate
(request: Request)
terminal-rl/remote/pool_server.py:379
Functionallocate
()
gui-rl/env_pool_server.py:340
Functionallocate
()
swe-rl/server/swe_env_pool_server.py:233
Methodallocate
allocate a temporary bucket.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:496
Methodallocate
allocate a temporary bucket.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:529
Methodallocate
allocate a temporary bucket.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:592
Methodallocate_mamba_states
Allocate Mamba states. This function is called below within `with ctx_manager:`.
Megatron-LM/megatron/core/inference/contexts/dynamic_context.py:584
Methodallocate_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
Methodallreduce
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:190
Methodallreduce_coalesced
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:193
Methodalltoall
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:229
Methodalltoall_base
(self, *a, **kw)
slime/slime/utils/reloadable_process_group.py:226
Functionapply
(x)
Megatron-LM/megatron/core/dist_checkpointing/mapping.py:673
Methodapply_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
Methodapply_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
Methodapply_chat_template
Applies chat template and tokenizes results
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:254
Methodas_array
(self)
Megatron-LM/megatron/legacy/data/biencoder_dataset_utils.py:103
Methodas_tuple
(self)
Megatron-LM/megatron/legacy/data/biencoder_dataset_utils.py:106
Functionassert_grouped_gemm_is_available
Assert that grouped_gemm is available.
Megatron-LM/megatron/core/transformer/moe/grouped_gemm_util.py:14
Methodasync_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
Methodasync_save
(self, sharded_state_dict: ShardedStateDict, checkpoint_dir: Path)
Megatron-LM/megatron/core/dist_checkpointing/strategies/fully_parallel.py:88
Methodasync_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
Methodasync_step
Dummy async_step.
Megatron-LM/tests/unit_tests/inference/test_data_parallel_inference_coordinator.py:86
Methodatol
(self)
Megatron-LM/tests/functional_tests/python_test_utils/common.py:57
Functionattention_mask_func
(attention_scores, attention_mask)
Megatron-LM/megatron/legacy/fused_kernels/tests/test_fused_kernels.py:282
Functionattention_mask_func
(attention_scores, attention_mask)
Megatron-LM/megatron/core/transformer/utils.py:49
Methodbackup
(self, tag: str)
slime/slime/utils/tensor_backper.py:55
Methodbackup
(self, tag: str)
slime/slime/utils/tensor_backper.py:94
← previousnext →6,601–6,700 of 10,561, ranked by callers