Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- quanto-exps/benchmark.py +9 -4
- quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
- quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
- quanto-exps/launch_exps.sh +1 -1
quanto-exps/benchmark.py
CHANGED
@@ -26,8 +26,10 @@ def flush():
|
|
26 |
torch.cuda.reset_max_memory_allocated()
|
27 |
torch.cuda.reset_peak_memory_stats()
|
28 |
|
29 |
-
def load_pipeline(ckpt_id, torch_dtype, qtype=None, exclude_layers=None, qte=False):
|
30 |
pipe = DiffusionPipeline.from_pretrained(ckpt_id, torch_dtype=torch_dtype).to("cuda")
|
|
|
|
|
31 |
|
32 |
if qtype:
|
33 |
quantize(pipe.transformer, weights=qtype, exclude=exclude_layers)
|
@@ -76,13 +78,14 @@ if __name__ == "__main__":
|
|
76 |
parser.add_argument("--torch_dtype", type=str, default="fp16", choices=list(TORCH_DTYPES.keys()))
|
77 |
parser.add_argument("--qtype", type=str, default="none", choices=list(QTYPES.keys()))
|
78 |
parser.add_argument("--qte", type=int, default=0, help="Quantize text encoder")
|
|
|
79 |
parser.add_argument("--exclude_layers", metavar="N", type=str, nargs="*", default=None)
|
80 |
args = parser.parse_args()
|
81 |
|
82 |
flush()
|
83 |
|
84 |
print(
|
85 |
-
f"Running with ckpt_id: {args.ckpt_id}, batch_size: {args.batch_size}, torch_dtype: {args.torch_dtype}, qtype: {args.qtype}, qte: {bool(args.qte)}"
|
86 |
)
|
87 |
pipeline = load_pipeline(
|
88 |
ckpt_id=args.ckpt_id,
|
@@ -90,6 +93,7 @@ if __name__ == "__main__":
|
|
90 |
qtype=QTYPES[args.qtype],
|
91 |
exclude_layers=args.exclude_layers,
|
92 |
qte=args.qte,
|
|
|
93 |
)
|
94 |
|
95 |
for _ in range(WARM_UP_ITERS):
|
@@ -98,12 +102,12 @@ if __name__ == "__main__":
|
|
98 |
time = benchmark_fn(run_inference, pipeline, args.batch_size)
|
99 |
memory = bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) # in GBs.
|
100 |
print(
|
101 |
-
f"ckpt: {args.ckpt_id} batch_size: {args.batch_size}, qte: {args.qte}, "
|
102 |
f"torch_dtype: {args.torch_dtype}, qtype: {args.qtype} in {time} seconds and {memory} GBs."
|
103 |
)
|
104 |
|
105 |
ckpt_id = PREFIXES[args.ckpt_id]
|
106 |
-
img_name = f"ckpt@{ckpt_id}-bs@{args.batch_size}-dtype@{args.torch_dtype}-qtype@{args.qtype}-qte@{args.qte}"
|
107 |
if args.exclude_layers:
|
108 |
exclude_layers = "_".join(args.exclude_layers)
|
109 |
img_name += f"-exclude@{exclude_layers}"
|
@@ -122,6 +126,7 @@ if __name__ == "__main__":
|
|
122 |
qtype=args.qtype,
|
123 |
qte=args.qte,
|
124 |
exclude_layers=args.exclude_layers,
|
|
|
125 |
)
|
126 |
info_file = f"{img_name}_info.json"
|
127 |
with open(info_file, "w") as f:
|
|
|
26 |
torch.cuda.reset_max_memory_allocated()
|
27 |
torch.cuda.reset_peak_memory_stats()
|
28 |
|
29 |
+
def load_pipeline(ckpt_id, torch_dtype, qtype=None, exclude_layers=None, qte=False, fuse=False):
|
30 |
pipe = DiffusionPipeline.from_pretrained(ckpt_id, torch_dtype=torch_dtype).to("cuda")
|
31 |
+
if fuse:
|
32 |
+
pipe.transformer.fuse_qkv_projections()
|
33 |
|
34 |
if qtype:
|
35 |
quantize(pipe.transformer, weights=qtype, exclude=exclude_layers)
|
|
|
78 |
parser.add_argument("--torch_dtype", type=str, default="fp16", choices=list(TORCH_DTYPES.keys()))
|
79 |
parser.add_argument("--qtype", type=str, default="none", choices=list(QTYPES.keys()))
|
80 |
parser.add_argument("--qte", type=int, default=0, help="Quantize text encoder")
|
81 |
+
parser.add_argument("--fuse", type=int, default=0)
|
82 |
parser.add_argument("--exclude_layers", metavar="N", type=str, nargs="*", default=None)
|
83 |
args = parser.parse_args()
|
84 |
|
85 |
flush()
|
86 |
|
87 |
print(
|
88 |
+
f"Running with ckpt_id: {args.ckpt_id}, batch_size: {args.batch_size}, torch_dtype: {args.torch_dtype}, qtype: {args.qtype}, qte: {bool(args.qte)}, {args.exclude_layers=}, {args.fuse=}"
|
89 |
)
|
90 |
pipeline = load_pipeline(
|
91 |
ckpt_id=args.ckpt_id,
|
|
|
93 |
qtype=QTYPES[args.qtype],
|
94 |
exclude_layers=args.exclude_layers,
|
95 |
qte=args.qte,
|
96 |
+
fuse=bool(args.fuse),
|
97 |
)
|
98 |
|
99 |
for _ in range(WARM_UP_ITERS):
|
|
|
102 |
time = benchmark_fn(run_inference, pipeline, args.batch_size)
|
103 |
memory = bytes_to_giga_bytes(torch.cuda.max_memory_allocated()) # in GBs.
|
104 |
print(
|
105 |
+
f"ckpt: {args.ckpt_id} batch_size: {args.batch_size}, qte: {args.qte}, {args.exclude_layers=}"
|
106 |
f"torch_dtype: {args.torch_dtype}, qtype: {args.qtype} in {time} seconds and {memory} GBs."
|
107 |
)
|
108 |
|
109 |
ckpt_id = PREFIXES[args.ckpt_id]
|
110 |
+
img_name = f"ckpt@{ckpt_id}-bs@{args.batch_size}-dtype@{args.torch_dtype}-qtype@{args.qtype}-qte@{args.qte}-fuse@{args.fuse}"
|
111 |
if args.exclude_layers:
|
112 |
exclude_layers = "_".join(args.exclude_layers)
|
113 |
img_name += f"-exclude@{exclude_layers}"
|
|
|
126 |
qtype=args.qtype,
|
127 |
qte=args.qte,
|
128 |
exclude_layers=args.exclude_layers,
|
129 |
+
fuse=args.fuse,
|
130 |
)
|
131 |
info_file = f"{img_name}_info.json"
|
132 |
with open(info_file, "w") as f:
|
quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "17.756", "time": "13.540", "dtype": "bf16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "17.755", "time": "13.605", "dtype": "bf16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "18.224", "time": "13.850", "dtype": "fp16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "18.225", "time": "13.894", "dtype": "fp16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "17.964", "time": "49.307", "dtype": "bf16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "17.756", "time": "49.387", "dtype": "bf16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "26.569", "time": "51.163", "dtype": "fp16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "25.025", "time": "51.235", "dtype": "fp16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "12.232", "time": "1.390", "dtype": "bf16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "10.563", "time": "1.418", "dtype": "bf16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "14.107", "time": "1.455", "dtype": "fp16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "12.438", "time": "1.489", "dtype": "fp16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "17.882", "time": "4.879", "dtype": "bf16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "13.572", "time": "4.914", "dtype": "bf16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "19.758", "time": "4.906", "dtype": "fp16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "13.573", "time": "4.946", "dtype": "fp16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "15.314", "time": "2.522", "dtype": "bf16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "15.264", "time": "2.579", "dtype": "bf16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "17.187", "time": "2.516", "dtype": "fp16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 1, "memory": "17.167", "time": "2.580", "dtype": "fp16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "20.977", "time": "8.315", "dtype": "bf16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "16.009", "time": "8.367", "dtype": "bf16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "22.847", "time": "8.375", "dtype": "fp16", "qtype": "int8", "qte": 0, "exclude_layers": null, "fuse": 1}
|
quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@[email protected]
ADDED
Git LFS Details
|
quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"batch_size": 4, "memory": "17.171", "time": "8.477", "dtype": "fp16", "qtype": "int8", "qte": 1, "exclude_layers": null, "fuse": 1}
|
quanto-exps/launch_exps.sh
CHANGED
@@ -21,7 +21,7 @@ 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
|
|
|
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 --fuse 1
|
25 |
done
|
26 |
done
|
27 |
done
|