Merge pull request #303 from JustinLin610/patch-1
Update qwen.py for Qwen-VL
This commit is contained in:
commit
782bb603d9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ from ._base import *
|
|||
class QwenGPTQForCausalLM(BaseGPTQForCausalLM):
|
||||
layer_type = "QWenBlock"
|
||||
layers_block_name = "transformer.h"
|
||||
outside_layer_modules = ["transformer.wte", "transformer.wpe", "transformer.ln_f"]
|
||||
outside_layer_modules = ["transformer.wte", "transformer.wpe", "transformer.ln_f", "transformer.visual"]
|
||||
inside_layer_modules = [
|
||||
["attn.c_attn"],
|
||||
["attn.c_proj"],
|
||||
|
|
Loading…
Add table
Reference in a new issue