IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
83ca776 verified
raw
history blame
12.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model": "timm/resnet50.a1_in1k",
"processor": "timm/resnet50.a1_in1k",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"hub_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": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.551104,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 191,
"total": 0.9994011158943178,
"mean": 0.0052324665753629195,
"stdev": 0.00027729625258547105,
"p50": 0.005073919773101807,
"p90": 0.005493760108947754,
"p95": 0.005784064054489136,
"p99": 0.006300365018844604,
"values": [
0.005785600185394287,
0.005509119987487793,
0.005634047985076904,
0.005634047985076904,
0.005690336227416992,
0.005631999969482422,
0.005687295913696289,
0.005952511787414551,
0.005824512004852295,
0.005853184223175049,
0.006092735767364502,
0.0052408318519592285,
0.005078015804290771,
0.00505241584777832,
0.005081088066101074,
0.005035007953643799,
0.00505241584777832,
0.005054463863372802,
0.005063680171966553,
0.005044223785400391,
0.005039072036743164,
0.005037055969238281,
0.0050841598510742185,
0.005073919773101807,
0.005049312114715576,
0.005033984184265137,
0.005066751956939697,
0.005057536125183106,
0.0050432319641113285,
0.005082111835479736,
0.005056511878967285,
0.005037055969238281,
0.005032959938049316,
0.005066751956939697,
0.005053440093994141,
0.0050503678321838375,
0.0050421757698059086,
0.005064703941345215,
0.005053440093994141,
0.005057536125183106,
0.005057536125183106,
0.00506060791015625,
0.005056511878967285,
0.0050421757698059086,
0.00505241584777832,
0.0050462718009948735,
0.005035967826843262,
0.0050421757698059086,
0.005067776203155518,
0.005061632156372071,
0.005041152000427246,
0.005064703941345215,
0.0050657281875610355,
0.005051328182220459,
0.005035007953643799,
0.0050728960037231445,
0.005040128231048584,
0.005043136119842529,
0.005055488109588623,
0.005057536125183106,
0.005051392078399658,
0.005048319816589355,
0.0050462718009948735,
0.005070847988128662,
0.00505241584777832,
0.005049344062805176,
0.005078015804290771,
0.005066751956939697,
0.005041152000427246,
0.005066751956939697,
0.005089280128479004,
0.005057536125183106,
0.0050432000160217285,
0.005055456161499023,
0.005074944019317627,
0.005070847988128662,
0.00505241584777832,
0.005051392078399658,
0.005047296047210693,
0.005049344062805176,
0.005056511878967285,
0.0050841598510742185,
0.005067776203155518,
0.005066751956939697,
0.0050544958114624025,
0.005082111835479736,
0.005059584140777588,
0.005054463863372802,
0.005030911922454834,
0.005078015804290771,
0.00505241584777832,
0.0050421757698059086,
0.005075967788696289,
0.005062655925750732,
0.0050432000160217285,
0.005055488109588623,
0.0050769920349121095,
0.005075967788696289,
0.0050462718009948735,
0.005064703941345215,
0.00506879997253418,
0.005057536125183106,
0.0050462718009948735,
0.005078015804290771,
0.005055488109588623,
0.00506060791015625,
0.0050421757698059086,
0.0050769920349121095,
0.005075007915496826,
0.00506879997253418,
0.0050462718009948735,
0.005087232112884522,
0.005071872234344482,
0.005054463863372802,
0.005073919773101807,
0.005058527946472168,
0.0050462718009948735,
0.005037087917327881,
0.005096447944641113,
0.005067776203155518,
0.005045248031616211,
0.005078015804290771,
0.005082111835479736,
0.005062655925750732,
0.005054463863372802,
0.005094399929046631,
0.005076960086822509,
0.005056511878967285,
0.005057536125183106,
0.005091328144073487,
0.005062655925750732,
0.005047296047210693,
0.005751808166503906,
0.006362112045288086,
0.006371391773223877,
0.006293504238128662,
0.006280191898345947,
0.005251071929931641,
0.0052418880462646485,
0.005245952129364013,
0.005187583923339844,
0.005100543975830078,
0.005203968048095703,
0.005401599884033203,
0.005454847812652588,
0.005430304050445557,
0.005384191989898681,
0.005447679996490478,
0.005400576114654541,
0.005399551868438721,
0.005406720161437988,
0.005416959762573242,
0.005398528099060058,
0.005464000225067139,
0.005408768177032471,
0.0054271998405456545,
0.005388288021087646,
0.005710847854614258,
0.005430272102355957,
0.005468192100524902,
0.005475327968597412,
0.0058951997756958,
0.0057825279235839844,
0.005473279953002929,
0.0054241280555725096,
0.005416895866394043,
0.005451776027679443,
0.005430272102355957,
0.005442527770996094,
0.00546611213684082,
0.005401599884033203,
0.005446656227111817,
0.005419007778167725,
0.005365695953369141,
0.005417984008789062,
0.005493760108947754,
0.00536678409576416,
0.005450751781463623,
0.005362688064575195,
0.005470176219940185,
0.0054282240867614745,
0.005403647899627686,
0.005438464164733887,
0.00538316822052002,
0.005390336036682129,
0.005436416149139404,
0.005392384052276611,
0.00541593599319458,
0.0054609918594360355,
0.005426176071166992,
0.005441535949707031
]
},
"throughput": {
"unit": "samples/s",
"value": 191.114455409711
},
"energy": {
"unit": "kWh",
"cpu": 6.186595807472866e-08,
"ram": 3.379375038434773e-08,
"gpu": 1.295545017916651e-07,
"total": 2.252142102507415e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4440217.1554212915
}
}
}
}