sayakpaul HF staff commited on
Commit
248dad0
1 Parent(s): 62dc311

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. quanto-exps/benchmark.py +9 -4
  2. quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  3. quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  4. quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  5. quanto-exps/ckpt@auraflow-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  6. quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  7. quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  8. quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  9. quanto-exps/ckpt@auraflow-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  10. quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  11. quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  12. quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  13. quanto-exps/ckpt@auraflow-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  14. quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  15. quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  16. quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  17. quanto-exps/ckpt@auraflow-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  18. quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  19. quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  20. quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  21. quanto-exps/ckpt@pixart-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  22. quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  23. quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  24. quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  25. quanto-exps/ckpt@pixart-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  26. quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  27. quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  28. quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  29. quanto-exps/ckpt@pixart-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  30. quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  31. quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  32. quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  33. quanto-exps/ckpt@pixart-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  34. quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  35. quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  36. quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  37. quanto-exps/ckpt@sd3-bs@1-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  38. quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  39. quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  40. quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  41. quanto-exps/ckpt@sd3-bs@1-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  42. quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  43. quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  44. quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@[email protected] +3 -0
  45. quanto-exps/ckpt@sd3-bs@4-dtype@bf16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  46. quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  47. quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@0-fuse@1_info.json +1 -0
  48. quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@[email protected] +3 -0
  49. quanto-exps/ckpt@sd3-bs@4-dtype@fp16-qtype@int8-qte@1-fuse@1_info.json +1 -0
  50. 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

  • SHA256: a70be6a9d38baf25f0e8f847b112be5264be158675e7208eb1ec8968a0d020d5
  • Pointer size: 132 Bytes
  • Size of remote file: 2.18 MB
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

  • SHA256: 4864e25e406573d34d1d4baf325d74ba473d6366f52af3885a37d67ea421c0b9
  • Pointer size: 132 Bytes
  • Size of remote file: 2.06 MB
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

  • SHA256: 41907b99a981fc38bb837d462ce48dcb9e712c1bad1fda1fcbaaa16a69ab8652
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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

  • SHA256: 784b2522efa7bad56c13cc49558b8fe9a69a4626f0960b9c77588cdafb96ac3b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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

  • SHA256: a70be6a9d38baf25f0e8f847b112be5264be158675e7208eb1ec8968a0d020d5
  • Pointer size: 132 Bytes
  • Size of remote file: 2.18 MB
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

  • SHA256: 4864e25e406573d34d1d4baf325d74ba473d6366f52af3885a37d67ea421c0b9
  • Pointer size: 132 Bytes
  • Size of remote file: 2.06 MB
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

  • SHA256: 43da5b8f510a60e454e481daabc37d6d98bb0347d32d6bc177f21afc56dea57b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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

  • SHA256: fd40cb32cc4ed7595afd5d4d0836c94ccf4374328e96827b774af04538db7302
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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

  • SHA256: 0b0341965fac8b91599bf5b1ea149ce3892280545e4f8247b3ea16e5547926f2
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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

  • SHA256: 21630ab19a18041812ee05d5a06e7ac4649dab4aa7aef0e01414640611aea96f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.8 MB
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

  • SHA256: 889487cd6b948668744f0120e9f2f41a47c1941cb58a328090a1358e4828d39c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
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

  • SHA256: 956d14c55cacf5cb6fa9164829a868641ecf149f8ecf27ae88989710d4dd8451
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
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

  • SHA256: 0b0341965fac8b91599bf5b1ea149ce3892280545e4f8247b3ea16e5547926f2
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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

  • SHA256: 21630ab19a18041812ee05d5a06e7ac4649dab4aa7aef0e01414640611aea96f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.8 MB
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

  • SHA256: 889487cd6b948668744f0120e9f2f41a47c1941cb58a328090a1358e4828d39c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
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

  • SHA256: 956d14c55cacf5cb6fa9164829a868641ecf149f8ecf27ae88989710d4dd8451
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
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

  • SHA256: bc136b7ee21c1e6749e154977449f9c5e11cc3e483ce8eec3aa9b888bd1747ba
  • Pointer size: 132 Bytes
  • Size of remote file: 1.56 MB
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

  • SHA256: d125e3156d369a29fed42513c735da4a957deabe923e10259eb2283ccbc9d335
  • Pointer size: 132 Bytes
  • Size of remote file: 1.52 MB
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

  • SHA256: aefd60a2050bf5a35c9bb0d24fbb6c2bc29a56ea3b5ea8ea3e447ef8be0e4181
  • Pointer size: 132 Bytes
  • Size of remote file: 1.5 MB
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

  • SHA256: dba39aa21ae315034a15d8239cd4c882b9fe12b2591e9d040c294ef187738641
  • Pointer size: 132 Bytes
  • Size of remote file: 1.49 MB
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

  • SHA256: bc136b7ee21c1e6749e154977449f9c5e11cc3e483ce8eec3aa9b888bd1747ba
  • Pointer size: 132 Bytes
  • Size of remote file: 1.56 MB
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

  • SHA256: d125e3156d369a29fed42513c735da4a957deabe923e10259eb2283ccbc9d335
  • Pointer size: 132 Bytes
  • Size of remote file: 1.52 MB
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

  • SHA256: aefd60a2050bf5a35c9bb0d24fbb6c2bc29a56ea3b5ea8ea3e447ef8be0e4181
  • Pointer size: 132 Bytes
  • Size of remote file: 1.5 MB
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

  • SHA256: dba39aa21ae315034a15d8239cd4c882b9fe12b2591e9d040c294ef187738641
  • Pointer size: 132 Bytes
  • Size of remote file: 1.49 MB
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