Instructions to use dataautogpt3/OpenDalleV1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dataautogpt3/OpenDalleV1.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dataautogpt3/OpenDalleV1.1", dtype=torch.bfloat16, device_map="cuda") prompt = "black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Does not appear to have a file named config.json
EXAMPLE 1
model_name = "dataautogpt3/OpenDalleV1.1"
model = AutoModelForCausalLM.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
OSError: dataautogpt3/OpenDalleV1.1 does not appear to have a file named config.json. Checkout 'https://huggingface.co/dataautogpt3/OpenDalleV1.1/main' for available files.
OR
######### EXAMPLE 2
pipeline = AutoPipelineForText2Image.from_pretrained(
model, torch_dtype=torch.float16
).to("cuda")
OSError: C:\Users\renan.cache\huggingface\hub\models--dataautogpt3--OpenDalleV1.1\snapshots\28d2cfe68c4af0c81e8bcca23eb04ec120743cc2 does not appear to have a file named config.json. Checkout 'https://huggingface.co/C:\Users\renan\.cache\huggingface\hub\models--dataautogpt3--OpenDalleV1.1\snapshots\28d2cfe68c4af0c81e8bcca23eb04ec120743cc2/main' for available files.
Please!
I raised a discussion for this a few hours before you did
https://huggingface.co/dataautogpt3/OpenDalleV1.1/discussions/10
it has been partially fixed but there still a space at the start of the text_encoder_2 directory name.
Someone found the solution? I have the same problem...
thank you for pointing out the space I was totally confused as of why it was not working and did not even notice that! happy holidays!