Spaces:
Runtime error
Runtime error
jiaweir
commited on
Commit
β’
82b1157
1
Parent(s):
21c4e64
init
Browse files- app.py +1 -0
- requirements.txt +0 -1
app.py
CHANGED
@@ -8,6 +8,7 @@ import hashlib
|
|
8 |
|
9 |
os.system('pip install -e ./simple-knn')
|
10 |
os.system('pip install -e ./diff-gaussian-rasterization')
|
|
|
11 |
|
12 |
from huggingface_hub import hf_hub_download
|
13 |
ckpt_path = hf_hub_download(repo_id="ashawkey/LGM", filename="model_fp16_fixrot.safetensors")
|
|
|
8 |
|
9 |
os.system('pip install -e ./simple-knn')
|
10 |
os.system('pip install -e ./diff-gaussian-rasterization')
|
11 |
+
os.system('pip install xformers==0.0.23 --no-deps --index-url https://download.pytorch.org/whl/cu118')
|
12 |
|
13 |
from huggingface_hub import hf_hub_download
|
14 |
ckpt_path = hf_hub_download(repo_id="ashawkey/LGM", filename="model_fp16_fixrot.safetensors")
|
requirements.txt
CHANGED
@@ -14,7 +14,6 @@ omegaconf
|
|
14 |
torch==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
15 |
torchvision==0.16.0 --index-url https://download.pytorch.org/whl/cu118
|
16 |
torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
17 |
-
xformer --index-url https://download.pytorch.org/whl/cu118 --no-deps
|
18 |
einops
|
19 |
plyfile
|
20 |
pygltflib
|
|
|
14 |
torch==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
15 |
torchvision==0.16.0 --index-url https://download.pytorch.org/whl/cu118
|
16 |
torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
|
|
17 |
einops
|
18 |
plyfile
|
19 |
pygltflib
|