IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6754520 verified
raw
history blame
12.8 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": 948.965376,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 189,
"total": 0.9964687690734862,
"mean": 0.0052723215294893455,
"stdev": 0.00012837409161440476,
"p50": 0.005254144191741943,
"p90": 0.0053583869934082035,
"p95": 0.0055672832489013675,
"p99": 0.0057458801841735845,
"values": [
0.005897183895111084,
0.005504000186920166,
0.005603328227996827,
0.005626880168914795,
0.005610496044158936,
0.005725247859954834,
0.005568511962890625,
0.005565440177917481,
0.005673984050750733,
0.005525504112243652,
0.0060364799499511715,
0.0055848960876464845,
0.00542416000366211,
0.00530847978591919,
0.005306431770324707,
0.005343232154846191,
0.005287936210632324,
0.005281792163848877,
0.005336063861846924,
0.005264383792877197,
0.0052715520858764645,
0.005295104026794434,
0.005242879867553711,
0.005255167961120606,
0.005295104026794434,
0.005223423957824707,
0.005238783836364746,
0.005303296089172363,
0.005264383792877197,
0.0052633280754089354,
0.005273600101470947,
0.005265376091003418,
0.005246975898742676,
0.005362688064575195,
0.005420095920562744,
0.005361663818359375,
0.005305344104766845,
0.005291007995605469,
0.005253119945526123,
0.0052930560111999515,
0.005292031764984131,
0.005230591773986816,
0.00535756778717041,
0.00531660795211792,
0.005273600101470947,
0.005266335964202881,
0.0052930560111999515,
0.005259263992309571,
0.005269504070281982,
0.005275648117065429,
0.005244863986968994,
0.00526643180847168,
0.0052622718811035155,
0.005281792163848877,
0.005252096176147461,
0.0052971520423889164,
0.005270592212677002,
0.005269504070281982,
0.005284863948822022,
0.005238783836364746,
0.0052336640357971195,
0.005275648117065429,
0.005228544235229492,
0.005351424217224121,
0.005292031764984131,
0.005243904113769531,
0.005222400188446045,
0.005298175811767578,
0.0052377920150756836,
0.005243904113769531,
0.005361663818359375,
0.005245952129364013,
0.00521727991104126,
0.005255167961120606,
0.005223423957824707,
0.005220352172851562,
0.005379072189331055,
0.0052408318519592285,
0.005227519989013672,
0.005238783836364746,
0.005258240222930908,
0.005255167961120606,
0.005252096176147461,
0.005250048160552978,
0.00522649621963501,
0.005232639789581299,
0.005254144191741943,
0.005219327926635742,
0.005238783836364746,
0.005299200057983398,
0.005243904113769531,
0.005215231895446777,
0.005259263992309571,
0.005223423957824707,
0.0052285118103027346,
0.00522649621963501,
0.005239744186401368,
0.005243904113769531,
0.005237728118896484,
0.005258240222930908,
0.005214208126068115,
0.005258240222930908,
0.005251071929931641,
0.005253119945526123,
0.005257215976715088,
0.005268479824066162,
0.00522649621963501,
0.005258240222930908,
0.005245952129364013,
0.005248000144958496,
0.005327871799468994,
0.005283840179443359,
0.005234687805175781,
0.0052377920150756836,
0.005263423919677735,
0.005244927883148193,
0.005238783836364746,
0.005246975898742676,
0.005263391971588135,
0.005256192207336426,
0.005246975898742676,
0.005250048160552978,
0.0052367358207702636,
0.005262335777282715,
0.005280767917633057,
0.005264383792877197,
0.005261312007904053,
0.005682176113128662,
0.005327871799468994,
0.005356575965881348,
0.005306367874145508,
0.005262335777282715,
0.005265408039093018,
0.0052633600234985355,
0.005258272171020508,
0.0052705278396606445,
0.005286911964416504,
0.005255167961120606,
0.005288959980010987,
0.005285823822021484,
0.0052336640357971195,
0.005262335777282715,
0.0052674560546875,
0.005254144191741943,
0.005295104026794434,
0.005086207866668701,
0.005022719860076904,
0.0050421757698059086,
0.005038080215454102,
0.005058559894561767,
0.005029888153076172,
0.0050800638198852536,
0.005039103984832764,
0.005242879867553711,
0.005245952129364013,
0.005179391860961914,
0.005192704200744629,
0.005171199798583984,
0.005185535907745361,
0.005203968048095703,
0.005157887935638428,
0.005155839920043945,
0.0051968002319335935,
0.005161952018737793,
0.00520908784866333,
0.005192704200744629,
0.005189663887023925,
0.005197824001312256,
0.005228544235229492,
0.00526643180847168,
0.005174272060394287,
0.00517632007598877,
0.0052070398330688475,
0.005180384159088135,
0.005187583923339844,
0.00521830415725708,
0.0053012480735778805,
0.005157887935638428,
0.005190656185150146,
0.005193727970123291,
0.005156864166259765,
0.005173247814178467,
0.005208064079284668,
0.005186560153961181,
0.005156864166259765,
0.005213183879852295,
0.00516096019744873,
0.005163008213043213,
0.005180416107177735
]
},
"throughput": {
"unit": "samples/s",
"value": 189.66976774970243
},
"energy": {
"unit": "kWh",
"cpu": 6.336509579359883e-08,
"ram": 3.4644578323316044e-08,
"gpu": 1.367410481925097e-07,
"total": 2.3475072230942458e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4259837.797993658
}
}
}
}