Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/as/prompt_lookup_decoding' into …
Browse files Browse the repository at this point in the history
…as/prompt_lookup_decoding
  • Loading branch information
as-suvorov committed Apr 25, 2024
2 parents 1e2819f + d4ff99b commit 0829042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions llm_bench/python/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ def convert_baichaun(args):
def convert_qwen(args):
config = AutoConfig.from_pretrained(args.model_id, trust_remote_code=True)
cuda, post_init = patch_gptq(config)
model_kwargs = {"code_revision": "2abd8e5777bb4ce9c8ab4be7dbbd0fe4526db78d"}
model_kwargs = {}
precision = args.precision
compression_only = (
args.compress_weights
Expand All @@ -1242,7 +1242,6 @@ def convert_qwen(args):
if post_init is not None:
model_kwargs = {
"torch_dtype": torch.float32,
"code_revision": "c02ede58c0ab0045f5e4788c35842bec6a7baa0a",
}
model = None
if not compression_only:
Expand Down
1 change: 1 addition & 0 deletions llm_bench/python/utils/config_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
'mixtral',
'yi-',
'phi-',
'phi2-',
'minicpm',
'gemma',
"deci",
Expand Down

0 comments on commit 0829042

Please sign in to comment.