MCPcopy Create free account

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

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

Functionexecute_command_with_verification
Execute command and verify the result based on provided verification criteria
gui-rl/desktop_env/server/main.py:122
Functionexecute_python_code
Execute Python code and return the output.
slime/examples/strands_sglang/generate_with_strands.py:37
Functionexperimental
Simple fixture setting the experimental flag [CPU | GPU]
Megatron-LM/tests/unit_tests/conftest.py:31
Functionexperimental_api
Mark a function or class as experimental API. Use this decorator for: - Experimental features that may change without notice - New A
Megatron-LM/megatron/core/utils.py:2481
Functionexperimental_cls
A decorator that marks a Class as experimental. Experimental Classes may change quickly and do not guarantee backwards compatiblity. Expe
Megatron-LM/megatron/core/utils.py:166
Functionexperimental_fn
A decorator that marks a function as experimental. Experimental functions may change quickly and do not guarantee backwards compatiblity.
Megatron-LM/megatron/core/utils.py:102
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:156
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:313
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:377
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:455
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:152
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:284
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:342
Methodextra_repr
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:411
Functionextract_answers_from_pdf
(pdf_file)
gui-rl/desktop_env/evaluators/metrics/pdf.py:17
Functionextract_sharded_tensors_or_nonpersistent
Extract a dict consisting of only ShardedTensor, ShardedTensorFactory and LocalNonpersistentObject objects from a given state dict with any object
Megatron-LM/megatron/core/dist_checkpointing/utils.py:107
Methodextract_tensors
(arg)
Megatron-LM/megatron/core/transformer/cuda_graphs.py:1018
Methodfailed
Request experienced non-transient error.
Megatron-LM/megatron/core/inference/inference_request.py:365
Functionfast_gelu
Fast GELU activation
Megatron-LM/megatron/core/activations.py:21
Functionfile_contains
(file_path, config)
gui-rl/desktop_env/evaluators/metrics/general.py:554
Methodfill_empty_gpus
Recursively check for empty GPUs and redistribute work by increasing the number of GPUs sharing samples. This ensures all GPU
Megatron-LM/megatron/core/pipeline_parallel/hybrid_cp_schedule.py:345
Functionfill_in_sharded_item
(x: Any)
Megatron-LM/megatron/core/dist_checkpointing/strategies/fully_parallel.py:510
Functionfilter_links
(search_results: list[dict])
slime/examples/search-r1/google_search_server.py:30
Methodfinalize_fn
()
Megatron-LM/megatron/core/dist_checkpointing/strategies/torch.py:843
Functionfinalize_load
(actor: Any, checkpoint_payload: dict[str, Any] | None)
slime/slime/backends/fsdp_utils/checkpoint.py:175
Methodfinalize_options
(self)
slime/setup.py:15
Methodfinalize_response
(self, model_response: Any)
terminal-rl/agent/camel_agent.py:575
Methodfind_class
(self, mod_name, name)
slime/tools/convert_fsdp_to_hf.py:15
Methodfind_class
(self, mod_name, name)
slime/tools/convert_torch_dist_to_hf.py:21
Functionfind_closest_area_weighted_aspect_ratio
Find the best number of tiles based on the aspect ratio and the area covered by the tiles.
Megatron-LM/examples/multimodal/image_processing.py:47
Functionfind_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
Megatron-LM/examples/multimodal/image_processing.py:31
Functionfind_default_font
Find the default font in LibreOffice Writer.
gui-rl/desktop_env/evaluators/metrics/docs.py:99
Functionfinetune
Main finetune function used across all tasks.
Megatron-LM/tasks/finetune_utils.py:239
Functionfinish
Flush E2E metrics to remote server
Megatron-LM/megatron/training/one_logger_utils.py:463
Methodfinish_grad_sync
Finishes grad sync (all-reduce or reduce-scatter) communication operations for all buckets in the bucket group. When ddp_con
Megatron-LM/megatron/core/distributed/param_and_grad_buffer.py:497
Methodfinish_grad_sync
Finishes grad sync (all-reduce or reduce-scatter) communication operations for all model gradients. When overlap_grad_reduce
Megatron-LM/megatron/core/distributed/distributed_data_parallel.py:522
Methodfinish_init
Required post-init of quantization configuration.
Megatron-LM/megatron/core/extensions/kitchen.py:558
Methodfinish_init
Required post-init of quantization configuration.
Megatron-LM/megatron/core/extensions/kitchen.py:938
Methodfinished
Whether the stream has finished
Megatron-LM/megatron/core/inference/async_stream.py:51
Functionfix_and_split_blend_pair
(pair)
Megatron-LM/tools/retro/sft/sft_retro.py:198
Functionflat_copy
(path: OBJ_PATH, value: Any)
Megatron-LM/megatron/core/dist_checkpointing/strategies/torch.py:124
Functionflatten_config
(config, base_config_cls=None)
Megatron-LM/tools/retro/config_utils.py:610
Methodfloat16_convertor
(val)
Megatron-LM/megatron/core/transformer/module.py:403
Functionfloat_conversion
(val)
Megatron-LM/megatron/legacy/model/module.py:155
Functionfloat_conversion
(val)
Megatron-LM/megatron/core/transformer/module.py:368
Methodflops
(self, N)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:159
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:317
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:380
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:499
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:705
Methodflops
(self, N)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:155
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:288
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:345
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:463
Methodflops
(self)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:595
Methodforce_eod
To force an EOD at the end of every data sample in SFT.
Megatron-LM/megatron/training/tokenizer/sft_tokenizer.py:164
Methodfork
Mirrors the interface from the training RNG tracker.
Megatron-LM/megatron/core/tensor_parallel/random.py:334
Methodfork
Mirrors the interface from the training RNG tracker.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/utils.py:386
Methodformat
(self, messages: list[LLMChatMessage], tools: list[dict] | None = None)
Megatron-LM/megatron/rl/inference/chat_templates.py:45
Methodformat_mem_bytes
(mem_bytes)
Megatron-LM/megatron/core/transformer/cuda_graphs.py:254
Functionforward
forward host function
Megatron-LM/megatron/core/fusions/linear_cross_entropy/blackwell/entry.py:67
Methodforward
(ctx, logits, idx_global, tp_group, tp_world, tp_rank)
openclaw-combine/hint_opd_loss.py:115
Methodforward
(ctx, input_)
Megatron-LM/pretrain_ict.py:48
Methodforward
(self, model_input, attention_mask, tokentype_ids=None)
Megatron-LM/megatron/legacy/model/classification.py:52
Methodforward
(self, input_ids, attention_mask, tokentype_ids=None)
Megatron-LM/megatron/legacy/model/realm_model.py:170
Methodforward
(self, input)
Megatron-LM/megatron/legacy/model/fused_layer_norm.py:78
Methodforward
(ctx, inputs, scale)
Megatron-LM/megatron/legacy/model/fused_softmax.py:18
Methodforward
(ctx, inputs, mask, scale)
Megatron-LM/megatron/legacy/model/fused_softmax.py:56
Methodforward
(self, input, mask)
Megatron-LM/megatron/legacy/model/fused_softmax.py:161
Methodforward
(self, hidden_states, word_embeddings_weight)
Megatron-LM/megatron/legacy/model/t5_model.py:56
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/rms_norm.py:30
Methodforward
(self, hidden_states, sequence_index=0)
Megatron-LM/megatron/legacy/model/language_model.py:109
Methodforward
(self, input_ids, position_ids, tokentype_ids=None)
Megatron-LM/megatron/legacy/model/language_model.py:218
Methodforward
( self, enc_input_ids, enc_position_ids, enc_attn_mask, dec_input_ids=
Megatron-LM/megatron/legacy/model/language_model.py:474
Methodforward
Run a forward pass for each of the models and return the respective embeddings.
Megatron-LM/megatron/legacy/model/biencoder_model.py:114
Methodforward
(self, input_ids, attention_mask, tokentype_ids=None)
Megatron-LM/megatron/legacy/model/biencoder_model.py:280
Methodforward
(ctx, input, bias)
Megatron-LM/megatron/legacy/model/fused_bias_gelu.py:34
Methodforward
(self, hidden_state)
Megatron-LM/megatron/legacy/model/transformer.py:85
Methodforward
(self, hidden_states)
Megatron-LM/megatron/legacy/model/transformer.py:161
Methodforward
(self, hidden_states)
Megatron-LM/megatron/legacy/model/transformer.py:245
Methodforward
(self, query_layer, key_layer, value_layer, attention_mask)
Megatron-LM/megatron/legacy/model/transformer.py:363
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and value.
Megatron-LM/megatron/legacy/model/transformer.py:472
Methodforward
(self, hidden_states, attention_mask, encoder_output=None, inference_context=None,
Megatron-LM/megatron/legacy/model/transformer.py:657
Methodforward
(self, hidden_states, attention_mask, encoder_output=None, enc_dec_attn_mask=None,
Megatron-LM/megatron/legacy/model/transformer.py:1168
Methodforward
(self, hidden_states, attention_mask, encoder_output=None, enc_dec_attn_mask=None,
Megatron-LM/megatron/legacy/model/transformer.py:1334
Methodforward
(self, hidden_states, attention_mask, encoder_output=None, enc_dec_attn_mask=None,
Megatron-LM/megatron/legacy/model/transformer.py:1685
Methodforward
(self, hidden_states, word_embeddings_weight)
Megatron-LM/megatron/legacy/model/bert_model.py:74
Methodforward
(self, bert_model_input, attention_mask, tokentype_ids=None, lm_labels=None, inference_context
Megatron-LM/megatron/legacy/model/bert_model.py:175
Methodforward
(self, model_input, attention_mask, tokentype_ids=None)
Megatron-LM/megatron/legacy/model/multiple_choice.py:49
Methodforward
(self, input)
Megatron-LM/megatron/legacy/model/vision/classification.py:48
Methodforward
(self, input)
Megatron-LM/megatron/legacy/model/vision/classification.py:82
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:36
Methodforward
Args: x: input features with shape of (num_windows*B, N, C) mask: (0/-inf) mask with shape of (num_windows, Wh*Ww, Wh
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:122
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:255
Methodforward
Forward function. Args: x: Input feature, tensor size (B, H*W, C). H, W: Spatial resolution of the input feature.
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:347
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:429
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:490
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:598
Methodforward
Cross-entropy between softmax outputs of the teacher and student network.
Megatron-LM/megatron/legacy/model/vision/dino.py:41
Methodforward
(self, x)
Megatron-LM/megatron/legacy/model/vision/dino.py:111
← previousnext →7,301–7,400 of 10,561, ranked by callers