MCPcopy Create free account

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

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

Method__init__
(self, pp_separate_model: bool = False)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:81
Method__init__
(self)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:161
Method__init__
(self, device='cpu')
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:66
Method__init__
(self, encoder, model_type="whisper")
Megatron-LM/tests/unit_tests/models/test_mimo_audio_submodules.py:73
Method__init__
(self, config)
Megatron-LM/tests/unit_tests/models/test_mimo_model.py:33
Method__init__
(self, config: TransformerConfig)
Megatron-LM/tests/unit_tests/transformer/test_module.py:18
Method__init__
( self, config: TransformerConfig, submodules: TransformerLayerSubmodules, lay
Megatron-LM/tests/unit_tests/transformer/test_transformer_block_custom_pgs.py:59
Method__init__
( self, tp_size, ep_size, pp_size, cp_size=1, moe_tp_size=None
Megatron-LM/tests/unit_tests/transformer/moe/test_token_dispatcher.py:36
Method__init__
(self, num_instances)
Megatron-LM/tests/unit_tests/transformer/moe/test_multihot_indices_converter.py:14
Method__init__
(self)
Megatron-LM/tests/unit_tests/export/trtllm/test_trtllm_single_device_converter.py:127
Method__init__
( self, model_type: AVLMModelType, processor, image_processor, audio_p
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:85
Method__init__
(self, dim: int = 0)
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:454
Method__init__
(self, pad_value: int, batch_first: bool = True)
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:464
Method__init__
Initialize the mock VLM dataset. Args: size: Number of examples in the dataset image_size: Size of the squar
Megatron-LM/examples/mimo/data/mock.py:41
Method__init__
( self, model_type: ModelType, processor, conversation_template_config=None,
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:67
Method__init__
(self, dim: int = 0)
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:350
Method__init__
(self, pad_value: int, batch_first: bool = True)
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:360
Method__init__
Initialize the HFCLIPEncoderWrapper. Args: feature_layer_index (int): Index of the feature layer to extract from the encoder's hi
Megatron-LM/examples/mimo/model_providers/hf_clip_encoder.py:13
Method__init__
(self, model_name: str)
Megatron-LM/examples/mimo/model_providers/hf_whisper_encoder.py:9
Method__init__
(self, data_dir: str, num_samples)
Megatron-LM/examples/post_training/modelopt/finetune.py:69
Method__init__
A simple dataset implementation for supervised fine-tuning. The raw data is processed and packed to an indexed dataset on the fly. Users
Megatron-LM/examples/post_training/modelopt/finetune.py:113
Method__init__
:param api_key: the API key to use. For details, see https://support.perspectiveapi.com/s/docs-get-started
Megatron-LM/examples/academic_paper_scripts/detxoify_lm/perspective_api.py:31
Method__init__
:param api_key: the API key to use. For details, see https://support.perspectiveapi.com/s/docs-get-started
Megatron-LM/examples/academic_paper_scripts/detxoify_lm/annotations/perspective_api_annotate.py:31
Method__init__
(self, prompt_text: str, time_offset: float, tokenizer: Any, sampling_params: SamplingParams = None)
Megatron-LM/examples/inference/gpt/utils.py:181
Method__init__
(self, format_reward: float = 0.0, answer_format: str = "tagged", **kwargs)
Megatron-LM/examples/rl/environments/math/math_agent.py:28
Method__init__
(self, answer_format: str = "boxed", format_reward: float = 0.0, **kwargs)
Megatron-LM/examples/rl/environments/math/gsm8k_agent.py:26
Method__init__
Create multimodal forward step.
Megatron-LM/examples/multimodal/run_text_generation.py:460
Method__init__
(self, input_size, vision_model_type)
Megatron-LM/examples/multimodal/image_processing.py:68
Method__init__
(self, path: EPath, **kwargs)
Megatron-LM/examples/multimodal/energon_util.py:26
Method__init__
(self, dataloader)
Megatron-LM/examples/multimodal/dataloader_provider.py:154
Method__init__
( self )
Megatron-LM/examples/multimodal/dataset_helpers.py:148
Method__init__
(self, *args, **kwargs)
Megatron-LM/examples/multimodal/layer_scaling.py:39
Method__init__
( self, config: TransformerConfig, submodules: SelfAttentionSubmodules, *args, **kwargs )
Megatron-LM/examples/multimodal/nvlm/internvit.py:170
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:31
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:113
Method__init__
( self, input_image_path, num_samples_per_partition, num_partitions, p
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:182
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:455
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:556
Method__init__
( self, input_image_path, num_samples_per_partition, num_partitions, p
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:624
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:722
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:788
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:866
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:953
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1058
Method__init__
( self, input_image_path, gt_path, num_samples_per_partition, num_part
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1168
Method__init__
( self, img_h, img_w, use_tiling, max_num_tiles, use_thumbnail
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1343
Method__init__
(self)
slime/tools/convert_hf_to_fp8.py:99
Method__init__
(self, *args, **kwargs)
slime/tools/convert_fsdp_to_hf.py:17
Method__init__
(self, *args, **kwargs)
slime/tools/convert_torch_dist_to_hf.py:23
Method__init__
(self)
slime/tools/convert_hf_to_int4_direct.py:155
Method__init__
(self, path_pattern, gpu_id: int)
slime/tests/ci/gpu_lock_exec.py:150
Method__init__
(self)
slime/examples/multi_agent/agent_system.py:100
Method__init__
(self)
slime/examples/multi_agent/agent_system.py:112
Method__init__
(self)
slime/examples/multi_agent/agent_system.py:133
Method__init__
Initialize adapter Args: tools_info: List of tool information parser_type: Parser type, defaults to "qwen25"
slime/examples/tau-bench/openai_tool_adapter.py:40
Method__init__
( self, tools_info: list[dict[str, Any]], wiki: str, model: str, provi
slime/examples/tau-bench/trainable_agents.py:421
Method__init__
(self, *, ground_truth: str | None = None, max_turns: int | None = None)
slime/examples/geo3k_vlm_multi_turn/env_geo3k.py:37
Method__init__
(self, model_name, model_path, pooling_method, max_length, use_fp16)
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:66
Method__init__
(self, config)
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:124
Method__init__
(self, config)
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:146
Method__init__
(self, config)
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:206
Method__init__
( self, config, layer_number: int, hf_config, sequence_parallel: bool
slime/slime_plugins/megatron_bridge/qwen35_vl.py:100
Method__init__
(self, config)
slime/slime_plugins/megatron_bridge/qwen35_vl.py:230
Method__init__
( self, config, transformer_layer_spec: ModuleSpec, vocab_size: int, m
slime/slime_plugins/megatron_bridge/qwen35_vl.py:289
Method__init__
(self)
slime/slime_plugins/megatron_bridge/qwen3_5.py:27
Method__init__
(self, *args, **kwargs)
slime/slime_plugins/megatron_bridge/qwen3_5_text.py:33
Method__init__
(self, *args, **kwargs)
slime/slime_plugins/mbridge/qwen3_5.py:37
Method__init__
( self, group_size, task_type="math", transform_group_func=None, is_va
slime/slime_plugins/rollout_buffer/buffer.py:126
Method__init__
( self, group_size=16, task_type="math", transform_group_func=None, is
slime/slime_plugins/rollout_buffer/buffer.py:217
Method__init__
( self, remote_engine_url, remote_buffer_url, num_repeat_per_sample=1,
slime/slime_plugins/rollout_buffer/generator/base_generator.py:144
Method__init__
(self, config, layer_idx: int)
slime/slime_plugins/models/qwen3_next.py:29
Method__init__
( self, args, config, layer_number: int, cp_comm_type: str = "p2p",
slime/slime_plugins/models/hf_attention.py:78
Method__init__
(self, config, layer_idx: int)
slime/slime_plugins/models/qwen3_5.py:36
Method__init__
(self, inner)
slime/slime/utils/misc.py:98
Method__init__
(self)
slime/slime/utils/routing_replay.py:16
Method__init__
(self)
slime/slime/utils/async_utils.py:9
Method__init__
(self, source_getter)
slime/slime/utils/tensor_backper.py:43
Method__init__
(self, source_getter, single_tag)
slime/slime/utils/tensor_backper.py:78
Method__init__
(self, concurrency: int)
slime/slime/utils/http_utils.py:289
Method__init__
(self, tokenizer: AutoTokenizer, tokenizer_type: str = "qwen")
slime/slime/utils/mask_utils.py:10
Method__init__
(self, args)
slime/slime/utils/metric_utils.py:133
Method__init__
(self, args)
slime/slime/utils/tensorboard_utils.py:30
Method__init__
(self, args)
slime/slime/utils/profile_utils.py:90
Method__init__
(self, args)
slime/slime/utils/profile_utils.py:131
Method__init__
(self)
slime/slime/utils/seqlen_balancing.py:24
Method__init__
(self, items: list[tuple[int, int]], k: int)
slime/slime/utils/seqlen_balancing.py:46
Method__init__
(self)
slime/slime/utils/timer.py:16
Method__init__
( self, path, tokenizer, processor, max_length, *, pro
slime/slime/utils/data.py:167
Method__init__
(self, rollout_manager, args)
slime/slime/utils/health_monitor.py:23
Method__init__
(self, group, ranks)
slime/slime/utils/reloadable_process_group.py:114
Method__init__
(self, world_size, rank, master_addr, master_port)
slime/slime/ray/train_actor.py:29
Method__init__
( self, args, num_nodes, num_gpus_per_node, pg: tuple[PlacementGroup,
slime/slime/ray/actor_group.py:29
Method__init__
(self)
slime/slime/ray/utils.py:40
Method__init__
(self, args, pg, prm_pg=None)
slime/slime/ray/rollout.py:47
Method__init__
( self, args, rank: int, worker_type: str = "regular", base_gpu_id: in
slime/slime/backends/sglang_utils/sglang_engine.py:119
Method__init__
( self, config: Qwen3_5TextConfig, quant_config=None, prefix:
slime/slime/backends/sglang_utils/qwen3_5.py:80
Method__init__
(self, K: int)
slime/slime/backends/megatron_utils/loss.py:341
Method__init__
(self, payload: list[torch.Tensor])
slime/slime/backends/megatron_utils/loss.py:365
Method__init__
Initialize an iterator over `rollout_data`. Args: rollout_data: Dict of per-sample fields for the local step. micro_b
slime/slime/backends/megatron_utils/data.py:261
Method__init__
( self, input_size: int, output_size: int, *, config: TransformerConfi
slime/slime/backends/megatron_utils/model_provider.py:25
← previousnext →6,001–6,100 of 10,561, ranked by callers