Instructions to use nvidia/ChronoEdit-14B-Diffusers-Upscaler-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nvidia/ChronoEdit-14B-Diffusers-Upscaler-Lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nvidia/ChronoEdit-14B-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("nvidia/ChronoEdit-14B-Diffusers-Upscaler-Lora") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,9 +26,11 @@ Fixed prompt words (no need to use prompt enhancer):
|
|
| 26 |
|
| 27 |
The user want to enhance image clarity and resolution while keeping the content identical. super-resolution, high detail, 4K clarity, same composition, natural texture.
|
| 28 |
|
| 29 |
-
|
| 30 |
|
|
|
|
| 31 |
|
|
|
|
| 32 |
|
| 33 |
### License/Terms of Use
|
| 34 |
Governing Terms: Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/). Additional Information: [Apache License Version 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md).
|
|
|
|
| 26 |
|
| 27 |
The user want to enhance image clarity and resolution while keeping the content identical. super-resolution, high detail, 4K clarity, same composition, natural texture.
|
| 28 |
|
| 29 |
+
[How to use this lora?](https://github.com/nv-tlabs/ChronoEdit/tree/main?tab=readme-ov-file#chronoedit-14b-diffusers-upscaler-lora--)
|
| 30 |
|
| 31 |
+
[Official Diffuser Example with LoRA Loading](https://huggingface.co/docs/diffusers/main/api/pipelines/chronoedit#inference-with-8-step-distillation-lora)
|
| 32 |
|
| 33 |
+

|
| 34 |
|
| 35 |
### License/Terms of Use
|
| 36 |
Governing Terms: Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/). Additional Information: [Apache License Version 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md).
|