
IlyasMoutawwakil
HF Staff
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
83bbd89
verified
{ | |
"config": { | |
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.8.0", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"model": "hf-internal-testing/tiny-stable-diffusion-torch", | |
"processor": "hf-internal-testing/tiny-stable-diffusion-torch", | |
"task": "text-to-image", | |
"library": "diffusers", | |
"model_type": "stable-diffusion", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": false, | |
"tp_plan": null, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"allow_tf32": false, | |
"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.240-238.959.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.18", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.7.0.dev0", | |
"optimum_benchmark_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"transformers_version": "4.55.2", | |
"transformers_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"accelerate_version": "1.10.0", | |
"accelerate_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"diffusers_version": "0.35.0", | |
"diffusers_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.19", | |
"timm_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"peft_version": "0.17.0", | |
"peft_commit": "cedaacb09a439594145c7cdff4b1753540ff896f" | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1048.55552, | |
"max_global_vram": 599.261184, | |
"max_process_vram": 0.0, | |
"max_reserved": 10.48576, | |
"max_allocated": 8.715776 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.8378316650390625 | |
], | |
"count": 1, | |
"total": 0.8378316650390625, | |
"mean": 0.8378316650390625, | |
"p50": 0.8378316650390625, | |
"p90": 0.8378316650390625, | |
"p95": 0.8378316650390625, | |
"p99": 0.8378316650390625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.3000068368616805e-05, | |
"ram": 6.471228691110962e-05, | |
"gpu": 0.0001904984857320005, | |
"total": 0.00027821084101172693 | |
}, | |
"efficiency": null | |
}, | |
"first_call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1642.74176, | |
"max_global_vram": 737.673216, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.46114019775390624 | |
], | |
"count": 1, | |
"total": 0.46114019775390624, | |
"mean": 0.46114019775390624, | |
"p50": 0.46114019775390624, | |
"p90": 0.46114019775390624, | |
"p95": 0.46114019775390624, | |
"p99": 0.46114019775390624, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.217552355449996e-05, | |
"ram": 6.290697322222058e-05, | |
"gpu": 0.00018566903742400429, | |
"total": 0.00027075153420072484 | |
}, | |
"efficiency": null | |
}, | |
"call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1643.921408, | |
"max_global_vram": 737.673216, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05426982498168945, | |
0.05226444625854492, | |
0.05318239974975586, | |
0.05215324783325195, | |
0.05216748809814453, | |
0.053185791015625, | |
0.05398508834838867, | |
0.052188159942626954, | |
0.05186912155151367, | |
0.05161859130859375, | |
0.053741504669189456, | |
0.053493663787841796, | |
0.05199859237670899, | |
0.051899551391601566, | |
0.05259132766723633, | |
0.055974143981933594, | |
0.05340496063232422, | |
0.053631103515625, | |
0.05165190505981445 | |
], | |
"count": 19, | |
"total": 1.0052709121704102, | |
"mean": 0.05290899537739002, | |
"p50": 0.05259132766723633, | |
"p90": 0.05404203567504883, | |
"p95": 0.05444025688171386, | |
"p99": 0.05566736656188965, | |
"stdev": 0.0010928037371891728, | |
"stdev_": 2.0654403460024273 | |
}, | |
"throughput": { | |
"unit": "images/s", | |
"value": 37.80075553758623 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.9933982906263237e-07, | |
"ram": 6.209581703705004e-07, | |
"gpu": 3.0242308144447227e-06, | |
"total": 3.844528813877853e-06 | |
}, | |
"efficiency": { | |
"unit": "images/kWh", | |
"value": 520219.79722988844 | |
} | |
}, | |
"per_step": { | |
"memory": null, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.012319744110107422, | |
0.012189696311950684, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.027701248168945314, | |
0.012125184059143066, | |
0.012084223747253419, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.027701248168945314, | |
0.012125184059143066, | |
0.012084223747253419, | |
0.02772377586364746, | |
0.01204633617401123, | |
0.012819456100463868, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.027701248168945314, | |
0.012125184059143066, | |
0.012084223747253419, | |
0.02772377586364746, | |
0.01204633617401123, | |
0.012819456100463868, | |
0.03156377601623535, | |
0.012319744110107422, | |
0.012131327629089356, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.027701248168945314, | |
0.012125184059143066, | |
0.012084223747253419, | |
0.02772377586364746, | |
0.01204633617401123, | |
0.012819456100463868, | |
0.03156377601623535, | |
0.012319744110107422, | |
0.012131327629089356, | |
0.028128255844116212, | |
0.012644351959228516, | |
0.012550144195556641, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.027701248168945314, | |
0.012125184059143066, | |
0.012084223747253419, | |
0.02772377586364746, | |
0.01204633617401123, | |
0.012819456100463868, | |
0.03156377601623535, | |
0.012319744110107422, | |
0.012131327629089356, | |
0.028128255844116212, | |
0.012644351959228516, | |
0.012550144195556641, | |
0.02875596809387207, | |
0.012611583709716797, | |
0.012463104248046876, | |
0.012319744110107422, | |
0.012189696311950684, | |
0.028028928756713867, | |
0.01217843246459961, | |
0.01216716766357422, | |
0.027812864303588865, | |
0.012694527626037597, | |
0.01264742374420166, | |
0.02792038345336914, | |
0.012163071632385255, | |
0.012154879570007325, | |
0.027833343505859375, | |
0.012186623573303223, | |
0.012183551788330077, | |
0.02779955291748047, | |
0.012190719604492188, | |
0.01306112003326416, | |
0.028933120727539063, | |
0.012621824264526366, | |
0.012574720382690429, | |
0.0279552001953125, | |
0.012176383972167968, | |
0.012165120124816894, | |
0.02775449562072754, | |
0.012105728149414062, | |
0.012069888114929199, | |
0.02755891227722168, | |
0.012061696052551269, | |
0.01204531192779541, | |
0.028419071197509766, | |
0.012554240226745606, | |
0.012530688285827637, | |
0.028276735305786133, | |
0.0127457275390625, | |
0.012668928146362305, | |
0.02797260856628418, | |
0.012110848426818848, | |
0.012048383712768555, | |
0.027701248168945314, | |
0.012125184059143066, | |
0.012084223747253419, | |
0.02772377586364746, | |
0.01204633617401123, | |
0.012819456100463868, | |
0.03156377601623535, | |
0.012319744110107422, | |
0.012131327629089356, | |
0.028128255844116212, | |
0.012644351959228516, | |
0.012550144195556641, | |
0.02875596809387207, | |
0.012611583709716797, | |
0.012463104248046876, | |
0.027648000717163085, | |
0.012066847801208496, | |
0.012049375534057617 | |
], | |
"count": 551, | |
"total": 9.486629892349232, | |
"mean": 0.017217114142194633, | |
"p50": 0.012554240226745606, | |
"p90": 0.028028928756713867, | |
"p95": 0.02834790325164795, | |
"p99": 0.028933120727539063, | |
"stdev": 0.007299019126202356, | |
"stdev_": 42.393975354524564 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |