Upload folder using huggingface_hub
Browse files- diffusion_pytorch_model.safetensors +3 -0
- download_models.sh +70 -0
- effnet_encoder.safetensors +3 -0
- previewer.safetensors +3 -0
- stage_c_bf16.safetensors +3 -0
diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f52959a30b533854e865d68d128f077fe751ca24643e3eab7766d38089bb9c4
|
3 |
+
size 7434141112
|
download_models.sh
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Check if at least two arguments were provided (excluding the optional first one)
|
4 |
+
if [ $# -lt 2 ]; then
|
5 |
+
echo "Insufficient arguments provided. At least two arguments are required."
|
6 |
+
exit 1
|
7 |
+
fi
|
8 |
+
|
9 |
+
# Check for the optional "essential" argument and download the essential models if present
|
10 |
+
if [ "$1" == "essential" ]; then
|
11 |
+
echo "Downloading Essential Models (EfficientNet, Stage A, Previewer)"
|
12 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_a.safetensors -P . -q --show-progress
|
13 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/previewer.safetensors -P . -q --show-progress
|
14 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/effnet_encoder.safetensors -P . -q --show-progress
|
15 |
+
shift # Move the arguments, $2 becomes $1, $3 becomes $2, etc.
|
16 |
+
fi
|
17 |
+
|
18 |
+
# Now, $1 is the second argument due to the potential shift above
|
19 |
+
second_argument="$1"
|
20 |
+
binary_decision="${2:-bfloat16}" # Use default or specific binary value if provided
|
21 |
+
|
22 |
+
case $second_argument in
|
23 |
+
big-big)
|
24 |
+
if [ "$binary_decision" == "bfloat16" ]; then
|
25 |
+
echo "Downloading Large Stage B & Large Stage C"
|
26 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b_bf16.safetensors -P . -q --show-progress
|
27 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_bf16.safetensors -P . -q --show-progress
|
28 |
+
else
|
29 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b.safetensors -P . -q --show-progress
|
30 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c.safetensors -P . -q --show-progress
|
31 |
+
fi
|
32 |
+
;;
|
33 |
+
big-small)
|
34 |
+
if [ "$binary_decision" == "bfloat16" ]; then
|
35 |
+
echo "Downloading Large Stage B & Small Stage C (BFloat16)"
|
36 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b_bf16.safetensors -P . -q --show-progress
|
37 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_lite_bf16.safetensors -P . -q --show-progress
|
38 |
+
else
|
39 |
+
echo "Downloading Large Stage B & Small Stage C"
|
40 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b.safetensors -P . -q --show-progress
|
41 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_lite.safetensors -P . -q --show-progress
|
42 |
+
fi
|
43 |
+
;;
|
44 |
+
small-big)
|
45 |
+
if [ "$binary_decision" == "bfloat16" ]; then
|
46 |
+
echo "Downloading Small Stage B & Large Stage C (BFloat16)"
|
47 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b_lite_bf16.safetensors -P . -q --show-progress
|
48 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_bf16.safetensors -P . -q --show-progress
|
49 |
+
else
|
50 |
+
echo "Downloading Small Stage B & Large Stage C"
|
51 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b_lite.safetensors -P . -q --show-progress
|
52 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c.safetensors -P . -q --show-progress
|
53 |
+
fi
|
54 |
+
;;
|
55 |
+
small-small)
|
56 |
+
if [ "$binary_decision" == "bfloat16" ]; then
|
57 |
+
echo "Downloading Small Stage B & Small Stage C (BFloat16)"
|
58 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b_lite_bf16.safetensors -P . -q --show-progress
|
59 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_lite_bf16.safetensors -P . -q --show-progress
|
60 |
+
else
|
61 |
+
echo "Downloading Small Stage B & Small Stage C"
|
62 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_b_lite.safetensors -P . -q --show-progress
|
63 |
+
wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_lite.safetensors -P . -q --show-progress
|
64 |
+
fi
|
65 |
+
;;
|
66 |
+
*)
|
67 |
+
echo "Invalid second argument. Please provide a valid argument: big-big, big-small, small-big, or small-small."
|
68 |
+
exit 2
|
69 |
+
;;
|
70 |
+
esac
|
effnet_encoder.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e23c1fe17ba8cdd6c49a5b292d72502bd4cf729e7de9f2060bb4dcc26737c0a0
|
3 |
+
size 81506763
|
previewer.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d66285b840aaaf69abe809727f0b02657c513dd9376f2f07f3c3ba4fe87f250
|
3 |
+
size 15954183
|
stage_c_bf16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfe24009fc881011f350d08d9d13be13a1a3b3cbfed667435efe0fd419aca099
|
3 |
+
size 7178375922
|