MCPcopy Create free account

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

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

Functioncompare_config
(actual: str, rules: Dict, **options)
gui-rl/desktop_env/evaluators/metrics/vscode.py:166
Functioncompare_contains_image
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:681
Functioncompare_csv
Compare CSV files. If expected is a list, returns 1.0 if result matches any of the expected files. Args: result: Path to result CSV
gui-rl/desktop_env/evaluators/metrics/table.py:182
Functioncompare_docx_files_and_ignore_new_lines
(file1, file2, **options)
gui-rl/desktop_env/evaluators/metrics/docs.py:980
Functioncompare_docx_images
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:340
Functioncompare_docx_lines
(file1, file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:956
Functioncompare_docx_tables
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:307
Functioncompare_epub
(result: str, expected: str)
gui-rl/desktop_env/evaluators/metrics/others.py:72
Functioncompare_font_names
(docx_file, rules: List[Dict[str, Any]])
gui-rl/desktop_env/evaluators/metrics/docs.py:555
Functioncompare_highlighted_text
(file1, file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:1022
Functioncompare_htmls
Compare two HTML files.
gui-rl/desktop_env/evaluators/metrics/chrome.py:371
Functioncompare_image_list
Compare two image lists, only if all images are the same, return 1.0, otherwise return 0.0
gui-rl/desktop_env/evaluators/metrics/gimp.py:8
Functioncompare_images
(image1_path, image2_path, **options)
gui-rl/desktop_env/evaluators/metrics/vlc.py:184
Functioncompare_init_lines
(file1, file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:283
Functioncompare_insert_equation
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:533
Functioncompare_line_spacing
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:504
Functioncompare_pdf_images
(pdf1_path: str, pdf2_path: str, **kwargs)
gui-rl/desktop_env/evaluators/metrics/chrome.py:235
Functioncompare_pdfs
Compare two PDF files.
gui-rl/desktop_env/evaluators/metrics/chrome.py:198
Functioncompare_pptx_files
(file1_path, file2_path, **options)
gui-rl/desktop_env/evaluators/metrics/slides.py:190
Functioncompare_python_pure_text
(py_file_path, gold_file_path)
gui-rl/desktop_env/evaluators/metrics/general.py:601
Functioncompare_references
(file1, file2, **options)
gui-rl/desktop_env/evaluators/metrics/docs.py:1062
Functioncompare_result_files
Compare whether the content of two files are the same. multi-app:7f35355e-02a6-45b5-b140-f0be698bcf85
gui-rl/desktop_env/evaluators/metrics/vscode.py:381
Functioncompare_subscript_contains
(docx_file1, docx_file2)
gui-rl/desktop_env/evaluators/metrics/docs.py:575
Functioncompare_table
Args: result (str): path to result xlsx expected (str): path to golden xlsx rules (List[Dict[str, Any]]): list of dict li
gui-rl/desktop_env/evaluators/metrics/table.py:237
Functioncompare_terminal_and_txt
(txt_file_path, terminal_output)
gui-rl/desktop_env/evaluators/metrics/general.py:590
Functioncompare_text_file
Args: actual (str): path to result text file expected (str): path to gold text file Return: float: the score
gui-rl/desktop_env/evaluators/metrics/vscode.py:77
Functioncompare_time_in_speedtest_results
(speedtest_result_path, time_diff)
gui-rl/desktop_env/evaluators/metrics/general.py:483
Functioncompare_triangle_positions
(image1, image2)
gui-rl/desktop_env/evaluators/metrics/gimp.py:137
Functioncompare_two_checkpoint
Compare two checkpoints.
Megatron-LM/tools/checkpoint/checkpoint_inspector.py:923
Functioncompare_unique_train_records
Compares the processed file with a list of expected files containing the gold standard and the initial document. expected_files[0] should
gui-rl/desktop_env/evaluators/metrics/docs.py:1120
Functioncompare_videos
(video_path1, video_path2, max_frames_to_check=100, threshold=5)
gui-rl/desktop_env/evaluators/metrics/vlc.py:296
Functioncompare_zip_files
Args: actual (str): path to result zip file expected (str): path to gold zip file Return: float: the score
gui-rl/desktop_env/evaluators/metrics/vscode.py:133
Methodcompatible_model
(**kwargs)
swe-rl/mini-swe-agent/tests/models/test_init.py:90
Methodcompose
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:150
Methodcompose
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:303
Methodcompose
(self)
swe-rl/mini-swe-agent/src/minisweagent/run/inspector.py:126
Methodcompose
(self)
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:541
Functioncompute_lp
(logits_chunk, tokens_col)
openclaw-rl/oel/oel_distillation_loss.py:176
Methodcompute_macs
(module, input, output)
Megatron-LM/megatron/legacy/model/vision/esvit_swin_backbone.py:173
Functioncompute_mis_weights_fsdp
Compute masked importance sampling weights for FSDP. No context parallelism. Args: args: Arguments containing MIS settings (use_tis, tis_
slime/examples/train_infer_mismatch_helper/mis.py:454
Functioncompute_mis_weights_with_cp
Compute the importance sampling (IS) weights and metrics with context parallel. Args: train_log_probs: List of log probs from trainin
slime/examples/train_infer_mismatch_helper/mis.py:310
Methodcompute_student_topk
Run an old_actor forward and return ONLY the student top-K indices. Used by ``--distill-subset-mode student``: the outer training loop
slime/slime/backends/megatron_utils/actor.py:802
Functioncompute_topk
(scores, topk, num_groups=None, group_topk=None)
slime/slime/utils/routing_replay.py:58
Functioncompute_ttl_seconds
(ttl_minutes: int)
gui-rl/desktop_env/providers/aws/config.py:15
Functioncompute_ttl_seconds
(ttl_minutes: int)
gui-rl/desktop_env/providers/aliyun/config.py:25
Methodconfig
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:287
Functionconfig_from_args
(args, config_cls, add_custom_args=False)
Megatron-LM/tools/retro/config_utils.py:579
Methodconfigured
Can be called to check if the instance is already configured Returns: bool: returns True if configure was called and was a succes
Megatron-LM/megatron/core/utils.py:1857
Methodconnect_actor_critic
(self, critic_group)
slime/slime/ray/train_actor.py:124
Methodconnect_actor_critic
( self, actor_handle: ActorHandle | None = None, master_address: str | None = None,
slime/slime/backends/megatron_utils/actor.py:1517
Methodconnect_rollout_engines
Create NCCL "slime-pp_{pp_rank}" if PP source (DP=TP=0). Lock prevents concurrent broadcasts.
slime/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py:45
Methodconnect_rollout_engines
Attach rollout engines and create per-engine IPC (Gloo) groups. Sets the gather source rank, engine handle, and `tp_rank` within the
slime/slime/backends/fsdp_utils/update_weight_utils.py:96
Methodconnect_rollout_engines
On rank 0, initialize a temporary NCCL group for parameter broadcast.
slime/slime/backends/fsdp_utils/update_weight_utils.py:185
Methodconsume_completion
( self, chat_completion: Any )
terminal-rl/agent/camel_agent.py:406
Functioncontainer_create
Create a detached container from a SWE-Bench image. Request JSON: image (str): full image name, e.g. docker.io/xingyaoww/sweb.eval.x86_
swe-rl/server/swe_exec_server.py:114
Functioncontainer_destroy
Stop and remove a container. Request JSON: container_id (str): container ID or name
swe-rl/server/swe_exec_server.py:229
Functioncontainer_diff
Get the git patch from the container's working directory. Request JSON: container_id (str): container ID or name cwd (str):
swe-rl/server/swe_exec_server.py:202
Functioncontainer_evaluate
Apply a git patch and run the eval script inside the container. This replicates what swe_utils.evaluate_trajectory() does locally, but execut
swe-rl/server/swe_exec_server.py:250
Functioncontainer_exec
Execute a bash command inside a running container. Request JSON: container_id (str): container ID or name command (str): bas
swe-rl/server/swe_exec_server.py:158
Functioncontains_page_break
(docx_file, rules)
gui-rl/desktop_env/evaluators/metrics/docs.py:125
Methodcontinue_generation
(self)
slime/slime/backends/sglang_utils/sglang_engine.py:421
Methodcontrastive_rollouts
( request: RemoteRolloutRequest, )
Megatron-LM/megatron/rl/server/agent/fastapi_env_server.py:66
Functionconvert
(sample)
toolcall-rl/sft_data_processing.py:6
Functionconvert_bbox_format
(bbox, image_ele: dict, *, src_format: str, tgt_format: str)
gui-rl/agents/utils/qwen_vl_utils.py:158
Functionconvert_checkpoint
( model_name, megatron_model_type, num_gpus_per_node: int, multinode: bool = False, extra_
slime/slime/utils/external_utils/command_utils.py:21
Functionconvert_ids_to_tokens
(inv_vocab, ids)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:148
Methodconvert_ids_to_tokens
(self, ids)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:181
Functionconvert_tokens_to_ids
(vocab, tokens)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:144
Methodconvert_tokens_to_ids
(self, tokens)
Megatron-LM/megatron/training/tokenizer/bert_tokenization.py:178
Methodconvert_tokens_to_ids
Convert plaintext to token IDs.
Megatron-LM/tests/unit_tests/test_tokenizer.py:226
Functionconvert_torch_dist_to_fsdp_dtensor
Convert a Megatron Core Distributed Checkpoint from torch_dist to fsdp_dtensor format.
Megatron-LM/tools/checkpoint/checkpoint_inspector.py:701
Methodcopy
(self, *, src_tag: str, dst_tag: str)
slime/slime/utils/tensor_backper.py:64
Methodcopy_group_grads
(model_groups, shard_main_groups)
Megatron-LM/megatron/core/optimizer/distrib_optimizer.py:2385
Methodcopy_group_params
(shard_main_groups, model_groups)
Megatron-LM/megatron/core/optimizer/distrib_optimizer.py:2439
Methodcopy_model_weights_to_main_weights
Copy the model weights to the main weights.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:2758
Methodcopy_tensors_to_cpu
Stores CPU copies of tensors in the state_dict, replacing the originals, but without destroying them. The original devices ar
Megatron-LM/megatron/core/dist_checkpointing/tensor_aware_state_dict.py:245
Methodcore_attention
Which module to use for attention
Megatron-LM/megatron/core/extensions/transformer_engine_spec_provider.py:62
Methodcore_attention
Which module to use for attention
Megatron-LM/megatron/core/extensions/kitchen.py:1063
Methodcore_attention
Which module to use for attention
Megatron-LM/megatron/core/models/backends.py:68
Functioncore_model_provider
Build the model using Megatron-Core.
Megatron-LM/pretrain_retro.py:37
Functioncorrect_answers_forward_step
(batch, model)
Megatron-LM/tasks/eval_utils.py:111
Methodcost
(self)
swe-rl/mini-swe-agent/src/minisweagent/models/__init__.py:34
Methodcost
(self)
swe-rl/mini-swe-agent/src/minisweagent/models/extra/roulette.py:23
Functioncount_parameters
(model)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:766
Functioncount_stat
(dataset, tokenizer, k)
Megatron-LM/tools/retro/sft/dataset_conv.py:255
Methodcount_tokens_from_messages
(self, messages: List[OpenAIMessage])
terminal-rl/agent/camel_agent.py:211
Methodcount_zeros
Count number of zeros in model's gradients.
Megatron-LM/megatron/core/optimizer/optimizer.py:223
Methodcount_zeros
(self)
Megatron-LM/megatron/core/optimizer/layer_wise_optimizer.py:211
Methodcpu_init_weights
()
slime/slime/backends/fsdp_utils/actor.py:249
Methodcreate_ar_cache
(module)
Megatron-LM/megatron/core/transformer/module.py:138
Functioncreate_args
Setup dummy args.
Megatron-LM/tests/unit_tests/test_checkpointing.py:97
Functioncreate_args
Setup dummy args.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_pipeline_layout.py:118
Functioncreate_args
Setup dummy args.
Megatron-LM/tests/unit_tests/dist_checkpointing/test_pipeline_parallel_layout.py:120
Methodcreate_attn_mask
(self, H, W)
Megatron-LM/megatron/legacy/model/vision/swin_backbone.py:219
Functioncreate_ckpt_load_args
Setup dummy args allowing checkpoint load.
Megatron-LM/tests/unit_tests/test_checkpointing.py:127
Methodcreate_cudagraphs
Iterate through 'cudagraph_record' creating graphs in the order in which they were recorded.
Megatron-LM/megatron/core/transformer/cuda_graphs.py:204
Methodcreate_custom_backward_hook
Creates a custom backward hook via attaching a gradient-triggered hook to the output tensor(s) of a module during a post-forw
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/megatron_fsdp.py:815
Methodcreate_local_plan
Runs additional shapes validation.
Megatron-LM/megatron/core/dist_checkpointing/strategies/torch.py:647
Functioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective. Note: Tokens here are vocab ids and not text tokens.
Megatron-LM/megatron/legacy/data/dataset_utils.py:176
Functioncreate_mock_caption
Create a simple mock caption. Returns: A simple caption string
Megatron-LM/examples/mimo/data/mock.py:28
← previousnext →7,001–7,100 of 10,561, ranked by callers