mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
fix llava_next regression in latest main
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
This commit is contained in:
parent
c5904132c7
commit
190368e137
@ -424,7 +424,7 @@ class FlashLlamaModel(torch.nn.Module):
|
||||
FlashLlamaLayer(
|
||||
index=0,
|
||||
prefix=(
|
||||
"model.layers.0" if not prefix else "{prefix}.model.layers.0"
|
||||
"model.layers.0" if not prefix else f"{prefix}.model.layers.0"
|
||||
),
|
||||
config=config,
|
||||
weights=weights,
|
||||
|
Loading…
Reference in New Issue
Block a user