From 53f5dfbce143740b97b4b3acb52c7946a905c822 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Wed, 10 May 2023 21:37:08 -0400 Subject: [PATCH] quench fp16 revision not found error --- ldm/invoke/model_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldm/invoke/model_manager.py b/ldm/invoke/model_manager.py index 47b493f2955..92265bd7177 100644 --- a/ldm/invoke/model_manager.py +++ b/ldm/invoke/model_manager.py @@ -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(