Spaces:
Sleeping
Sleeping
Match the CUDA version (12.1) to ZeroGPU.
Browse files
build-cuda-ext.sh
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
#
|
3 |
+
# @File: build-cuda-ext.sh
|
4 |
+
# @Author: Haozhe Xie
|
5 |
+
# @Date: 2024-09-22 10:43:34
|
6 |
+
# @Last Modified by: Haozhe Xie
|
7 |
+
# @Last Modified at: 2024-09-22 10:46:29
|
8 |
+
# @Email: root@haozhexie.com
|
9 |
+
|
10 |
+
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
11 |
+
EXTENSIONS_DIR="$SCRIPT_DIR/citydreamer/extensions"
|
12 |
+
WHEELS_DIR="$SCRIPT_DIR/wheels"
|
13 |
+
|
14 |
+
mkdir -p "$WHEELS_DIR"
|
15 |
+
|
16 |
+
for dir in "$EXTENSIONS_DIR"/*/; do
|
17 |
+
if [ -d "$dir" ]; then
|
18 |
+
echo "Processing $dir"
|
19 |
+
(cd "$dir" && pip wheel .)
|
20 |
+
mv "$dir"*.whl "$WHEELS_DIR"
|
21 |
+
fi
|
22 |
+
done
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
torch==2.2.
|
2 |
-
torchvision==0.17.
|
3 |
|
4 |
easydict
|
5 |
gradio
|
|
|
1 |
+
torch==2.2.2
|
2 |
+
torchvision==0.17.2
|
3 |
|
4 |
easydict
|
5 |
gradio
|
wheels/extrude_tensor-1.0.0-cp310-cp310-linux_x86_64.whl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c7e143d972796e4092b874de35bcca064885539352cfd9d3c652ad3a7a9ca40
|
3 |
+
size 237842
|
wheels/grid_encoder-1.0.0-cp310-cp310-linux_x86_64.whl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7de95ace4abdb055a0326538854eb1ce173440ac2b0be5fce1d4cfa81522ebc1
|
3 |
+
size 2345063
|
wheels/voxrender-1.0.0-cp310-cp310-linux_x86_64.whl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e56e7d57812d7778339e64b8bc2e14ea52eb37dead72c290650a163371a0cd4c
|
3 |
+
size 593569
|