#*FIXED- I needed to update InvokAI properly* I can't load models converted from Safetensors to CKPt

6 messages · Page 1 of 1 (latest)

sturdy solar
#

Edit: InvokeAI wasn't updated properly.

The model change always fails why? Is it because I converted from Safetensor to ckpt. I have Version 2.0.1 but do I need to update for it to work?
I also got this in the cmd:

Loading Protogen x3.4 from models/ldm/stable-diffusion-v1/protogenX34OfficialR_1.ckpt

Calculating sha256 hash of weights file
sha256 = 61a37adf761fbbf4cb3d88da480216341113d0fbcf9f0f77ea71863866a9b6fc (11.78s)
** model Protogen x3.4 could not be loaded: 'state_dict'
Traceback (most recent call last):
  File "c:\stable-diffusion-webui-win-x64\ldm\invoke\model_cache.py", line 69, in get_model
    requested_model, width, height, hash = self._load_model(model_name)
  File "c:\stable-diffusion-webui-win-x64\ldm\invoke\model_cache.py", line 219, in _load_model
    sd    = pl_sd['state_dict']
KeyError: 'state_dict'

buoyant fossil
#

I would update.

sturdy solar
buoyant fossil
#

Well, I can confirm you won't get support for issues on v2.0.1, at the very least, so updating is your first step (but yes, I also think it will work)

sturdy solar
# buoyant fossil Well, I can confirm you won't get support for issues on v2.0.1, at the very leas...

Updating didn't work still got this:

Model change requested: Protogen x3.4
Caching model Elldreths Dream Mix in system RAM
Loading Protogen x3.4 from models/ldm/stable-diffusion-v1/protogenX34OfficialR_1.ckpt
** model Protogen x3.4 could not be loaded: 'state_dict'
Traceback (most recent call last):
File "c:\stable-diffusion-webui-win-x64\ldm\invoke\model_cache.py", line 69, in get_model
requested_model, width, height, hash = self._load_model(model_name)
File "c:\stable-diffusion-webui-win-x64\ldm\invoke\model_cache.py", line 219, in _load_model
sd = pl_sd['state_dict']
KeyError: 'state_dict'

sturdy solar