MCPcopy Create free account

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

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

Methodrollout
(self, request: RolloutRequest)
Megatron-LM/megatron/rl/agent/reward_only_agent.py:124
Methodrollout_engines
(self)
slime/slime/ray/rollout.py:131
Functionrollout_log
(rollout_id, args, samples, rollout_extra_metrics, rollout_time)
terminal-rl/rollout_log.py:23
Methodrollouts
(request: RemoteRolloutRequest)
Megatron-LM/megatron/rl/server/agent/fastapi_env_server.py:76
Functionrotary_bwd_kv_kernel
Triton kernel of the backward pass for applying YARN RoPE to MLA's key and value. Input: dK: [seq_len, batch_size, head_num, emb_dim
Megatron-LM/megatron/core/fusions/fused_mla_yarn_rope_apply.py:496
Functionrotary_bwd_q_kernel
Triton kernel of the backward pass for applying YARN RoPE to MLA's query. This kernel inplace modifies the input tensor DO. Input:
Megatron-LM/megatron/core/fusions/fused_mla_yarn_rope_apply.py:148
Functionrotary_fwd_kv_kernel
Triton kernel of the forward pass for applying YARN RoPE to MLA's key and value. It splits the input tensor KV into key and value, and co
Megatron-LM/megatron/core/fusions/fused_mla_yarn_rope_apply.py:379
Functionrotary_fwd_q_kernel
Triton kernel of the forward pass for applying YARN RoPE to MLA's query. This kernel inplace modifies the input tensor Q. Input:
Megatron-LM/megatron/core/fusions/fused_mla_yarn_rope_apply.py:68
Methodrotate_with_fill
Define rotation transformation with fill. The input image is first rotated, then it is blended together with a gray mask of t
Megatron-LM/megatron/legacy/data/autoaugment.py:211
Methodrouting
Routing function. Args: logits (torch.Tensor): Logits tensor. Returns: Tuple[torch.Tensor, torch.Tensor]: A
Megatron-LM/megatron/core/transformer/moe/router.py:103
Methodrow_parallel_linear
Which row parallel linear module TE backend uses
Megatron-LM/megatron/core/extensions/transformer_engine_spec_provider.py:41
Methodrow_parallel_linear
Which row parallel linear module kitchen backend uses
Megatron-LM/megatron/core/extensions/kitchen.py:1040
Methodrow_parallel_linear
Which row parallel linear module the backend uses
Megatron-LM/megatron/core/models/backends.py:48
Functionrsync_simple
(path_src: str, path_dst: str)
slime/slime/utils/external_utils/command_utils.py:66
Methodrtol
(self)
Megatron-LM/tests/functional_tests/python_test_utils/common.py:53
Methodrun
(self, task: str, **kwargs)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:62
Methodrun
Model Chunk level 1f1b fine-grained scheduler. This function schedules the forward and backward passes for a model chunk, which inter
Megatron-LM/megatron/core/models/common/model_chunk_schedule_plan.py:435
Methodrun
(*flat_tensor_args)
Megatron-LM/megatron/core/transformer/multi_token_prediction.py:858
Functionrun_agent_system
并发运行 num_parallel 组 pipeline。
slime/examples/multi_agent/agent_system.py:187
Functionrun_bash_script
()
gui-rl/desktop_env/server/main.py:1667
Methodrun_bash_script
Executes a bash script on the server. :param script: The bash script content (can be multi-line) :param timeout: Exe
gui-rl/desktop_env/controllers/python.py:189
Methodrun_engine
Continually steps the engine asynchronously.
Megatron-LM/megatron/core/inference/engines/dynamic_engine.py:1409
Methodrun_evaluation
(request: RemoteEvaluationRequest)
Megatron-LM/megatron/rl/server/agent/fastapi_env_server.py:84
Methodrun_evaluation
Run evaluation across all sub-agents.
Megatron-LM/megatron/rl/agent/weighted_multi_task.py:266
Methodrun_evaluation
(self, request: EvaluationRequest)
Megatron-LM/megatron/rl/agent/reward_only_agent.py:191
Methodrun_one_forward_step
The forward pass of the model for inference Appropriate utility is called for the forward pass depending on the type of model parallelism use
Megatron-LM/megatron/core/inference/model_inference_wrappers/abstract_model_inference_wrapper.py:352
Functionrun_online_eval
Run an evaluation benchmark during training.
Megatron-LM/examples/multimodal/train.py:326
Functionrun_python
()
gui-rl/desktop_env/server/main.py:1572
Methodrun_python_script
Executes a python script on the server.
gui-rl/desktop_env/controllers/python.py:165
Functionrun_rollout
(data: dict)
slime/slime_plugins/rollout_buffer/buffer.py:298
Functionrun_rollout
(data: dict)
slime/slime_plugins/rollout_buffer/generator/base_generator.py:272
Functionrun_router
(args)
slime/slime/utils/http_utils.py:117
Functionrun_sqlite3
(result: str, rules: Dict[str, Any])
gui-rl/desktop_env/evaluators/metrics/general.py:273
Functionsample_loader
Load the sample from the raw data. Example content of wds data: - Example of wds data 100_100.img 100_100.jso
Megatron-LM/examples/mimo/data/avlm_sample_loader.py:3
Functionsample_simple_trajectory
Sample trajectory in simple format (list of messages).
swe-rl/mini-swe-agent/tests/run/test_inspector.py:32
Functionsample_swebench_trajectory
Sample trajectory in SWEBench format (dict with messages array).
swe-rl/mini-swe-agent/tests/run/test_inspector.py:47
Functionsanitize_search_query
(query: str)
slime/examples/search-r1/google_search_server.py:16
Functionsave
Save checkpoint to disk. Saves model weights and optimizer state to separate directories. This allows loading weights without optimizer or de
slime/slime/backends/fsdp_utils/checkpoint.py:203
Methodsave
(self, rollout_id)
gui-rl/gui_data_source.py:257
Methodsave
Orchestrate the entire flow of saving the Megatron checkpoint.
Megatron-LM/tools/checkpoint/saver_base.py:309
Methodsave
Each async strategy can be trivially used as a sync strategy.
Megatron-LM/megatron/core/dist_checkpointing/strategies/base.py:221
Methodsave
(self, sharded_state_dict: ShardedStateDict, checkpoint_dir: Union[str, Path])
Megatron-LM/megatron/core/dist_checkpointing/strategies/zarr.py:85
Methodsave
(self, rollout_id)
slime/slime/rollout/data_source.py:117
Functionsave_checkpoint
(queue, args)
Megatron-LM/tools/checkpoint/saver_legacy.py:28
Functionsave_checkpoint
Required top-level function that creates the saver and calls its .save().
Megatron-LM/tools/checkpoint/saver_hf_llava.py:393
Functionsave_checkpoint
Required top-level function that creates the saver and calls its .save().
Megatron-LM/tools/checkpoint/saver_llava.py:398
Methodsave_common
Save common part of the state dict.
Megatron-LM/megatron/core/dist_checkpointing/strategies/common.py:40
Methodsave_custom_attrs
(module)
Megatron-LM/megatron/core/distributed/torch_fully_sharded_data_parallel.py:89
Functionsave_debug_train_data
(args, *, rollout_id, rollout_data)
slime/slime/utils/train_dump_utils.py:9
Methodsave_model
Save actor model
slime/slime/ray/actor_group.py:119
Methodsave_model
(self, rollout_id: int, force_sync: bool = False)
slime/slime/backends/megatron_utils/actor.py:1415
Methodsave_model
Delegate checkpoint saving to the shared checkpoint utilities.
slime/slime/backends/fsdp_utils/actor.py:323
Methodsave_parameter_state
Save the distributed parameter state on DP rank 0. Args: filename (str): path to save parameter state to.
Megatron-LM/megatron/core/optimizer/distrib_optimizer.py:1117
Methodsave_parameter_state
(self, *args, **kwargs)
Megatron-LM/tests/unit_tests/test_checkpointing.py:66
Methodsave_pretrained
Saves tokenizer's vocabulary and other artifacts to the specified directory
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:338
Methodsave_sharded_objects
Save sharded objects from the state dict.
Megatron-LM/megatron/core/dist_checkpointing/strategies/common.py:50
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/azure/provider.py:85
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/aws/provider.py:90
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/docker/provider.py:150
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/virtualbox/provider.py:103
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/volcengine/provider.py:88
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/vmware/provider.py:87
Methodsave_state
(self, path_to_vm: str, snapshot_name: str)
gui-rl/desktop_env/providers/aliyun/provider.py:145
Functionsave_to_temp_file
(text: str, ext: str)
slime/slime/utils/external_utils/command_utils.py:254
Methodsave_vocabulary
Saves tokenizer's vocabulary and other artifacts to the specified directory
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:332
Methodsave_vocabulary
Save the tokenizer vocabulary and merge files to a directory.
Megatron-LM/megatron/training/tokenizer/gpt2_tokenization.py:291
Methodscale
(self)
Megatron-LM/megatron/core/optimizer/grad_scaler.py:18
Methodscale_gradients
Scale the gradient data by `scaling_factor`.
Megatron-LM/megatron/core/distributed/param_and_grad_buffer.py:863
Methodscale_gradients
Scale all gradients inside the buffers by `scaling_factor`.
Megatron-LM/megatron/core/distributed/distributed_data_parallel.py:534
Methodscale_gradients
Scale all gradients inside the buffers by `scaling_factor`.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/megatron_fsdp.py:1192
Methodscale_gradients
Scale the gradient data by `scaling_factor`.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:2376
Methodscale_loss
Simple scaling.
Megatron-LM/megatron/core/optimizer/optimizer.py:246
Functionscaled_loss_func
Scaled loss function Scale the loss for each conversation turn using the formula: 1 / sum_j[ sqrt(length(loss_turn_j)) ] * sum_i[ sum(l
Megatron-LM/examples/multimodal/train.py:193
Methodschedule_async_call
Spawn a process with `async_fn` as the target. This method must be called on all ranks. Args: async_fn (Callable, option
Megatron-LM/megatron/core/dist_checkpointing/strategies/async_utils.py:187
Methodschedule_async_call
Put `AsyncRequest` to the Persistent Async Caller This method must be called on all ranks. Args: async_fn (Callable, opt
Megatron-LM/megatron/core/dist_checkpointing/strategies/async_utils.py:303
Functionscope
Simple fixture returning golden values.
Megatron-LM/tests/functional_tests/python_test_utils/conftest.py:72
Methodsearch_mips_index
Get the top-k blocks by the index distance metric. :param reconstruct: if True: return a [num_queries x k x embed_dim]
Megatron-LM/megatron/legacy/data/realm_index.py:206
Methodselect_model
(self)
swe-rl/mini-swe-agent/src/minisweagent/models/extra/roulette.py:57
Methodselect_samples_to_pack
Selects which samples will be packed together. NOTE: Energon dataloader calls this method internally if packing is used. Please see h
Megatron-LM/examples/multimodal/dataset_helpers.py:869
Functionselective_log_softmax_raw
Fused version of the common `log_softmax -> gather` operation. The fused version of this operation avoids the (potentially large) memory overhead
slime/slime/backends/fsdp_utils/actor.py:855
Methodsend_model_over_queue
(self)
Megatron-LM/tools/checkpoint/loader_core.py:69
Methodsend_model_over_queue
(self)
Megatron-LM/tools/checkpoint/loader_llava.py:311
Methodsep
Returns id of SEP token.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:236
Methodsep
Returns sep token.
Megatron-LM/megatron/core/tokenizers/text/libraries/null_tokenizer.py:70
Methodsep
The SEP token id Raises: NotImplementedError: Non-abstract, optional attribute
Megatron-LM/megatron/core/datasets/megatron_tokenizer.py:111
Methodsep
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:279
Methodsep
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:510
Methodsep
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:562
Methodsep
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:616
Methodsep
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:855
Methodsep
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:928
Methodsep_id
Returns id of SEP token. Need for NeMo.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:241
Methodsep_id
Returns id of SEP token.
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:305
Methodsep_id
Returns id of end of SEP token.
Megatron-LM/megatron/core/tokenizers/text/libraries/sentencepiece_tokenizer.py:341
Methodsep_id
Property alias to match MegatronTokenizer; returns sep_id if available.
Megatron-LM/megatron/core/tokenizers/text/libraries/abstract_tokenizer.py:103
Methodsep_id
Returns id of SEP token.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:276
Methodsequence_lengths
Get the sequence lengths Returns: numpy.ndarray: The sequence lengths
Megatron-LM/megatron/core/datasets/indexed_dataset.py:764
Methodsequence_modes
Get the sequence modes Returns: numpy.ndarray: The sequence modes
Megatron-LM/megatron/core/datasets/indexed_dataset.py:802
Methodserialize
Converts the instance into a serializable dictionary. Returns: (dict) A dictionary representation of the instance suitable for
Megatron-LM/megatron/core/inference/inference_request.py:188
Methodserialize
Converts the instance into a serializable dictionary. Returns: (dict) A dictionary representation of the instance suitable for
Megatron-LM/megatron/core/inference/inference_request.py:273
← previousnext →8,601–8,700 of 10,561, ranked by callers