Instructions to use ProCreations/Image-2.1-Calibrated-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ProCreations/Image-2.1-Calibrated-FP8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ProCreations/Image-2.1-Calibrated-FP8", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Accelerate full 40-step FP8 generation with native precision, measured quality and real-time demo
1081be0 verified Download optimization/video-verification.json from ProCreations/Image-2.1-Calibrated-FP8: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/ProCreations/Image-2.1-Calibrated-FP8/resolve/main/optimization/video-verification.json
- Command line
-
hf download hf://ProCreations/Image-2.1-Calibrated-FP8/optimization/video-verification.json
-
curl -L -o video-verification.json https://huggingface.co/ProCreations/Image-2.1-Calibrated-FP8/resolve/main/optimization/video-verification.json
1.86 kB
| { | |
| "duration_seconds": 30, | |
| "frames": 900, | |
| "fps": 30, | |
| "resolution": [ | |
| 1024, | |
| 1024 | |
| ], | |
| "audio_streams": 0, | |
| "displayed_images": 6, | |
| "new_completed_images_during_video": 5, | |
| "max_capture_lag_seconds": 0.0017203343178451291, | |
| "decoded_frame_matches": [ | |
| { | |
| "frame": 2, | |
| "image": "initial", | |
| "mean_abs_8bit_difference": 2.105666160583496, | |
| "psnr_db": 38.14284836625842, | |
| "nearest_other_image_mae": 38.0782725016276 | |
| }, | |
| { | |
| "frame": 177, | |
| "image": "image-1", | |
| "mean_abs_8bit_difference": 3.0850915908813477, | |
| "psnr_db": 35.20685209394574, | |
| "nearest_other_image_mae": 57.398658752441406 | |
| }, | |
| { | |
| "frame": 352, | |
| "image": "image-2", | |
| "mean_abs_8bit_difference": 2.2150487899780273, | |
| "psnr_db": 38.635095538451864, | |
| "nearest_other_image_mae": 67.93911488850911 | |
| }, | |
| { | |
| "frame": 528, | |
| "image": "image-3", | |
| "mean_abs_8bit_difference": 1.131612777709961, | |
| "psnr_db": 43.60117595028186, | |
| "nearest_other_image_mae": 62.34977149963379 | |
| }, | |
| { | |
| "frame": 705, | |
| "image": "image-4", | |
| "mean_abs_8bit_difference": 1.5116732915242512, | |
| "psnr_db": 41.71400523852878, | |
| "nearest_other_image_mae": 80.5759646097819 | |
| }, | |
| { | |
| "frame": 883, | |
| "image": "image-5", | |
| "mean_abs_8bit_difference": 1.8596614201863606, | |
| "psnr_db": 38.69767825314611, | |
| "nearest_other_image_mae": 38.040283203125 | |
| } | |
| ], | |
| "video_sha256": "3271da65a4797dda30419d7857612fb05873497f2c50b18056c96fde92fb9457", | |
| "bytes": 1753321, | |
| "visual_review_pending": false, | |
| "visual_review": "All six displayed nature images inspected; no visible text, labels, overlays or logos. Encoded frames matched recorded display states with PSNR35.2-43.6dB, and were unambiguously closer to the correct image than all alternatives." | |
| } |