Upload folder using huggingface_hub
Browse files- quanto-exps-2/benchmark.py +2 -2
- quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out.png +3 -0
- quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out_info.json +1 -0
- quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@[email protected] +3 -0
- quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@0-fuse@0_info.json +1 -0
- quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out.png +3 -0
- quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out_info.json +1 -0
- quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@[email protected] +3 -0
- quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@0-fuse@0_info.json +1 -0
- quanto-exps-2/launch_exps_2.sh +6 -5
quanto-exps-2/benchmark.py
CHANGED
@@ -11,8 +11,8 @@ WARM_UP_ITERS = 5
|
|
11 |
PROMPT = "ghibli style, a fantasy landscape with castles"
|
12 |
|
13 |
TORCH_DTYPES = {"fp32": torch.float32, "fp16": torch.float16, "bf16": torch.bfloat16}
|
14 |
-
|
15 |
-
QTYPES = {"fp8": qfloat8, "int8": qint8, "none": None}
|
16 |
|
17 |
PREFIXES = {
|
18 |
"stabilityai/stable-diffusion-3-medium-diffusers": "sd3",
|
|
|
11 |
PROMPT = "ghibli style, a fantasy landscape with castles"
|
12 |
|
13 |
TORCH_DTYPES = {"fp32": torch.float32, "fp16": torch.float16, "bf16": torch.bfloat16}
|
14 |
+
QTYPES = {"fp8": qfloat8, "int8": qint8, "int4": qint4, "none": None}
|
15 |
+
# QTYPES = {"fp8": qfloat8, "int8": qint8, "none": None}
|
16 |
|
17 |
PREFIXES = {
|
18 |
"stabilityai/stable-diffusion-3-medium-diffusers": "sd3",
|
quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out.png
ADDED
Git LFS Details
|
quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "9.380", "time": "7.431", "dtype": "bf16", "qtype": "int4", "qte": 0, "exclude_layers": ["proj_out"], "fuse": 0}
|
quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps-2/ckpt@pixart-bs@1-dtype@bf16-qtype@int4-qte@0-fuse@0_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "9.378", "time": "7.442", "dtype": "bf16", "qtype": "int4", "qte": 0, "exclude_layers": null, "fuse": 0}
|
quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out.png
ADDED
Git LFS Details
|
quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@0-fuse@0-exclude@proj_out_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "9.380", "time": "29.227", "dtype": "bf16", "qtype": "int4", "qte": 0, "exclude_layers": ["proj_out"], "fuse": 0}
|
quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps-2/ckpt@pixart-bs@4-dtype@bf16-qtype@int4-qte@0-fuse@0_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "9.378", "time": "29.251", "dtype": "bf16", "qtype": "int4", "qte": 0, "exclude_layers": null, "fuse": 0}
|
quanto-exps-2/launch_exps_2.sh
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# Possible values for each argument
|
4 |
-
ckpt_ids=("PixArt-alpha/PixArt-Sigma-XL-2-1024-MS" "fal/AuraFlow")
|
5 |
batch_sizes=(1 4)
|
6 |
-
torch_dtypes=("
|
7 |
-
qtypes=("
|
8 |
-
qte=(0
|
9 |
|
10 |
# Loop over all combinations
|
11 |
for ckpt_id in "${ckpt_ids[@]}"; do
|
@@ -21,7 +21,8 @@ for ckpt_id in "${ckpt_ids[@]}"; do
|
|
21 |
fi
|
22 |
|
23 |
# Run the Python script with the current combination of arguments
|
24 |
-
python3 benchmark.py --ckpt_id $ckpt_id --batch_size $batch_size --torch_dtype $torch_dtype $q_arg --qte $te
|
|
|
25 |
done
|
26 |
done
|
27 |
done
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# Possible values for each argument
|
4 |
+
ckpt_ids=("PixArt-alpha/PixArt-Sigma-XL-2-1024-MS" "fal/AuraFlow", "stabilityai/stable-diffusion-3-medium-diffusers")
|
5 |
batch_sizes=(1 4)
|
6 |
+
torch_dtypes=("bf16")
|
7 |
+
qtypes=("int4")
|
8 |
+
qte=(0)
|
9 |
|
10 |
# Loop over all combinations
|
11 |
for ckpt_id in "${ckpt_ids[@]}"; do
|
|
|
21 |
fi
|
22 |
|
23 |
# Run the Python script with the current combination of arguments
|
24 |
+
python3 benchmark.py --ckpt_id $ckpt_id --batch_size $batch_size --torch_dtype $torch_dtype $q_arg --qte $te
|
25 |
+
python3 benchmark.py --ckpt_id $ckpt_id --batch_size $batch_size --torch_dtype $torch_dtype $q_arg --qte $te --exclude_layers=proj_out
|
26 |
done
|
27 |
done
|
28 |
done
|