IlyasMoutawwakil
HF staff
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
4bf75f5
verified
{ | |
"config": { | |
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-to-image", | |
"library": "diffusers", | |
"model_type": "stable-diffusion", | |
"model": "hf-internal-testing/tiny-stable-diffusion-torch", | |
"processor": "hf-internal-testing/tiny-stable-diffusion-torch", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": false, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 2, | |
"sequence_length": 16, | |
"num_choices": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 795.181056, | |
"max_global_vram": 599.261184, | |
"max_process_vram": 0.0, | |
"max_reserved": 10.48576, | |
"max_allocated": 8.715776 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
1.3047039794921875 | |
], | |
"count": 1, | |
"total": 1.3047039794921875, | |
"mean": 1.3047039794921875, | |
"p50": 1.3047039794921875, | |
"p90": 1.3047039794921875, | |
"p95": 1.3047039794921875, | |
"p99": 1.3047039794921875, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00011062559511458385, | |
"ram": 6.061221312384326e-05, | |
"gpu": 0.00014184205791799992, | |
"total": 0.00031307986615642703 | |
}, | |
"efficiency": null | |
}, | |
"call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1355.124736, | |
"max_global_vram": 739.770368, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0573803825378418, | |
0.05456780624389648, | |
0.055717758178710934, | |
0.05612009429931641, | |
0.05522998428344727, | |
0.05345315170288086, | |
0.05388508987426758, | |
0.0534285774230957, | |
0.05343407821655274, | |
0.05319379043579102, | |
0.05287036895751953, | |
0.05326432037353516, | |
0.05407068634033203, | |
0.05313587188720703, | |
0.053137825012207034, | |
0.05340601730346679, | |
0.05354028701782226, | |
0.05292854309082031, | |
0.05126496124267578 | |
], | |
"count": 19, | |
"total": 1.0240295944213866, | |
"mean": 0.05389629444323089, | |
"p50": 0.05343407821655274, | |
"p90": 0.05579822540283203, | |
"p95": 0.05624612312316894, | |
"p99": 0.05715353065490723, | |
"stdev": 0.0013498025917394007, | |
"stdev_": 2.5044441471967085 | |
}, | |
"throughput": { | |
"unit": "images/s", | |
"value": 37.108302540290694 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.308277628289219e-07, | |
"ram": 3.4440310929556494e-07, | |
"gpu": 2.1101771267368432e-06, | |
"total": 3.085407998861329e-06 | |
}, | |
"efficiency": { | |
"unit": "images/kWh", | |
"value": 648212.4894788958 | |
} | |
}, | |
"per_step": { | |
"memory": null, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.013947903633117676, | |
0.014423104286193847, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.02779545593261719, | |
0.012805120468139648, | |
0.01277132797241211, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.02779545593261719, | |
0.012805120468139648, | |
0.01277132797241211, | |
0.02753740882873535, | |
0.012809215545654297, | |
0.012796928405761718, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.02779545593261719, | |
0.012805120468139648, | |
0.01277132797241211, | |
0.02753740882873535, | |
0.012809215545654297, | |
0.012796928405761718, | |
0.027602943420410156, | |
0.012924927711486817, | |
0.012793855667114258, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.02779545593261719, | |
0.012805120468139648, | |
0.01277132797241211, | |
0.02753740882873535, | |
0.012809215545654297, | |
0.012796928405761718, | |
0.027602943420410156, | |
0.012924927711486817, | |
0.012793855667114258, | |
0.028066816329956053, | |
0.012821503639221191, | |
0.012812288284301757, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.02779545593261719, | |
0.012805120468139648, | |
0.01277132797241211, | |
0.02753740882873535, | |
0.012809215545654297, | |
0.012796928405761718, | |
0.027602943420410156, | |
0.012924927711486817, | |
0.012793855667114258, | |
0.028066816329956053, | |
0.012821503639221191, | |
0.012812288284301757, | |
0.028224512100219725, | |
0.012461055755615234, | |
0.01240886402130127, | |
0.013947903633117676, | |
0.014423104286193847, | |
0.028753856658935546, | |
0.013102080345153809, | |
0.01307033634185791, | |
0.02852249526977539, | |
0.013865983963012696, | |
0.013363200187683106, | |
0.02853785514831543, | |
0.013780991554260253, | |
0.013793279647827148, | |
0.0287774715423584, | |
0.013416447639465333, | |
0.01314406394958496, | |
0.027653120040893556, | |
0.01287065601348877, | |
0.012990464210510254, | |
0.027915264129638673, | |
0.013202431678771973, | |
0.012836864471435547, | |
0.027628543853759766, | |
0.012886015892028809, | |
0.012990464210510254, | |
0.02775654411315918, | |
0.01284505558013916, | |
0.012830719947814942, | |
0.027595775604248047, | |
0.012874784469604493, | |
0.01280406379699707, | |
0.02731007957458496, | |
0.012826623916625977, | |
0.012825599670410156, | |
0.02696499252319336, | |
0.012858367919921876, | |
0.013204480171203613, | |
0.02831155204772949, | |
0.012859392166137695, | |
0.012974080085754394, | |
0.02779545593261719, | |
0.012805120468139648, | |
0.01277132797241211, | |
0.02753740882873535, | |
0.012809215545654297, | |
0.012796928405761718, | |
0.027602943420410156, | |
0.012924927711486817, | |
0.012793855667114258, | |
0.028066816329956053, | |
0.012821503639221191, | |
0.012812288284301757, | |
0.028224512100219725, | |
0.012461055755615234, | |
0.01240886402130127, | |
0.026674144744873046, | |
0.012391424179077149, | |
0.012368895530700684 | |
], | |
"count": 551, | |
"total": 9.814394952774055, | |
"mean": 0.017811969061295913, | |
"p50": 0.013363200187683106, | |
"p90": 0.02852249526977539, | |
"p95": 0.028753856658935546, | |
"p99": 0.0287774715423584, | |
"stdev": 0.006881527584542894, | |
"stdev_": 38.63428889227044 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |