runtime error

the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. return torch.load(checkpoint_file, map_location="cpu") {'ch_mult', 'ch', 'remap', 'embed_dim', 'resolution', 'sane_index_shape', 'num_res_blocks', 'double_z', 'out_ch', 'attn_resolutions', 'give_pre_end', 'z_channels', 'dropout', 'resamp_with_conv'} was not found in config. Values will be initialized to default values. Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> ldm_pipeline = LDMTextToImagePipeline.from_pretrained("CompVis/ldm-text2im-large-256") File "/usr/local/lib/python3.10/site-packages/diffusers/pipeline_utils.py", line 183, in from_pretrained loaded_sub_model = load_method(os.path.join(cached_folder, name)) File "/usr/local/lib/python3.10/site-packages/diffusers/modeling_utils.py", line 331, in from_pretrained model, unused_kwargs = cls.from_config( File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 103, in from_config model = cls(**init_dict) File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 318, in inner_init init(self, *args, **init_kwargs) TypeError: AutoencoderKL.__init__() missing 7 required positional arguments: 'ch', 'out_ch', 'num_res_blocks', 'attn_resolutions', 'resolution', 'z_channels', and 'embed_dim'

Container logs:

Fetching error logs...