MCPcopy Create free account

hub / github.com/Jiayi-Pan/TinyZero / functions

Functions1,293 in github.com/Jiayi-Pan/TinyZero

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
Methodabort_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
Methodadd_cli_args
(parser: argparse.ArgumentParser)
verl/third_party/vllm/vllm_v_0_3_1/arg_utils.py:215
Methodadd_cli_args
Shared CLI arguments for vLLM engine.
verl/third_party/vllm/vllm_v_0_5_4/arg_utils.py:140
Methodadd_cli_args
Shared CLI arguments for vLLM engine.
verl/third_party/vllm/vllm_v_0_4_2/arg_utils.py:106
Methodadd_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:716
Methodadd_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_3_1/worker.py:260
Methodadd_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_6_3/spmd_gpu_executor.py:170
Methodadd_lora
(self, lora_request: LoRARequest)
verl/third_party/vllm/vllm_v_0_5_4/spmd_gpu_executor.py:164
← previousnext →701–800 of 1,293, ranked by callers