Spaces:
Running on Zero
Running on Zero
Deploy ARDY ZeroGPU Blender motion API
Browse files
README.md
CHANGED
|
@@ -14,6 +14,8 @@ preload_from_hub:
|
|
| 14 |
- unsloth/llama-3-8b-Instruct
|
| 15 |
- McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp
|
| 16 |
- McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp-supervised
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# ARDY Motion Playground
|
|
|
|
| 14 |
- unsloth/llama-3-8b-Instruct
|
| 15 |
- McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp
|
| 16 |
- McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp-supervised
|
| 17 |
+
- nvidia/ARDY-Core-RP-20FPS-Horizon40
|
| 18 |
+
- nvidia/ARDY-G1-RP-25FPS-Horizon52
|
| 19 |
---
|
| 20 |
|
| 21 |
# ARDY Motion Playground
|
app.py
CHANGED
|
@@ -3,6 +3,11 @@ import os
|
|
| 3 |
os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "expandable_segments:True")
|
| 4 |
# Load models locally (no external text-encoder service) and prefer the HF cache.
|
| 5 |
os.environ.setdefault("TEXT_ENCODER_MODE", "local")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
import base64
|
| 8 |
import gzip
|
|
|
|
| 3 |
os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "expandable_segments:True")
|
| 4 |
# Load models locally (no external text-encoder service) and prefer the HF cache.
|
| 5 |
os.environ.setdefault("TEXT_ENCODER_MODE", "local")
|
| 6 |
+
# README `preload_from_hub` is mounted read-only at runtime. Keep Xet's mutable
|
| 7 |
+
# chunk cache and logs in /tmp, while resolving preloaded model snapshots from
|
| 8 |
+
# the normal Hub cache before attempting any network download.
|
| 9 |
+
os.environ.setdefault("HF_XET_CACHE", "/tmp/huggingface-xet")
|
| 10 |
+
os.environ.setdefault("LOCAL_CACHE", "true")
|
| 11 |
|
| 12 |
import base64
|
| 13 |
import gzip
|