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
↓ 1 callers
Method
get_reviewers
Get filtered reviewer emails who haven't approved yet.
Megatron-LM/tests/test_utils/python_scripts/auto_reminder_github.py:142
↓ 1 callers
Method
get_reward_rollouts
(self, request: RolloutRequest)
Megatron-LM/megatron/rl/server/agent/fastapi_env_server.py:146
↓ 1 callers
Function
get_rollout_data
(api_base_url: str)
slime/slime_plugins/rollout_buffer/rollout_buffer_example.py:138
↓ 1 callers
Function
get_rollout_data_iterator
( model: LanguageModule, optimizer: MegatronOptimizer, iteration: int, ref_state_dict: Dict[st
Megatron-LM/megatron/rl/rl_utils.py:1931
↓ 1 callers
Function
get_rollout_generator
(args, inference_interface, n_prompts, samples_per_group)
Megatron-LM/megatron/rl/rl_utils.py:569
↓ 1 callers
Function
get_router_linear_layer
(config)
Megatron-LM/megatron/legacy/model/transformer.py:195
↓ 1 callers
Function
get_routing_replay_compute_topk
(old_compute_topk)
slime/slime/utils/routing_replay.py:57
↓ 1 callers
Method
get_save_function_and_args
Get function that saves the data to storage along with its arguments. Allows the external caller to apply the save function synchrono
Megatron-LM/megatron/core/dist_checkpointing/strategies/filesystem_async.py:191
↓ 1 callers
Method
get_shard_from_bucket
Get the shard from the provided bucket associated with the sharding strategy of this buffer.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:1183
↓ 1 callers
Method
get_sharded_state_dict
(self, ranks_placement: RanksPlacementT)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:461
↓ 1 callers
Function
get_signal_handler
()
Megatron-LM/megatron/training/global_vars.py:72
↓ 1 callers
Method
get_skipped_iterations_from_tracker_file
Get list of iterations to skip from results recorded in tracker file. If an "abnormality" (e.g., NaN or infinity in gradient) is seen more tha
Megatron-LM/megatron/core/rerun_state_machine.py:967
↓ 1 callers
Function
get_sliding_window_causal_mask
Create the equivalent attention mask for SWA in [sq, skv] shape
Megatron-LM/megatron/core/transformer/utils.py:38
↓ 1 callers
Method
get_stage
Get current review stage.
Megatron-LM/tests/test_utils/python_scripts/swap_pr_labels.py:47
↓ 1 callers
Function
get_start_time_from_progress_log
Gets start time of earliest job with same world size. Also returns the number of floating-point operations completed in last saved checkpoint
Megatron-LM/megatron/training/training.py:539
↓ 1 callers
Method
get_states
Get rng states. Copy the dictionary so we have direct pointers to the states, not just a pointer to the dictionary.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/utils.py:301
↓ 1 callers
Function
get_student_backbone_and_num_features
(config, pre_process=True, post_process=True)
Megatron-LM/megatron/legacy/model/vision/dino.py:176
↓ 1 callers
Function
get_synthetic_requests
Get example requests.
Megatron-LM/examples/inference/gpt/utils.py:266
↓ 1 callers
Method
get_system_message_length
(self)
slime/slime/utils/mask_utils.py:26
↓ 1 callers
Function
get_t5_decoder_with_local_block_spec
T5 decoder block spec for local (uses Megatron-Core components) Args: num_layers (int): number of decoder layers
Megatron-LM/megatron/core/models/T5/t5_spec.py:242
↓ 1 callers
Function
get_t5_encoder_with_local_block_spec
T5 encoder block spec for local (uses Megatron-Core components) Args: num_layers (int): number of encoder layers
Megatron-LM/megatron/core/models/T5/t5_spec.py:230
↓ 1 callers
Function
get_tasks_args
Provide extra arguments required for tasks.
Megatron-LM/tools/retro/sft/sft_retro.py:28
↓ 1 callers
Function
get_te_version_str
()
Megatron-LM/megatron/core/utils.py:328
↓ 1 callers
Function
get_te_version_str
()
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/utils.py:59
↓ 1 callers
Function
get_teacher_backbone_and_num_features
(config, pre_process=True, post_process=True)
Megatron-LM/megatron/legacy/model/vision/dino.py:198
↓ 1 callers
Method
get_template_vars
(self)
swe-rl/mini-swe-agent/src/minisweagent/environments/extra/bubblewrap.py:111
↓ 1 callers
Method
get_template_vars
(self)
swe-rl/mini-swe-agent/src/minisweagent/models/openrouter_model.py:117
↓ 1 callers
Function
get_tensor
(tensor_name)
slime/tools/fp8_cast_bf16.py:59
↓ 1 callers
Function
get_test_cases
(yaml_file)
Megatron-LM/tests/unit_tests/find_test_cases.py:9
↓ 1 callers
Method
get_test_image
()
Megatron-LM/tests/functional_tests/test_cases/common/ckpt_converter/__main__.py:655
↓ 1 callers
Function
get_thd_batch_on_this_cp_rank
Slice each sub-sample in a packed sample batch input along sequence dimension into multiple chunks, which are parallelized across GPUs in a co
Megatron-LM/megatron/core/utils.py:2005
↓ 1 callers
Function
get_timezone_from_config
Get timezone from config, with fallback options Priority: config timezone > default_timezone > IP-based timezone > UTC
gui-rl/desktop_env/evaluators/getters/misc.py:389
↓ 1 callers
Function
get_timezone_from_ip
Get timezone from IP address using IP geolocation API Returns timezone string like 'Europe/Zurich' or 'UTC' as fallback
gui-rl/desktop_env/evaluators/getters/misc.py:368
↓ 1 callers
Method
get_tool_specs
Get all tool specifications as a list
toolcall-rl/tool_sandbox.py:333
↓ 1 callers
Function
get_torch_version_str
()
Megatron-LM/megatron/core/utils.py:300
↓ 1 callers
Method
get_total
Get total energy consumption (J) across all GPUs.
Megatron-LM/megatron/core/energy_monitor.py:83
↓ 1 callers
Function
get_total_num_experts
Get the total number of experts for the current model. Args: num_experts: Total number of experts in the model. If None, returns 0.
Megatron-LM/megatron/core/transformer/fsdp_dtensor_checkpoint.py:68
↓ 1 callers
Method
get_total_workload
seq_length: sequence length of a sub-sample cp_size: total number of CP ranks working on this sub-sample Note: This
Megatron-LM/megatron/core/pipeline_parallel/hybrid_cp_schedule.py:28
↓ 1 callers
Function
get_train_data_iterator
Create a mock dataset and return a data iterator. Returns: Iterator: Data iterator for training batches.
Megatron-LM/examples/run_simple_mcore_train_loop.py:79
↓ 1 callers
Function
get_train_valid_test_split_
Get dataset splits from comma or '/' separated string list.
Megatron-LM/megatron/legacy/data/dataset_utils.py:614
↓ 1 callers
Function
get_training_data_block_paths
Get paths to saved embedding blocks. Args: config (RetroPreprocessingConfig): Retro preprocessing config. Returns: Paths of
Megatron-LM/megatron/core/datasets/retro/index/utils.py:78
↓ 1 callers
Method
get_turn_context
( self, )
terminal-rl/rollout_agent.py:17
↓ 1 callers
Function
get_unflattened_state_dict
Get a value from an unflattened state_dict at the specified key chain.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/uneven_dtensor.py:221
↓ 1 callers
Function
get_unique_train_ids
(initial_file)
gui-rl/desktop_env/evaluators/metrics/docs.py:896
↓ 1 callers
Function
get_unit_test_analytics
(pipeline_id: int)
Megatron-LM/tests/test_utils/python_scripts/dashboard.py:46
↓ 1 callers
Function
get_values
Extract per-token value predictions over response tokens. For each sample, extracts response-aligned chunks from the value head output and sq
slime/slime/backends/megatron_utils/loss.py:502
↓ 1 callers
Function
get_vicuna_language_layer_spec
Layer spec for the language model (Transformer-Engine GPT block).
Megatron-LM/examples/mimo/configs/llava_vlm.py:103
↓ 1 callers
Function
get_vicuna_language_layer_spec
Layer spec for the language model (Transformer-Engine GPT block).
Megatron-LM/examples/mimo/configs/llava_avlm.py:46
↓ 1 callers
Function
get_vision_model_schema
( vision_model_type, prefix: T.Optional[str] = "", layer_prefix: T.Optional[str] = "", use_swi
Megatron-LM/tools/checkpoint/schema_hf.py:160
↓ 1 callers
Function
get_vit_layer_with_local_spec
Returns ViT layer spec with Mcore local layers
Megatron-LM/megatron/core/models/vision/vit_layer_specs.py:61
↓ 1 callers
Function
get_vm_command_line
(env, config: Dict[str, str])
gui-rl/desktop_env/evaluators/getters/general.py:8
↓ 1 callers
Method
get_vm_desktop_path
Gets the desktop path of the vm.
gui-rl/desktop_env/controllers/python.py:529
↓ 1 callers
Function
get_vm_ip
(vm_name)
gui-rl/desktop_env/providers/virtualbox/manager.py:237
↓ 1 callers
Method
get_vm_path
Get a virtual machine that is not occupied, generate a new one if no free VM.
gui-rl/desktop_env/providers/base.py:93
↓ 1 callers
Method
get_vm_wallpaper
Gets the wallpaper of the vm.
gui-rl/desktop_env/controllers/python.py:507
↓ 1 callers
Method
get_vm_window_size
Gets the size of the vm app window.
gui-rl/desktop_env/controllers/python.py:485
↓ 1 callers
Function
get_wallpaper_linux
()
gui-rl/desktop_env/server/main.py:1056
↓ 1 callers
Function
get_wallpaper_macos
()
gui-rl/desktop_env/server/main.py:1045
↓ 1 callers
Function
get_wallpaper_windows
()
gui-rl/desktop_env/server/main.py:1038
↓ 1 callers
Function
get_world_size
()
Megatron-LM/megatron/training/dist_signal_handler.py:6
↓ 1 callers
Method
global_coordinates
Returns a tuple of np.ndarrays representing the coordinates of the global tensor that this ShardedTensor corresponds to.
Megatron-LM/megatron/core/dist_checkpointing/mapping.py:184
↓ 1 callers
Function
golden_rank_result_from_past_code
( world_size: int, tensor_model_parallel_size: int = 1, pipeline_model_parallel_size:
Megatron-LM/tests/unit_tests/test_parallel_state.py:313
↓ 1 callers
Function
google_search
(api_key, query, top_k=5, timeout: int = 60, proxy=None, snippet_only=False)
slime/examples/search-r1/google_search_server.py:94
↓ 1 callers
Function
gpt_builder
(args, pre_process, post_process, vp_stage=None, config=None)
Megatron-LM/gpt_builders.py:28
↓ 1 callers
Function
greedy_knapsack
Greedy algorithm with binary search for the knapsack problem. Pack as many samples as possible given a maximum capacity and capacities of individ
Megatron-LM/examples/multimodal/dataset_helpers.py:103
↓ 1 callers
Function
group_limited_topk
Perform top-k routing on a subset of expert groups. When using group-limited routing: 1. Experts are divided into 'moe_router_num_groups' equ
Megatron-LM/megatron/core/transformer/moe/moe_utils.py:437
↓ 1 callers
Method
group_rollout
(self, request: GroupedRolloutRequest)
Megatron-LM/megatron/rl/agent/api.py:178
↓ 1 callers
Method
grouped_mlp_modules
Which module and submodules to use for grouped mlp
Megatron-LM/megatron/core/models/backends.py:117
↓ 1 callers
Function
grouper
Fold an iterable into a list of lists of size n.
Megatron-LM/megatron/rl/inference/inference_interface.py:24
↓ 1 callers
Function
handle_fp8_extra_state_case
Handle the case where FP8 extra state is present in the model state dict.
Megatron-LM/megatron/core/transformer/fsdp_dtensor_checkpoint.py:341
↓ 1 callers
Function
has_correct_header
Check if file has the correct copyright header.
Megatron-LM/tools/check_copyright.py:14
↓ 1 callers
Function
has_exempt_decorator
Check if a Griffe object has any exempt decorator. Args: obj: A Griffe Object to check for exempt decorators Returns:
Megatron-LM/scripts/check_api_backwards_compatibility.py:66
↓ 1 callers
Method
has_final_layernorm_in_this_stage
Check if this vpp stage contains the final layernorm. Note: Final layernorm now has been moved from the post-process sta
Megatron-LM/megatron/core/transformer/transformer_block.py:390
↓ 1 callers
Method
has_finished
Raises Submitted exception with final output if the agent has finished its task.
swe-rl/mini-swe-agent/src/minisweagent/agents/default.py:127
↓ 1 callers
Function
has_layer_index
(key: str)
Megatron-LM/tools/checkpoint/checkpoint_inspector.py:486
↓ 1 callers
Function
has_modelopt_state
Check if modelopt_state folder exists inside the checkpoint. Args: checkpoint_path: Path to the checkpoint directory Returns:
Megatron-LM/megatron/post_training/checkpointing.py:22
↓ 1 callers
Method
has_position_embeddings
(self, model)
Megatron-LM/tools/checkpoint/schema_base.py:90
↓ 1 callers
Function
has_repetition
(text: str)
slime/slime/utils/metric_utils.py:113
↓ 1 callers
Method
head_object
Get the metadata of the file in S3
Megatron-LM/megatron/core/datasets/object_storage_utils.py:57
↓ 1 callers
Method
heartbeat
(self, run_lease_id: str)
terminal-rl/remote/pool_server.py:226
↓ 1 callers
Method
heartbeat
(self, lease_id: str)
gui-rl/env_client.py:30
↓ 1 callers
Method
heartbeat
(self, lease_id: str)
gui-rl/env_pool_server.py:209
↓ 1 callers
Method
heartbeat
(self, lease_id: str)
swe-rl/swe_env_client.py:68
↓ 1 callers
Method
heartbeat
(self, lease_id: str)
swe-rl/server/swe_env_pool_server.py:140
↓ 1 callers
Method
hf_forward
(self, hidden_states: torch.Tensor, packed_seq_params: PackedSeqParams)
slime/slime_plugins/megatron_bridge/qwen35_vl.py:133
↓ 1 callers
Method
hf_forward
Huggingface forward function
slime/slime_plugins/models/hf_attention.py:182
↓ 1 callers
Function
hf_validate_args
(args, hf_config)
slime/slime/utils/arguments.py:2030
↓ 1 callers
Function
hint_opd_loss_function
Slime ``--custom-loss-function-path`` entry point.
openclaw-combine/hint_opd_loss.py:437
↓ 1 callers
Function
hybrid_context_parallel_forward_backward
Scheduler for Hybrid Context Parallel. This function performs the packed sample scheduling and determines 1. The number of microbatches
Megatron-LM/megatron/core/pipeline_parallel/hybrid_cp_schedule.py:477
↓ 1 callers
Function
hybrid_ep_combine
Perform fused combine operation for unpermute + combine a2a + unpermute using the HybridEP backend args: x (torc
Megatron-LM/megatron/core/transformer/moe/fused_a2a.py:498
↓ 1 callers
Function
hybrid_ep_dispatch
Perform fused dispatch for "permute + dispatch a2a + permute" using the HybridEP backend. Args: x (torch.Tensor)
Megatron-LM/megatron/core/transformer/moe/fused_a2a.py:447
↓ 1 callers
Function
hybrid_flops
Calculate total FLOPs for the hybrid model.
Megatron-LM/megatron/training/training.py:235
↓ 1 callers
Method
id_to_token
Convert an ID to its corresponding token.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:118
↓ 1 callers
Method
id_to_token
Converts token id to token.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:181
↓ 1 callers
Function
idealContainer
()
slime/docs/_static/js/lang-toggle.js:79
↓ 1 callers
Method
ids_to_text
Convert a list of IDs to a text.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:79
↓ 1 callers
Method
ids_to_tokens
Converts list of tokens ids to it's token values.
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:231
↓ 1 callers
Function
import_class_by_path
(path: str)
Megatron-LM/tests/unit_tests/test_imports.py:26
↓ 1 callers
Method
import_model_provider
Return the correct model_provider function depending on GPT vs. BERT.
Megatron-LM/tools/checkpoint/loader_base.py:488
↓ 1 callers
Method
import_model_provider
Return the correct model_provider function.
Megatron-LM/tools/checkpoint/saver_base.py:610
← previous
next →
4,301–4,400 of 10,561, ranked by callers