Run this model with HF Jobs
Run YiYiXu/diff-diff-mellon on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/YiYiXu/diff-diff-mellon. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/YiYiXu/diff-diff-mellon on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use YiYiXu/diff-diff-mellon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YiYiXu/diff-diff-mellon with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YiYiXu/diff-diff-mellon", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
mellon nodes made with diffusers ModularNode
Instruction
Install Mellon
download this folder insde the custom directory:
install from the latest modular diffusers branch. https://github.com/huggingface/diffusers/pull/11235
pip uninstall diffusers -y
pip install git+https://github.com/huggingface/diffusers.git@modular-refactor
run python main.py and that's it
Components Manager
To use diffusers components manager across different custom nodes, for now, add this in your custom/__init__.py
from diffusers import ComponentsManager
components = ComponentsManager()
and add this code in all your custom nodes module file
from custom import components
e.g.
custom/
βββ __init__.py # create your components manager here
βββ mellon-modular-diffusers/
β βββ mellon-modular-diffusers.py # use in this
βββ diff-diff/
βββ diff-diff.py # use in this too
example workflow
find workflow here
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support
