Spaces:
Paused
Paused
Fix: Add HF_HOME and disable XET to fix permission denied error
Browse filesROOT CAUSE:
- XET logging tried to write to /home/user/.cache/huggingface/xet/logs/ (read-only)
- Setting cache_dir in Python code didn't affect XET's logging location
SOLUTION:
- Set HF_HOME=/data/.huggingface in YAML env section
- Disable XET entirely with HF_HUB_DISABLE_XET=1
- This ensures all HuggingFace components use writable /data directory
README.md
CHANGED
|
@@ -9,6 +9,9 @@ app_file: code/demo.py
|
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
python_version: "3.10"
|
|
|
|
|
|
|
|
|
|
| 12 |
preload_from_hub:
|
| 13 |
- 0xZohar/object-assembler-models save_shape_cars_whole_p_rot_scratch_4mask_randp.safetensors
|
| 14 |
- openai/clip-vit-base-patch32
|
|
|
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
python_version: "3.10"
|
| 12 |
+
env:
|
| 13 |
+
HF_HOME: /data/.huggingface
|
| 14 |
+
HF_HUB_DISABLE_XET: "1"
|
| 15 |
preload_from_hub:
|
| 16 |
- 0xZohar/object-assembler-models save_shape_cars_whole_p_rot_scratch_4mask_randp.safetensors
|
| 17 |
- openai/clip-vit-base-patch32
|