float16, config='diffusers/controlnet-canny-sdxl-1.0-small') results in even worse nonsense failure during loading of state_dict: TypeError: is_floating_point(): argument 'input' (position 1) must be Tensor, not NoneType System Info diffusers=0.32.0.dev0 python==3.12.3 torch==2.5.1+...
src/diffusers/loaders/single_file.py Outdated Comment on lines 191 to 193 load_safety_checker (`bool`, *optional*, defaults to `False`): Whether to load the safety checker model or not. By default, the safety checker is not loaded unless user pass a `safety_checker` component in ...
我遇到了同样的事情,并逐步通过代码一点,这实际上是不那么令人生畏的,因为它似乎最初。这是我发现:...
File~/anaconda3/envs/diffusers/lib/python3.9/site-packages/diffusers/loaders/single_file_utils.py:253,infetch_ldm_config_and_checkpoint(pretrained_model_link_or_path, class_name, original_config_file, resume_download, force_download, proxies, token, cache_dir, local_files_only, revision) 250whi...
Calling from_pretrained() on a DiffusionPipeline requires users to mandatorily pass pretrained_model_name_or_path, which can be a repo id on the Hub or a local directory containing checkpoints in the diffusers format. (Docs) Now, if we want to add support for loading a compatible single f...
huggingface / diffusers Public Notifications Fork 4.7k Star 23k Code Issues 333 Pull requests 124 Discussions Actions Projects Security Insights New issue Clean up from_single_file docs#8268 Merged DN6 merged 2 commits into main from single-file-docs May 24, 2024 ...