Instructions to use songkey/hm5b_reference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use songkey/hm5b_reference with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("songkey/hm5b_reference", 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
Upload HM5bReferenceAdapter
Browse files- config.json +1 -0
- diffusion_pytorch_model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "HM5bReferenceAdapter",
|
| 3 |
"_diffusers_version": "0.33.1",
|
|
|
|
| 4 |
"block_down_channels": [
|
| 5 |
320,
|
| 6 |
640,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "HM5bReferenceAdapter",
|
| 3 |
"_diffusers_version": "0.33.1",
|
| 4 |
+
"_name_or_path": "songkey/hm5b_reference",
|
| 5 |
"block_down_channels": [
|
| 6 |
320,
|
| 7 |
640,
|
diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1107788840
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08ecfc4e365465afd285c57d20b356f765d7abb967d9671f48f101d477e82335
|
| 3 |
size 1107788840
|