Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jiayi-Pan/TinyZero
/ functions
Functions
1,293 in github.com/Jiayi-Pan/TinyZero
⨍
Functions
1,293
◇
Types & classes
173
↳
Endpoints
30
Method
__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None, scaling_factor=1.0)
verl/models/llama/megatron/layers/parallel_attention.py:94
Method
__init__
(self, config: LlamaConfig, megatron_config: ModelParallelConfig)
verl/models/llama/megatron/layers/parallel_attention.py:146
Method
__init__
(self, input_size, gate_ouput_size, up_output_size,
verl/models/llama/megatron/layers/parallel_linear.py:54
Method
__init__
LlamaRMSNorm is equivalent to T5LayerNorm
verl/models/llama/megatron/layers/parallel_rmsnorm.py:27
Method
__init__
( self, hf_config: PretrainedConfig, dtype: str, seed: int, load_forma
verl/third_party/vllm/vllm_v_0_3_1/config.py:75
Method
__init__
( self, block_size: int, gpu_memory_utilization: float, swap_space: int,
verl/third_party/vllm/vllm_v_0_3_1/config.py:251
Method
__init__
( self, pipeline_parallel_size: int, tensor_parallel_size: int, worker_use_ray
verl/third_party/vllm/vllm_v_0_3_1/config.py:329
Method
__init__
( self, max_num_batched_tokens: Optional[int], max_num_seqs: int, max_model_le
verl/third_party/vllm/vllm_v_0_3_1/config.py:383
Method
__init__
(self, device: str = "cuda")
verl/third_party/vllm/vllm_v_0_3_1/config.py:417
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict tokenizer:
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:70
Method
__init__
(self, tokenizer: PreTrainedTokenizer, enable_lora: bool, max_num_seqs: int, max_input_length
verl/third_party/vllm/vllm_v_0_3_1/tokenizer.py:28
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict model_conf
verl/third_party/vllm/vllm_v_0_3_1/model_runner.py:48
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict model_conf
verl/third_party/vllm/vllm_v_0_3_1/worker.py:47
Method
__init__
(self, hf_config: PretrainedConfig, *args, **kwargs)
verl/third_party/vllm/vllm_v_0_6_3/config.py:46
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict tokenizer
verl/third_party/vllm/vllm_v_0_6_3/llm.py:85
Method
__init__
( self, # NOTE(sgm): first two arguments are added for verl model: Union[nn.Module, Di
verl/third_party/vllm/vllm_v_0_6_3/llm_engine_sp.py:95
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:107
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:138
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:241
Method
__init__
(self, tokenizer: PreTrainedTokenizer, enable_lora: bool, max_num_seqs: int, max_input_length
verl/third_party/vllm/vllm_v_0_6_3/tokenizer.py:26
Method
__init__
( self, model: Union[nn.Module, Dict], # [verl] model itself or its parameter dict mo
verl/third_party/vllm/vllm_v_0_6_3/model_runner.py:62
Method
__init__
( self, model, # pytorch model itself or its parameter dict model_config: ModelConfig
verl/third_party/vllm/vllm_v_0_6_3/spmd_gpu_executor.py:45
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict model_con
verl/third_party/vllm/vllm_v_0_6_3/worker.py:61
Method
__init__
( self, hf_config: PretrainedConfig, tokenizer_mode: str, trust_remote_code: b
verl/third_party/vllm/vllm_v_0_5_4/config.py:99
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict tokenizer:
verl/third_party/vllm/vllm_v_0_5_4/llm.py:97
Method
__init__
( self, # NOTE(sgm): first two arguments are added for verl model: Union[nn.Module, Di
verl/third_party/vllm/vllm_v_0_5_4/llm_engine_sp.py:77
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:106
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:128
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:215
Method
__init__
(self, tokenizer: PreTrainedTokenizer, enable_lora: bool, max_num_seqs: int, max_input_length
verl/third_party/vllm/vllm_v_0_5_4/tokenizer.py:28
Method
__init__
( self, model: Union[nn.Module, Dict], # [verl] model itself or its parameter dict mod
verl/third_party/vllm/vllm_v_0_5_4/model_runner.py:54
Method
__init__
( self, model, # pytorch model itself or its parameter dict model_config: ModelConfig,
verl/third_party/vllm/vllm_v_0_5_4/spmd_gpu_executor.py:37
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict model_conf
verl/third_party/vllm/vllm_v_0_5_4/worker.py:52
Method
__init__
( self, hf_config: PretrainedConfig, dtype: str, seed: int, revision:
verl/third_party/vllm/vllm_v_0_4_2/config.py:98
Method
__init__
( self, # NOTE(sgm): first two arguments are added for verl model: Union[nn.Module, Di
verl/third_party/vllm/vllm_v_0_4_2/llm_engine_sp.py:74
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:97
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:118
Method
__init__
(self, load_config: LoadConfig)
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:203
Method
__init__
(self, tokenizer: PreTrainedTokenizer, enable_lora: bool, max_num_seqs: int, max_input_length
verl/third_party/vllm/vllm_v_0_4_2/tokenizer.py:28
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict model_conf
verl/third_party/vllm/vllm_v_0_4_2/model_runner.py:50
Method
__init__
( self, model, # pytorch model itself or its parameter dict model_config: ModelConfig,
verl/third_party/vllm/vllm_v_0_4_2/spmd_gpu_executor.py:36
Method
__init__
( self, model: Union[nn.Module, Dict], # model itself or its parameter dict model_conf
verl/third_party/vllm/vllm_v_0_4_2/worker.py:50
Method
__init__
(self, tokenizer, num_examine)
examples/split_placement/main_ppo_split.py:35
Method
__len__
(self)
verl/protocol.py:180
Method
__len__
(self)
verl/utils/dataset/rm_dataset.py:96
Method
__len__
(self)
verl/utils/dataset/sft_dataset.py:107
Method
__len__
(self)
verl/utils/dataset/rl_dataset.py:117
Method
__lt__
(self, other)
verl/utils/seqlen_balancing.py:42
Method
__lt__
(self, other)
verl/utils/seqlen_balancing.py:81
Method
__new__
(cls, *args, **kwargs)
verl/single_controller/base/worker.py:85
Method
__post_init__
(self)
verl/protocol.py:176
Method
__post_init__
(self)
verl/third_party/vllm/vllm_v_0_3_1/config.py:431
Method
__post_init__
(self)
verl/third_party/vllm/vllm_v_0_6_3/config.py:80
Method
__post_init__
(self)
verl/third_party/vllm/vllm_v_0_6_3/arg_utils.py:30
Method
__post_init__
(self)
verl/third_party/vllm/vllm_v_0_5_4/config.py:221
Method
__post_init__
(self)
verl/third_party/vllm/vllm_v_0_4_2/config.py:180
Method
__repr__
(self)
verl/utils/seqlen_balancing.py:89
Method
__setstate__
(self, data)
verl/protocol.py:204
Method
__str__
(self)
tests/e2e/envs/digit_completion/task.py:56
Method
_convert_id_to_token
(self, index: int)
tests/e2e/envs/digit_completion/tokenizer.py:98
Method
_convert_token_to_id
(self, token: str)
tests/e2e/envs/digit_completion/tokenizer.py:95
Method
_decode_sequence
Decodes the new token for a sequence.
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:662
Method
_download_files
()
verl/utils/dataset/rm_dataset.py:72
Method
_estimate_qwen2_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:72
Method
_estimate_unknown_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:69
Method
_finalize_sequence
(self, seq: Sequence, sampling_params: SamplingParams, stop_string: str)
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:710
Method
_forward_head
(self, hidden_states)
verl/models/llama/megatron/modeling_llama_megatron.py:377
Method
_forward_head
(self, hidden_states)
verl/models/llama/megatron/modeling_llama_megatron.py:637
Function
_get_logits
(self, hidden_states: torch.Tensor, embedding: torch.Tensor, embedding_bias: Optional[torch.Te
verl/third_party/vllm/vllm_v_0_3_1/model_loader.py:193
Function
_get_logits
(self, hidden_states: torch.Tensor, embedding: torch.Tensor, embedding_bias: Optional[torch.Te
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:297
Function
_get_logits
(self, hidden_states: torch.Tensor, embedding: torch.Tensor, embedding_bias: Optional[torch.Te
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:263
Function
_get_logits
(self, hidden_states: torch.Tensor, embedding: torch.Tensor, embedding_bias: Optional[torch.Te
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:250
Method
_get_pid
(self)
verl/single_controller/base/worker.py:66
Method
_get_weights_iterator
(actor_model: Union[PreTrainedModel, Dict])
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:147
Method
_get_weights_iterator
(actor_model: Union[PreTrainedModel, Dict])
verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:250
Method
_get_weights_iterator
(actor_model: Union[PreTrainedModel, Dict])
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:134
Method
_get_weights_iterator
(actor_model: Union[PreTrainedModel, Dict])
verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:221
Method
_get_weights_iterator
(actor_model: Union[PreTrainedModel, Dict])
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:124
Method
_get_weights_iterator
(actor_model: Union[PreTrainedModel, Dict])
verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:209
Method
_init_head
(self)
verl/models/llama/megatron/modeling_llama_megatron.py:368
Method
_init_head
(self)
verl/models/llama/megatron/modeling_llama_megatron.py:628
Method
_is_worker_alive
(self, worker: ray.actor.ActorHandle)
verl/single_controller/ray/base.py:205
Function
_pad_to_alignment
(x: List[int], multiple_of: int, pad: int)
verl/third_party/vllm/vllm_v_0_3_1/worker.py:298
Function
_pad_to_max
(x: List[int], max_len: int, pad: int)
verl/third_party/vllm/vllm_v_0_3_1/worker.py:302
Method
_rebind_actor_methods
bind the method with actor_prefix to its original name
verl/single_controller/ray/base.py:298
Method
_run_engine
(self, *, use_tqdm: bool)
verl/third_party/vllm/vllm_v_0_6_3/llm.py:160
Method
_run_engine
(self, *, use_tqdm: bool)
verl/third_party/vllm/vllm_v_0_5_4/llm.py:166
Method
_set_cos_sin_cache
(self, seq_len, device, dtype)
verl/models/llama/megatron/layers/parallel_attention.py:79
Method
_set_cos_sin_cache
(self, seq_len, device, dtype)
verl/models/llama/megatron/layers/parallel_attention.py:98
Method
_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
verl/models/llama/megatron/layers/parallel_attention.py:231
Method
_tokenize
(self, text: str)
tests/e2e/envs/digit_completion/tokenizer.py:92
Method
_verify_load_format
(self)
verl/third_party/vllm/vllm_v_0_3_1/config.py:109
Method
abort_request
Aborts a request(s) with the given ID. Args: request_id: The ID(s) of the request to abort. Details: - Refer
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:317
Method
add_cli_args
(parser: argparse.ArgumentParser)
verl/third_party/vllm/vllm_v_0_3_1/arg_utils.py:215
Method
add_cli_args
Shared CLI arguments for vLLM engine.
verl/third_party/vllm/vllm_v_0_5_4/arg_utils.py:140
Method
add_cli_args
Shared CLI arguments for vLLM engine.
verl/third_party/vllm/vllm_v_0_4_2/arg_utils.py:106
Method
add_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:716
Method
add_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_3_1/worker.py:260
Method
add_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_6_3/spmd_gpu_executor.py:170
Method
add_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_5_4/spmd_gpu_executor.py:164
← previous
next →
701–800 of 1,293, ranked by callers