diffusers
diffusers copied to clipboard
config file is not a valid json file
File "Z:\software\python11\Lib\site-packages\diffusers\configuration_utils.py", line 436, in load_config raise EnvironmentError(f"It looks like the config file at '{config_file}' is not a valid JSON file.") OSError: It looks like the config file at 'X:\test\dreamshaper_8.safetensors' is not a valid JSON file.
why other diffusers doesnt have single file ?
pipe = AutoPipelineForInpainting.from_pretrained( test/dreamshaper_8.safetensors')
Try this:
pipe = StableDiffusionPipeline.from_single_file("test/dreamshaper_8.safetensors")
But, I couldn't use this pipe
for inpainting :/
dreamshaper_8Inpainting.safetensors
works for inpainting:
pipe = StableDiffusionInpaintPipeline.from_single_file("test/dreamshaper_8Inpainting.safetensors")
thnx for >.</ but is their for AutoPipelineForText2Image ,I2VGenXLPipeline ,StableVideoDiffusionPipeline
like they dont have single_file
Maybe this PR has something to do with it. https://github.com/huggingface/diffusers/pull/6986#issue-2136319703
Hi!
we won't be able to support single file with AutoPipelineForText2Image
since the pipeline type need to be explicitly given for single checkpoint
for I2VGenXLPipeline
and StableVideoDiffusionPipeline
we are happy to support if there are single checkpoint available cc @DN6