sayakpaul HF staff commited on
Commit
0664be0
1 Parent(s): 024bdb1

Upload folder using huggingface_hub

Browse files
quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@fp8-qte@1-second@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 1, "memory": "14.987", "time": "2.733", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
 
1
+ {"batch_size": 1, "memory": "14.988", "time": "2.731", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@fp8-qte@1-third@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 1, "memory": "14.601", "time": "2.700", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
 
1
+ {"batch_size": 1, "memory": "14.636", "time": "2.709", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@fp8-qte@1-second@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 1, "memory": "16.863", "time": "2.742", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
 
1
+ {"batch_size": 1, "memory": "16.862", "time": "2.765", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@fp8-qte@1-third@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 1, "memory": "16.514", "time": "2.743", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
 
1
+ {"batch_size": 1, "memory": "16.483", "time": "2.744", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@fp8-qte@1-second@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 4, "memory": "20.676", "time": "8.200", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
 
1
+ {"batch_size": 4, "memory": "20.644", "time": "8.192", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@fp8-qte@1-third@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 4, "memory": "16.330", "time": "8.359", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
 
1
+ {"batch_size": 4, "memory": "16.368", "time": "8.360", "dtype": "bf16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@fp8-qte@1-second@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 4, "memory": "22.517", "time": "8.215", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
 
1
+ {"batch_size": 4, "memory": "22.517", "time": "8.244", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 1, "third": 0}
quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@fp8-qte@1-third@1_info.json CHANGED
@@ -1 +1 @@
1
- {"batch_size": 4, "memory": "16.480", "time": "8.542", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
 
1
+ {"batch_size": 4, "memory": "16.483", "time": "8.534", "dtype": "fp16", "qtype": "fp8", "qte": 1, "exclude_layers": null, "first": 0, "second": 0, "third": 1}
quanto-exps/launch_exps_4.sh ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Possible values for each argument
4
+ ckpt_ids=("stabilityai/stable-diffusion-3-medium-diffusers")
5
+ batch_sizes=(1 4)
6
+ torch_dtypes=("fp16" "bf16")
7
+ qtypes=("fp8")
8
+ qte=(1)
9
+
10
+ # Loop over all combinations
11
+ for ckpt_id in "${ckpt_ids[@]}"; do
12
+ for batch_size in "${batch_sizes[@]}"; do
13
+ for torch_dtype in "${torch_dtypes[@]}"; do
14
+ for qtype in "${qtypes[@]}"; do
15
+ for te in "${qte[@]}"; do
16
+ # Adjust the qtype argument if it's "None"
17
+ if [ "$qtype" == "none" ]; then
18
+ q_arg=""
19
+ else
20
+ q_arg="--qtype $qtype"
21
+ fi
22
+
23
+ # Run the Python script with the current combination of arguments
24
+ python3 benchmark_2.py --ckpt_id $ckpt_id --batch_size $batch_size --torch_dtype $torch_dtype $q_arg --qte $te --first 0 --second 1 --third 0
25
+ python3 benchmark_2.py --ckpt_id $ckpt_id --batch_size $batch_size --torch_dtype $torch_dtype $q_arg --qte $te --first 0 --second 0 --third 1
26
+ done
27
+ done
28
+ done
29
+ done
30
+ done