Fix failing test
This commit is contained in:
@@ -54,7 +54,7 @@ def validate_config(cfg):
|
||||
"Require cfg.hf_use_auth_token to be True for push_dataset_to_hub"
|
||||
)
|
||||
|
||||
if "falcon" in cfg.base_model.lower() and cfg.fsdp:
|
||||
if (cfg.base_model and "falcon" in cfg.base_model.lower()) and cfg.fsdp:
|
||||
raise ValueError("FSDP is not supported for falcon models")
|
||||
|
||||
# TODO
|
||||
|
||||
Reference in New Issue
Block a user