Skip to content

Commit

Permalink
quench fp16 revision not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Stein authored and hipsterusername committed May 17, 2023
1 parent 060ea14 commit 53f5dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldm/invoke/model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def _load_diffusers_model(self, mconfig):
**fp_args,
)
except OSError as e:
if str(e).startswith("fp16 is not a valid"):
if 'Revision Not Found' in str(e):
pass
else:
print(
Expand Down

0 comments on commit 53f5dfb

Please sign in to comment.