We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2714984 commit 6f0c596Copy full SHA for 6f0c596
build-bin.sh
@@ -40,4 +40,11 @@ python build-version.py
40
41
./pyinstaller.sh $gpu-$arch $opts
42
43
+if [ "$gpu" == "cuda-torch" ]; then
44
+ pushd dist
45
+ tar cvf - gputopia-worker-$gpu-$arch/ | pigz -9 - > gputopia-worker-$gpu-$arch.tar.gz
46
+ rm -rf gputopia-worker-$gpu-$arch/
47
+ popd
48
+fi
49
+
50
deactivate
upload.sh
@@ -7,6 +7,10 @@ fi
7
8
pushd dist
9
for f in gputopia-worker-*; do
10
- aws s3 cp $f s3://gputopia/bin/ --acl public-read
+ if [ -f "$f" ]; then
11
+ aws s3 cp $f s3://gputopia/bin/ --acl public-read
12
+ else
13
+ aws s3 sync $f s3://gputopia/bin/$f --acl public-read
14
+ fi
15
done
16
popd
0 commit comments