-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
OS
Windows
GPU
cuda
VRAM
6GB
What happened?
When trying to load the Voxel Art model on a fresh install I get the following error:
Loading voxel_art-1.0 from C:\Users\venjs\invokeai\models\ldm\stable-diffusion-v1\VoxelArt_v1.ckpt
| LatentDiffusion: Running in eps-prediction mode
| DiffusionWrapper has 859.52 M params.
| Making attention of type 'vanilla' with 512 in_channels
| Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
| Making attention of type 'vanilla' with 512 in_channels
** model voxel_art-1.0 could not be loaded: Error(s) in loading state_dict for LatentDiffusion:
size mismatch for embedding_manager.string_to_param_dict.: copying a param with shape torch.Size([1, 768]) from checkpoint, the shape in current model is torch.Size([8, 768]).
size mismatch for embedding_manager.initial_embeddings.: copying a param with shape torch.Size([1, 768]) from checkpoint, the shape in current model is torch.Size([8, 768]).
Traceback (most recent call last):
File "c:\users\venjs\documents\github\invokeai\ldm\invoke\model_cache.py", line 80, in get_model
requested_model, width, height, hash = self._load_model(model_name)
File "c:\users\venjs\documents\github\invokeai\ldm\invoke\model_cache.py", line 232, in _load_model
model.load_state_dict(sd, strict=False)
File "C:\Users\venjs\Documents\GitHub\invokeAI\installer_files\env\envs\invokeai\lib\site-packages\torch\nn\modules\module.py", line 1604, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for LatentDiffusion:
size mismatch for embedding_manager.string_to_param_dict.: copying a param with shape torch.Size([1, 768]) from checkpoint, the shape in current model is torch.Size([8, 768]).
size mismatch for embedding_manager.initial_embeddings.: copying a param with shape torch.Size([1, 768]) from checkpoint, the shape in current model is torch.Size([8, 768]).
Screenshots
Additional context
No response
