[Model][Bugfix] Implicit model flags and reenable Phi-3-Vision (#5896)

This commit is contained in:
Cyrus Leung
2024-06-28 00:08:10 +08:00
committed by GitHub
parent e9d32d077d
commit 98cf2ed678
14 changed files with 26 additions and 32 deletions

View File

@@ -325,8 +325,6 @@ class ChatGLMModel(nn.Module):
class ChatGLMForCausalLM(nn.Module, SupportsLoRA):
supports_lora = True
packed_modules_mapping = {
"query_key_value": ["query_key_value"],
"dense_h_to_4h": ["dense_h_to_4h"]