Update loader.py
This commit is contained in:
parent
34ea5bc89f
commit
77fc0c96c3
1 changed files with 1 additions and 0 deletions
|
|
@ -465,6 +465,7 @@ class FastVisionModel(FastBaseVisionModel):
|
|||
if is_peft:
|
||||
# Check base model again for PEFT
|
||||
model_name = get_model_name(peft_config.base_model_name_or_path, load_in_4bit)
|
||||
print(model_name)
|
||||
model_config = AutoConfig.from_pretrained(
|
||||
model_name,
|
||||
token = token,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue