Methodforward(
self, hidden_states, attention_mask, rotary_pos_emb, kv_cache=None, use_cache=True
)
kolors/models/modeling_chatglm.py:368
Methodforward(
self, hidden_states, attention_mask, rotary_pos_emb, kv_cache=None, use_cache=True,
)
kolors/models/modeling_chatglm.py:541
Methodforward(
self, hidden_states, attention_mask, rotary_pos_emb, kv_caches=None,
use_cache: Opti
kolors/models/modeling_chatglm.py:613
Functioninfer(prompt, use_random_seed, seed, height, width, num_inference_steps, guidance_scale, num_images_per_prompt)
scripts/sampleui.py:49
Methodstream_chat(self, tokenizer, query: str, history: List[Tuple[str, str]] = None, role: str = "user",
p
kolors/models/modeling_chatglm.py:1048