MCPcopy Create free account

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

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

Method__init__
(self, w_bit, group_size, in_features, out_features, bias, dev, training=False)
slime/slime/backends/megatron_utils/megatron_to_hf/processors/quantizer_compressed_tensors.py:20
Method__init__
(self, *args, **kwargs)
slime/slime/backends/megatron_utils/update_weight/hf_weight_iterator_direct.py:20
Method__init__
(self, *args, **kwargs)
slime/slime/backends/megatron_utils/update_weight/hf_weight_iterator_bridge.py:12
Method__init__
Compute param buckets, create IPC Gloo groups (rollout_num_gpus_per_engine ranks/group).
slime/slime/backends/megatron_utils/update_weight/update_weight_from_tensor.py:32
Method__init__
Initialize. Groups created in connect_rollout_engines.
slime/slime/backends/megatron_utils/update_weight/update_weight_from_distributed.py:26
Method__init__
(self, args, model, model_name, quantization_config)
slime/slime/backends/megatron_utils/update_weight/hf_weight_iterator_base.py:17
Method__init__
(self, model)
slime/slime/backends/fsdp_utils/checkpoint.py:21
Method__init__
(self, model, optimizer)
slime/slime/backends/fsdp_utils/checkpoint.py:35
Method__init__
(self, lr_scheduler)
slime/slime/backends/fsdp_utils/checkpoint.py:52
Method__init__
(self, args: Namespace, model: torch.nn.Module)
slime/slime/backends/fsdp_utils/update_weight_utils.py:33
Method__init__
( self, optimizer: torch.optim.Optimizer, init_lr: float, max_lr: float,
slime/slime/backends/fsdp_utils/lr_scheduler.py:36
Method__init__
(self, config)
slime/slime/backends/fsdp_utils/models/qwen3_moe.py:72
Method__init__
(self, args: Namespace)
slime/slime/rollout/sglang_rollout.py:38
Method__init__
(self, args)
slime/slime/rollout/data_source.py:158
Method__init__
(self)
slime/slime/rollout/filter_hub/base_types.py:25
Method__init__
(self, seconds=1, error_message="Timeout")
slime/slime/rollout/rm_hub/math_dapo_utils.py:67
Method__init__
Initialize the slime-router with SGLang router address
slime/slime/router/router.py:29
Method__init__
(self, node_id: int | None = None)
slime/slime/router/middleware_hub/radix_tree.py:31
Method__init__
Initialize the String Radix Trie. Args: max_cache_size: Maximum number of cached token IDs (triggers GC when exceeded)
slime/slime/router/middleware_hub/radix_tree.py:107
Method__init__
(self, app, *, router)
slime/slime/router/middleware_hub/radix_tree_middleware.py:60
Method__iter__
Return self as an iterator.
Megatron-LM/megatron/core/datasets/data_schedule.py:51
Method__iter__
(self)
Megatron-LM/megatron/core/optimizer/optimizer.py:1064
Method__iter__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:149
Method__iter__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:187
Method__iter__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:292
Method__iter__
(self)
Megatron-LM/examples/multimodal/dataloader_provider.py:161
Method__iter__
(self)
slime/slime/backends/megatron_utils/update_weight/hf_weight_iterator_bridge.py:69
Method__len__
(self)
Megatron-LM/train_rl.py:324
Method__len__
(self)
Megatron-LM/tools/bert_embedding/dataset.py:23
Method__len__
(self)
Megatron-LM/tools/bert_embedding/embed.py:139
Method__len__
(self)
Megatron-LM/tools/bert_embedding/huggingface.py:117
Method__len__
(self)
Megatron-LM/tools/retro/sft/dataset_conv.py:81
Method__len__
(self)
Megatron-LM/megatron/legacy/data/ict_dataset.py:75
Method__len__
(self)
Megatron-LM/megatron/legacy/data/orqa_wiki_dataset.py:147
Method__len__
(self)
Megatron-LM/megatron/legacy/data/multimodal_dataset.py:38
Method__len__
(self)
Megatron-LM/megatron/legacy/data/image_folder.py:230
Method__len__
(self)
Megatron-LM/megatron/legacy/data/realm_dataset_utils.py:103
Method__len__
(self)
Megatron-LM/megatron/legacy/data/biencoder_dataset_utils.py:116
Method__len__
(self)
Megatron-LM/megatron/core/datasets/blended_dataset.py:88
Method__len__
Abstract method implementation Returns: int: The length of the dataset
Megatron-LM/megatron/core/datasets/gpt_dataset.py:166
Method__len__
(self)
Megatron-LM/megatron/core/datasets/gpt_dataset.py:734
Method__len__
Return the length of the dataset Returns: int: The length of the dataset
Megatron-LM/megatron/core/datasets/indexed_dataset.py:326
Method__len__
Return the length of the dataset i.e. the number of sequences in the index Returns: int: The length of the dataset
Megatron-LM/megatron/core/datasets/indexed_dataset.py:674
Method__len__
Return the length of the dataset Returns: int: See abstract implementation
Megatron-LM/megatron/core/datasets/megatron_dataset.py:167
Method__len__
(self)
Megatron-LM/megatron/core/datasets/masked_dataset.py:142
Method__len__
Dataset length. Returns: Number of samples in the dataset.
Megatron-LM/megatron/core/datasets/retro/utils.py:107
Method__len__
Dataset length. Returns: Number of samples in dataset.
Megatron-LM/megatron/core/datasets/retro/query/retro_dataset.py:78
Method__len__
Get dataset length. Returns: Dataset length.
Megatron-LM/megatron/core/datasets/retro/query/gpt_chunk_dataset.py:43
Method__len__
Length of DB dataset. Returns: Number of chunks contained in the dataset.
Megatron-LM/megatron/core/datasets/retro/db/dataset.py:58
Method__len__
(self)
Megatron-LM/megatron/core/optimizer/optimizer.py:1061
Method__len__
(self)
Megatron-LM/megatron/core/optimizer/distrib_optimizer.py:90
Method__len__
(self)
Megatron-LM/megatron/training/datasets/sft_dataset.py:39
Method__len__
(self)
Megatron-LM/megatron/training/datasets/sft_dataset.py:68
Method__len__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:134
Method__len__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:179
Method__len__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:230
Method__len__
(self)
Megatron-LM/megatron/training/datasets/data_samplers.py:289
Method__len__
(self)
Megatron-LM/megatron/training/tokenizer/gpt2_tokenization.py:181
Method__len__
(self)
Megatron-LM/tests/unit_tests/test_tokenizer.py:203
Method__len__
(self)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:117
Method__len__
(self)
Megatron-LM/tests/unit_tests/data/test_builder.py:89
Method__len__
Return the size of the dataset.
Megatron-LM/examples/mimo/data/mock.py:81
Method__len__
(self)
Megatron-LM/examples/post_training/modelopt/finetune.py:79
Method__len__
(self)
Megatron-LM/examples/post_training/modelopt/finetune.py:199
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:69
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:150
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:255
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:500
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:587
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:665
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:756
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:828
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:899
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1007
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1104
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1245
Method__len__
(self)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:1372
Method__len__
(self)
slime/slime_plugins/rollout_buffer/buffer.py:208
Method__len__
(self)
slime/slime/utils/data.py:252
Method__len__
(self)
slime/slime/backends/megatron_utils/update_weight/hf_weight_iterator_bridge.py:66
Method__lt__
Check if value of self is smaller than other's value Args: other (_ValueWithRank): The other object to compare with Retu
Megatron-LM/megatron/core/utils.py:1203
Method__lt__
(self, other)
slime/slime/utils/seqlen_balancing.py:37
Method__lt__
(self, other)
slime/slime/utils/seqlen_balancing.py:73
Method__lt__
For heap operations - least recently used first.
slime/slime/router/middleware_hub/radix_tree.py:91
Method__new__
(cls)
Megatron-LM/megatron/core/fusions/fused_linear_cross_entropy.py:21
Method__new__
(cls, config: TransformerConfig, hidden_size: int, eps: float = 1e-5)
Megatron-LM/megatron/core/post_training/modelopt/layers.py:53
Method__new__
(cls, data: torch.Tensor, sh_ten: ShardedTensor)
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:21
Method__new__
(cls, local_shards: list[torch.Tensor])
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:117
Method__new__
(cls, config: TransformerConfig)
Megatron-LM/megatron/core/extensions/transformer_engine.py:173
Method__new__
(cls, config: TransformerConfig, hidden_size: int, eps: float = 1e-5)
Megatron-LM/megatron/core/extensions/transformer_engine.py:208
Method__new__
( cls, config: TransformerConfig, hidden_size: int, eps: float = 1e-5,
Megatron-LM/megatron/core/transformer/torch_norm.py:15
Method__new__
(cls, tp=1, pp=1, ep=1)
Megatron-LM/tests/functional_tests/test_cases/common/ckpt_converter/__main__.py:86
Method__next__
__next__ method override adding replay capability.
Megatron-LM/megatron/core/rerun_state_machine.py:1052
Method__next__
Get the next item from the dataset, pull scheduling metadata and return it.
Megatron-LM/megatron/core/datasets/data_schedule.py:267
Method__next__
(self)
Megatron-LM/examples/multimodal/dataloader_provider.py:158
Function__post_init__
(self)
slime/slime/backends/megatron_utils/checkpoint.py:29
Method__post_init__
(self)
Megatron-LM/tools/retro/sft/dataset_conv.py:57
Method__post_init__
Python dataclass method that is used to modify attributes after initialization. See https://docs.python.org/3/library/dataclasses.html#post-in
Megatron-LM/megatron/core/model_parallel_config.py:389
Method__post_init__
(self)
Megatron-LM/megatron/core/distributed/distributed_data_parallel_config.py:143
Method__post_init__
(self)
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/distributed_data_parallel_config.py:134
← previousnext →6,101–6,200 of 10,561, ranked by callers