Instructions to use nyu-visionx/RAE-dinov2-wReg-large-ViTXL-n08 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nyu-visionx/RAE-dinov2-wReg-large-ViTXL-n08 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nyu-visionx/RAE-dinov2-wReg-large-ViTXL-n08", 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 folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +3 -0
- conversion_metadata.json +12 -0
- diffusion_pytorch_model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
config.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11c318283ead1325294ba35577b853304646d1e6e56f641fbd54dc70fa06d070
|
| 3 |
+
size 15541573
|
conversion_metadata.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source": "/data/boyang/models",
|
| 3 |
+
"encoder_cls": "dinov2",
|
| 4 |
+
"encoder_name_or_path": "facebook/dinov2-with-registers-large",
|
| 5 |
+
"decoder_checkpoint": "decoders/dinov2/wReg_large/ViTXL_n08/model.pt",
|
| 6 |
+
"stats_checkpoint": "stats/dinov2/wReg_large/imagenet1k/stat.pt",
|
| 7 |
+
"variant": "ViTXL_n08",
|
| 8 |
+
"dataset_name": "imagenet1k",
|
| 9 |
+
"decoder_config_name": "ViTXL",
|
| 10 |
+
"missing_decoder_keys": [],
|
| 11 |
+
"unexpected_decoder_keys": []
|
| 12 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47c003e7973f0e47103d45f85fc77d97a615ae489721b3e0e4ff9d144153c8c3
|
| 3 |
+
size 2882280648
|