Habana / stable-diffusion

huggingface.co
Total runs: 622
24-hour runs: 39
7-day runs: -17
30-day runs: -4.0K
Model's Last Updated: September 07 2023

Introduction of stable-diffusion

Model Details of stable-diffusion

Optimum Habana is the interface between the Hugging Face Transformers and Diffusers libraries and Habana's Gaudi processor (HPU). It provides a set of tools enabling easy and fast model loading, training and inference on single- and multi-HPU settings for different downstream tasks. Learn more about how to take advantage of the power of Habana HPUs to train and deploy Transformers and Diffusers models at hf.co/hardware/habana .

Stable Diffusion HPU configuration

This model only contains the GaudiConfig file for running Stable Diffusion v1 (e.g. runwayml/stable-diffusion-v1-5 ) on Habana's Gaudi processors (HPU).

This model contains no model weights, only a GaudiConfig.

This enables to specify:

  • use_torch_autocast : whether to use Torch Autocast for managing mixed precision
Usage

The GaudiStableDiffusionPipeline ( GaudiDDIMScheduler ) is instantiated the same way as the StableDiffusionPipeline ( DDIMScheduler ) in the 🤗 Diffusers library. The only difference is that there are a few new training arguments specific to HPUs.
It is strongly recommended to train this model doing bf16 mixed-precision training for optimal performance and accuracy.

Here is an example with one prompt:

from optimum.habana import GaudiConfig
from optimum.habana.diffusers import GaudiDDIMScheduler, GaudiStableDiffusionPipeline


model_name = "runwayml/stable-diffusion-v1-5"

scheduler = GaudiDDIMScheduler.from_pretrained(model_name, subfolder="scheduler")

pipeline = GaudiStableDiffusionPipeline.from_pretrained(
    model_name,
    scheduler=scheduler,
    use_habana=True,
    use_hpu_graphs=True,
    gaudi_config="Habana/stable-diffusion",
)

outputs = pipeline(
    ["An image of a squirrel in Picasso style"],
    num_images_per_prompt=16,
    batch_size=4,
)

Check out the documentation and this example for more advanced usage.

Runs of Habana stable-diffusion on huggingface.co

622
Total runs
39
24-hour runs
-10
3-day runs
-17
7-day runs
-4.0K
30-day runs

More Information About stable-diffusion huggingface.co Model

More stable-diffusion license Visit here:

https://choosealicense.com/licenses/apache-2.0

stable-diffusion huggingface.co

stable-diffusion huggingface.co is an AI model on huggingface.co that provides stable-diffusion's model effect (), which can be used instantly with this Habana stable-diffusion model. huggingface.co supports a free trial of the stable-diffusion model, and also provides paid use of the stable-diffusion. Support call stable-diffusion model through api, including Node.js, Python, http.

stable-diffusion huggingface.co Url

https://huggingface.co/Habana/stable-diffusion

Habana stable-diffusion online free

stable-diffusion huggingface.co is an online trial and call api platform, which integrates stable-diffusion's modeling effects, including api services, and provides a free online trial of stable-diffusion, you can try stable-diffusion online for free by clicking the link below.

Habana stable-diffusion online free url in huggingface.co:

https://huggingface.co/Habana/stable-diffusion

stable-diffusion install

stable-diffusion is an open source model from GitHub that offers a free installation service, and any user can find stable-diffusion on GitHub to install. At the same time, huggingface.co provides the effect of stable-diffusion install, users can directly use stable-diffusion installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

stable-diffusion install url in huggingface.co:

https://huggingface.co/Habana/stable-diffusion

Url of stable-diffusion

stable-diffusion huggingface.co Url

Provider of stable-diffusion huggingface.co

Habana
ORGANIZATIONS

Other API from Habana

huggingface.co

Total runs: 14.1K
Run Growth: -4.7K
Growth Rate: -32.72%
Updated:November 28 2023
huggingface.co

Total runs: 616
Run Growth: -8
Growth Rate: -1.32%
Updated:August 19 2023
huggingface.co

Total runs: 600
Run Growth: -685
Growth Rate: -110.84%
Updated:August 23 2024
huggingface.co

Total runs: 440
Run Growth: -2.0K
Growth Rate: -448.68%
Updated:December 01 2023
huggingface.co

Total runs: 55
Run Growth: -830
Growth Rate: -1509.09%
Updated:February 16 2024
huggingface.co

Total runs: 23
Run Growth: -797
Growth Rate: -3320.83%
Updated:April 19 2024
huggingface.co

Total runs: 18
Run Growth: -315
Growth Rate: -1750.00%
Updated:July 26 2023
huggingface.co

Total runs: 15
Run Growth: -1.6K
Growth Rate: -15870.00%
Updated:May 02 2024
huggingface.co

Total runs: 15
Run Growth: -438
Growth Rate: -3128.57%
Updated:July 26 2023
huggingface.co

Total runs: 7
Run Growth: -93
Growth Rate: -1328.57%
Updated:October 17 2023
huggingface.co

Total runs: 4
Run Growth: -299
Growth Rate: -7475.00%
Updated:May 02 2024
huggingface.co

Total runs: 2
Run Growth: -772
Growth Rate: -38600.00%
Updated:June 13 2024
huggingface.co

Total runs: 2
Run Growth: -355
Growth Rate: -17750.00%
Updated:March 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 11 2025