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
Method
__call__
( self, split_idx: cutlass.Int32, hidden: cute.Tensor, weight:
Megatron-LM/megatron/core/fusions/linear_cross_entropy/blackwell/bwd_partial_dlogits.py:528
Method
__call__
(self, *args, **kwargs)
Megatron-LM/megatron/core/transformer/transformer_layer.py:1034
Method
__call__
(self, *args, **kwargs)
Megatron-LM/megatron/core/transformer/transformer_block.py:569
Method
__call__
(self, *args, **kwargs)
Megatron-LM/megatron/core/transformer/module.py:304
Method
__call__
( self, state: inprocess.state.FrozenState )
Megatron-LM/megatron/training/inprocess_restart.py:83
Method
__call__
(self, x, position_ids, attention_mask, **kwargs)
Megatron-LM/tests/unit_tests/test_rl_utils.py:32
Method
__call__
(self, values: List[torch.Tensor])
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:447
Method
__call__
(self, values: List[torch.Tensor])
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:457
Method
__call__
(self, values: List[torch.Tensor])
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:468
Method
__call__
(self, values: List[torch.Tensor])
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:343
Method
__call__
(self, values: List[torch.Tensor])
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:353
Method
__call__
(self, values: List[torch.Tensor])
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:364
Method
__call__
(self, tokens, position_ids, attention_mask)
Megatron-LM/examples/multimodal/run_text_generation.py:493
Method
__call__
(self, img, img_h, img_w, use_tiling=False, max_num_tiles=1, use_thumbnail=False, augment=False, find_closest_
Megatron-LM/examples/multimodal/image_processing.py:72
Method
__call__
(cls, *args, **kwargs)
slime/slime/utils/misc.py:27
Method
__create_chunk_list__
Simple translation from ShardedTensor offsets into DCP offsets. Returns: List[ChunkStorageMetadata]: list of DCP ChunkStorageMeta
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:59
Method
__create_write_items__
Simple translation from ShardedTensor offsets into DCP offsets. Args: fqn (str): tensor FQN. sh_ten (CheckpointableSh
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:28
Method
__create_write_items__
Delegates creating write items to local shards. Args: fqn (str): tensor FQN. local_shards_cont (LocalShardsContainer)
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:136
Method
__del__
Cleanup sandbox when object is destroyed.
swe-rl/mini-swe-agent/src/minisweagent/environments/singularity.py:95
Method
__del__
Cleanup container when object is destroyed.
swe-rl/mini-swe-agent/src/minisweagent/environments/docker.py:166
Method
__del__
Cleanup working_dir when object is destroyed.
swe-rl/mini-swe-agent/src/minisweagent/environments/extra/bubblewrap.py:107
Method
__del__
(self)
Megatron-LM/megatron/core/dist_checkpointing/strategies/async_utils.py:172
Method
__del__
(self)
Megatron-LM/megatron/core/dist_checkpointing/strategies/async_utils.py:279
Method
__del__
(self)
Megatron-LM/megatron/core/dist_checkpointing/strategies/async_utils.py:435
Method
__del__
Clean up the object
Megatron-LM/megatron/core/datasets/indexed_dataset.py:320
Method
__del__
Clean up the object.
Megatron-LM/megatron/core/datasets/indexed_dataset.py:405
Method
__del__
Clean up the object
Megatron-LM/megatron/core/datasets/indexed_dataset.py:533
Method
__del__
Clean up the object
Megatron-LM/megatron/core/datasets/indexed_dataset.py:669
Method
__del__
(self)
Megatron-LM/megatron/core/models/gpt/fine_grained_callables.py:308
Method
__del__
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_token_dispatcher.py:113
Method
__enter__
(self)
Megatron-LM/megatron/core/nccl_allocator.py:274
Method
__enter__
Define context/instance entry Returns: StragglerDetector: the instance
Megatron-LM/megatron/core/utils.py:1887
Method
__enter__
(self)
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:203
Method
__enter__
(self)
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:3688
Method
__enter__
Enter the context introduced by the 'with' keyword Returns: _IndexWriter: The instance
Megatron-LM/megatron/core/datasets/indexed_dataset.py:134
Method
__enter__
Make checkpoint directory.
Megatron-LM/tests/functional_tests/test_cases/common/ckpt_converter/__main__.py:64
Method
__enter__
(self)
slime/slime/backends/megatron_utils/loss.py:32
Method
__enter__
(self)
slime/slime/backends/megatron_utils/loss.py:344
Method
__enter__
(self)
slime/slime/backends/megatron_utils/loss.py:368
Method
__eq__
Checks if this batch dimension is equal to another batch dimension.
Megatron-LM/megatron/core/inference/batch_dimensions_utils.py:107
Method
__eq__
(self, other)
Megatron-LM/megatron/core/inference/contexts/static_context.py:91
Method
__exit__
(self, *args)
Megatron-LM/megatron/core/nccl_allocator.py:292
Method
__exit__
Define context/instance exit, calls the stop method Args: ex_type (Optional[Type[BaseException]]): Exception type ex_
Megatron-LM/megatron/core/utils.py:1910
Method
__exit__
(self, *exc_details)
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:3707
Method
__exit__
Exit the context introduced by the 'with' keyword Args: exc_type (Optional[Type[BaseException]]): Exception type exc
Megatron-LM/megatron/core/datasets/indexed_dataset.py:153
Method
__exit__
Remove checkpoint directory.
Megatron-LM/tests/functional_tests/test_cases/common/ckpt_converter/__main__.py:72
Method
__exit__
(self, exc_type, exc_val, exc_tb)
Megatron-LM/tests/unit_tests/dist_checkpointing/__init__.py:68
Method
__exit__
(self, exc_type, exc_val, exc_tb)
slime/slime/backends/megatron_utils/loss.py:38
Method
__exit__
(self, exc_type, exc_val, exc_tb)
slime/slime/backends/megatron_utils/loss.py:350
Method
__exit__
(self, exc_type, exc_val, exc_tb)
slime/slime/backends/megatron_utils/loss.py:376
Function
__fault_thread
()
Megatron-LM/megatron/training/ft_integration.py:352
Method
__get_tensor_shard__
Trivial implementation which simply yields the underlying tensor. Args: index (MetadataIndex): unused Returns:
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:71
Method
__get_tensor_shard__
Performs shard matching lookup based on index hint or offset. Args: index (MetadataIndex): metadata specifying the offset of the
Megatron-LM/megatron/core/dist_checkpointing/strategies/checkpointable.py:165
Function
__getattr__
(name)
Megatron-LM/megatron/core/models/bert/bert_layer_specs.py:79
Method
__getattr__
Get an attribute from the state. If the attribute is not found, set it to None and return None.
Megatron-LM/tests/unit_tests/a2a_overlap/utils.py:22
Method
__getattr__
(self, name)
slime/slime/utils/reloadable_process_group.py:128
Method
__getattribute__
Intercepts calls like A.hello_world()
Megatron-LM/megatron/core/utils.py:251
Method
__getitem__
(self, idx)
Megatron-LM/train_rl.py:327
Method
__getitem__
(self, key)
Megatron-LM/tools/checkpoint/schema_base.py:25
Method
__getitem__
(self, idx)
Megatron-LM/tools/bert_embedding/dataset.py:39
Method
__getitem__
(self, i)
Megatron-LM/tools/bert_embedding/embed.py:142
Method
__getitem__
(self, i)
Megatron-LM/tools/bert_embedding/huggingface.py:119
Method
__getitem__
(self, idx: int)
Megatron-LM/tools/retro/sft/dataset_conv.py:84
Method
__getitem__
(self, idx: int)
Megatron-LM/tools/retro/sft/dataset_conv.py:118
Method
__getitem__
Get an ICT example of a pseudo-query and the block of text from which it was extracted
Megatron-LM/megatron/legacy/data/ict_dataset.py:78
Method
__getitem__
(self, idx)
Megatron-LM/megatron/legacy/data/orqa_wiki_dataset.py:150
Method
__getitem__
(self, idx)
Megatron-LM/megatron/legacy/data/multimodal_dataset.py:41
Method
__getitem__
Args: index (int): Index Returns: tuple: (sample, target) where target is class_index of the target class.
Megatron-LM/megatron/legacy/data/image_folder.py:207
Method
__getitem__
Get the data associated with an indexed sample.
Megatron-LM/megatron/legacy/data/realm_dataset_utils.py:106
Method
__getitem__
Get the data associated with an indexed sample.
Megatron-LM/megatron/legacy/data/biencoder_dataset_utils.py:119
Method
__getitem__
Get request by index. Args: idx (int): Request index. Returns: (DynamicInferenceRequest) Request object.
Megatron-LM/megatron/core/inference/inference_request.py:392
Method
__getitem__
Return a sample that contains a dummy image, text sequence and the associated labels and cost and attention masks. Args: idx (int
Megatron-LM/megatron/core/datasets/multimodal_dataset.py:42
Method
__getitem__
Abstract method implementation Args: idx (int): The index into the dataset Returns: Dict[str, Union[int, num
Megatron-LM/megatron/core/datasets/t5_dataset.py:224
Method
__getitem__
(self, idx: int)
Megatron-LM/megatron/core/datasets/blended_dataset.py:91
Method
__getitem__
Abstract method implementation Args: idx (int): The index into the dataset Returns: Dict[str, Union[int, num
Megatron-LM/megatron/core/datasets/bert_dataset.py:74
Method
__getitem__
Abstract method implementation Args: idx (Optioal[int]): The index into the dataset Returns: Dict[str, torch
Megatron-LM/megatron/core/datasets/gpt_dataset.py:174
Method
__getitem__
(self, idx: int)
Megatron-LM/megatron/core/datasets/gpt_dataset.py:737
Method
__getitem__
Return the pointer, length, and mode at the index Args: idx (int): The index into the dataset Returns: Tuple
Megatron-LM/megatron/core/datasets/indexed_dataset.py:335
Method
__getitem__
Return from the dataset Args: idx (Union[int, numpy.integer, slice]): The index or index slice into the dataset Raises:
Megatron-LM/megatron/core/datasets/indexed_dataset.py:682
Method
__getitem__
Return from the dataset Args: idx (int): The index into the dataset Returns: Dict[str, Union[torch.Tensor, n
Megatron-LM/megatron/core/datasets/megatron_dataset.py:176
Method
__getitem__
Get dataset sample. Args: idx (int): Index of sample. Returns: A dict containing attribute 'text' of type st
Megatron-LM/megatron/core/datasets/retro/utils.py:115
Method
__getitem__
Get block path from index. Args: idx (int): Index of sample. Returns: The path to the block file containing
Megatron-LM/megatron/core/datasets/retro/utils.py:375
Method
__getitem__
Get dataset sample. Args: idx (int): The index into the dataset. Returns: Dict[str, numpy.ndarray]: The text
Megatron-LM/megatron/core/datasets/retro/query/multi_split_gpt_dataset.py:87
Method
__getitem__
Get dataset sample. Args: sample_idx (int): Index of sample in dataset. Returns: A dict consisting of GPT sa
Megatron-LM/megatron/core/datasets/retro/query/retro_dataset.py:86
Method
__getitem__
Get sample, including represented document IDs. Args: idx (int): Sample index. Returns: A sample, which cont
Megatron-LM/megatron/core/datasets/retro/query/gpt_chunk_dataset.py:51
Method
__getitem__
DB dataset sample. Args: chunk_id (int): Index of chunk within dataset. Returns: A dict containing:
Megatron-LM/megatron/core/datasets/retro/db/dataset.py:66
Method
__getitem__
(self, key: Tuple[int, str])
Megatron-LM/megatron/core/optimizer/optimizer.py:1053
Method
__getitem__
(self, idx: int)
Megatron-LM/megatron/training/datasets/sft_dataset.py:42
Method
__getitem__
(self, idx: int)
Megatron-LM/megatron/training/datasets/sft_dataset.py:71
Method
__getitem__
(self, idx)
Megatron-LM/megatron/training/datasets/data_samplers.py:242
Method
__getitem__
Generate a single training sample Returns: dict with 'tokens' and 'labels'
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:120
Method
__getitem__
(self, idx: int)
Megatron-LM/tests/unit_tests/data/test_builder.py:92
Method
__getitem__
Get an item from the dataset. Args: idx: Index of the item (ignored, all items are identical) Returns:
Megatron-LM/examples/mimo/data/mock.py:85
Method
__getitem__
(self, idx)
Megatron-LM/examples/post_training/modelopt/finetune.py:82
Method
__getitem__
Get the idx packed data. The packed data index is different from the raw data index where a packed sample of sequence-length may requ
Megatron-LM/examples/post_training/modelopt/finetune.py:202
Method
__getitem__
(self, idx)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:72
Method
__getitem__
(self, idx)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:153
Method
__getitem__
(self, idx)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:307
Method
__getitem__
(self, idx)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:503
Method
__getitem__
(self, idx)
Megatron-LM/examples/multimodal/evaluation/evaluation_datasets.py:590
← previous
next →
5,401–5,500 of 10,561, ranked by callers