MCPcopy Create free account

hub / github.com/Tele-AI/Telechat / functions

Functions680 in github.com/Tele-AI/Telechat

Methodend
Flushes any remaining cache and prints a newline to stdout.
models/12B-V2_8bit/generation_utils.py:123
Methodend
Flushes any remaining cache and prints a newline to stdout.
models/12B_8bit/generation_utils.py:123
Methodend
Flushes any remaining cache and prints a newline to stdout.
models/12B-V2/generation_utils.py:123
Methodforward
(self, input)
deepspeed-telechat/utils/module/lora.py:75
Methodforward
(self, x)
service/vllm_inf/telechat_12B.py:91
Methodforward
( self, positions: torch.Tensor, hidden_states: torch.Tensor, kv_cache: torch.
service/vllm_inf/telechat_12B.py:192
Methodforward
( self, positions: torch.Tensor, hidden_states: torch.Tensor, kv_cache: torch.
service/vllm_inf/telechat_12B.py:259
Methodforward
( self, input_ids: Optional[torch.Tensor], positions: torch.Tensor, kv_caches:
service/vllm_inf/telechat_12B.py:313
Methodforward
( self, input_ids: torch.Tensor, positions: torch.Tensor, kv_caches: List[torc
service/vllm_inf/telechat_12B.py:398
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/7B_8bit/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/7B_8bit/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and valu
models/7B_8bit/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/7B_8bit/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/7B_8bit/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor,
models/7B_8bit/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/7B_8bit/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/7B_8bit/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/7B_8bit/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/7B_8bit/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/12B_4bit/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/12B_4bit/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and value.
models/12B_4bit/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/12B_4bit/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/12B_4bit/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor, a
models/12B_4bit/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/12B_4bit/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/12B_4bit/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B_4bit/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B_4bit/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/7B/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/7B/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and valu
models/7B/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/7B/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/7B/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor,
models/7B/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/7B/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/7B/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/7B/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/7B/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/12B/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/12B/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and valu
models/12B/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/12B/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/12B/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor,
models/12B/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/12B/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/12B/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/12B/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/12B/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/7B_4bit/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/7B_4bit/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and valu
models/7B_4bit/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/7B_4bit/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/7B_4bit/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor,
models/7B_4bit/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/7B_4bit/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/7B_4bit/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/7B_4bit/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values:
models/7B_4bit/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/12B-V2_8bit/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/12B-V2_8bit/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and value.
models/12B-V2_8bit/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/12B-V2_8bit/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/12B-V2_8bit/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor, a
models/12B-V2_8bit/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/12B-V2_8bit/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/12B-V2_8bit/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B-V2_8bit/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B-V2_8bit/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/12B_8bit/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/12B_8bit/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and value.
models/12B_8bit/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/12B_8bit/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/12B_8bit/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor, a
models/12B_8bit/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/12B_8bit/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/12B_8bit/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B_8bit/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B_8bit/modeling_telechat.py:781
Methodforward
(self, x, seq_dim=0, seq_len=None)
models/12B-V2/modeling_telechat.py:106
Methodforward
(self, hidden_states)
models/12B-V2/modeling_telechat.py:148
Methodforward
Implements the multihead softmax attention. Arguments --------- q, k, v: The tensor containing the query, key, and value.
models/12B-V2/modeling_telechat.py:178
Methodforward
(ctx, input: torch.Tensor)
models/12B-V2/modeling_telechat.py:299
Methodforward
(self, x: torch.Tensor)
models/12B-V2/modeling_telechat.py:322
Methodforward
( self, hidden_states: torch.Tensor, residual: torch.Tensor, a
models/12B-V2/modeling_telechat.py:399
Methodforward
(self, hidden_states: torch.Tensor, residual: torch.Tensor)
models/12B-V2/modeling_telechat.py:502
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor,
models/12B-V2/modeling_telechat.py:524
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B-V2/modeling_telechat.py:636
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Opt
models/12B-V2/modeling_telechat.py:781
Functionget_all_reduce_mean
(tensor)
deepspeed-telechat/utils/utils.py:67
Functionget_dtype_size
(dtype)
deepspeed-telechat/utils/utils.py:28
Methodget_eval_data
(self)
deepspeed-telechat/utils/data/raw_datasets.py:18
Methodget_eval_data
(self)
deepspeed-telechat/utils/data/raw_datasets.py:40
Methodget_input_embeddings
(self)
models/7B_8bit/modeling_telechat.py:612
Methodget_input_embeddings
(self)
models/12B_4bit/modeling_telechat.py:612
Methodget_input_embeddings
(self)
models/12B/modeling_telechat.py:612
Methodget_input_embeddings
(self)
models/7B_4bit/modeling_telechat.py:612
Methodget_input_embeddings
(self)
models/12B-V2_8bit/modeling_telechat.py:612
Methodget_input_embeddings
(self)
models/12B_8bit/modeling_telechat.py:612
Methodget_input_embeddings
(self)
models/12B-V2/modeling_telechat.py:612
← previousnext →501–600 of 680, ranked by callers