Skip to content

Demo snippet not working. #358

@mcadario

Description

@mcadario

Trying the following piece of code auto-generated through hugging face, it simply does not work. Firstly there is an infinite loop of conflicting dependencies (which has also been pointed out by another issue), then if one tries to run the snippet an error happens (missing peft>=0.17.0); if then you run the command (pip intsall peft==0.17.0) and run again the snippet another error occurs:
Entry Not Found for url: https://huggingface.co/ACE-Step/ACE-Step-v1-3.5B/resolve/main/model_index.json.

Code:

import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ACE-Step/ACE-Step-v1-3.5B", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

(I omitted all the various pip commands)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions