IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
3132359 verified
raw
history blame
30.6 kB
{
"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": 796.332032,
"max_global_vram": 601.358336,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
1.0016573486328124
],
"count": 1,
"total": 1.0016573486328124,
"mean": 1.0016573486328124,
"p50": 1.0016573486328124,
"p90": 1.0016573486328124,
"p95": 1.0016573486328124,
"p99": 1.0016573486328124,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010697122200138875,
"ram": 5.86098792995956e-05,
"gpu": 0.00014856761885400022,
"total": 0.00031414872015498457
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1357.5168,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.0538364143371582,
0.05365161514282227,
0.05371078491210937,
0.05428851318359375,
0.05403097534179688,
0.05395344161987305,
0.054187744140625,
0.05369497680664063,
0.05350822448730469,
0.05349574279785156,
0.05248886489868164,
0.05151420974731445,
0.05230044937133789,
0.051657825469970706,
0.05192179107666016,
0.05365641784667969,
0.05385388946533203,
0.05462540817260742,
0.05465011215209961
],
"count": 19,
"total": 1.015027400970459,
"mean": 0.05342249478791889,
"p50": 0.05369497680664063,
"p90": 0.054355892181396484,
"p95": 0.05462787857055664,
"p99": 0.05464566543579102,
"stdev": 0.0009379396195343611,
"stdev_": 1.7557016445186109
},
"throughput": {
"unit": "images/s",
"value": 37.43741298379584
},
"energy": {
"unit": "kWh",
"cpu": 6.585484653934994e-07,
"ram": 3.598574614414209e-07,
"gpu": 2.0518689254444213e-06,
"total": 3.0702748522793433e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 651407.4785569177
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.01307852840423584,
0.013081600189208984,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.02675916862487793,
0.012369919776916503,
0.01238425636291504,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.02675916862487793,
0.012369919776916503,
0.01238425636291504,
0.02688102340698242,
0.012396544456481933,
0.012860416412353515,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.02675916862487793,
0.012369919776916503,
0.01238425636291504,
0.02688102340698242,
0.012396544456481933,
0.012860416412353515,
0.027651071548461914,
0.01297715187072754,
0.01297100830078125,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.02675916862487793,
0.012369919776916503,
0.01238425636291504,
0.02688102340698242,
0.012396544456481933,
0.012860416412353515,
0.027651071548461914,
0.01297715187072754,
0.01297100830078125,
0.027833343505859375,
0.013102080345153809,
0.013010944366455078,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.02675916862487793,
0.012369919776916503,
0.01238425636291504,
0.02688102340698242,
0.012396544456481933,
0.012860416412353515,
0.027651071548461914,
0.01297715187072754,
0.01297100830078125,
0.027833343505859375,
0.013102080345153809,
0.013010944366455078,
0.02772377586364746,
0.01353936004638672,
0.013152223587036133,
0.01307852840423584,
0.013081600189208984,
0.0273756160736084,
0.01317683219909668,
0.013087743759155274,
0.027668479919433595,
0.013092864036560058,
0.013071359634399414,
0.027649023056030272,
0.013494272232055664,
0.013102080345153809,
0.02795008087158203,
0.013095935821533204,
0.013083647727966309,
0.02775142478942871,
0.013125663757324218,
0.013072416305541993,
0.02783020782470703,
0.013108223915100097,
0.01325772762298584,
0.027752447128295898,
0.013032447814941407,
0.013018112182617187,
0.027449344635009764,
0.013031423568725586,
0.013063167572021485,
0.02755072021484375,
0.013026304244995117,
0.012982272148132324,
0.026875904083251953,
0.012404735565185548,
0.013189120292663574,
0.026798080444335938,
0.012427264213562012,
0.012407808303833008,
0.026556415557861326,
0.012778495788574219,
0.012974080085754394,
0.02675916862487793,
0.012369919776916503,
0.01238425636291504,
0.02688102340698242,
0.012396544456481933,
0.012860416412353515,
0.027651071548461914,
0.01297715187072754,
0.01297100830078125,
0.027833343505859375,
0.013102080345153809,
0.013010944366455078,
0.02772377586364746,
0.01353936004638672,
0.013152223587036133,
0.028857343673706053,
0.013127679824829102,
0.012999679565429688
],
"count": 551,
"total": 9.648925768852243,
"mean": 0.017511662012435997,
"p50": 0.013102080345153809,
"p90": 0.02775142478942871,
"p95": 0.02783020782470703,
"p99": 0.02795008087158203,
"stdev": 0.006701845740192839,
"stdev_": 38.27075771239468
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}