sayakpaul HF staff commited on
Commit
ab283bf
1 Parent(s): 3522a46

Upload folder using huggingface_hub

Browse files
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
- # 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",
 
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

  • SHA256: 3dbbd65dd69e56a28c8988a7fc1933e8d1205a581e6fa0c2c0f402d4fb25b78f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.81 MB
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@0-fuse@0.png ADDED

Git LFS Details

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

  • SHA256: 2b1ca8e13e7f75c7f81a054edaf419fc57787515ca15a43df3fb66c4c86f40e4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.81 MB
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@0-fuse@0.png ADDED

Git LFS Details

  • SHA256: 214df9385ee52ef464a716c7323eabd32099447eba0d3c920d1b237f7a41e60e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
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=("fp16" "bf16")
7
- qtypes=("int8")
8
- qte=(0 1)
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 --fuse 1
 
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