IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
056bbda verified
raw
history blame
12.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.13568,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 188,
"total": 0.995113025665283,
"mean": 0.005293154391836612,
"stdev": 0.00016193587940361974,
"p50": 0.005265408039093018,
"p90": 0.005373952150344849,
"p95": 0.005566412901878357,
"p99": 0.006114386100769043,
"values": [
0.005805056095123291,
0.00556441593170166,
0.005603392124176026,
0.0055848960876464845,
0.0056483840942382815,
0.005599232196807862,
0.005567488193511963,
0.005517312049865723,
0.006098944187164307,
0.006233024120330811,
0.006073376178741455,
0.005381120204925537,
0.005306367874145508,
0.005261312007904053,
0.005214208126068115,
0.005362688064575195,
0.005339136123657226,
0.005285952091217041,
0.005253087997436523,
0.0052674560546875,
0.005250048160552978,
0.005239808082580567,
0.005261375904083252,
0.005258240222930908,
0.005286911964416504,
0.005257215976715088,
0.005243904113769531,
0.005231616020202637,
0.005234687805175781,
0.005257215976715088,
0.005337088108062744,
0.005253119945526123,
0.005281792163848877,
0.005288959980010987,
0.005242815971374512,
0.005370880126953125,
0.005238783836364746,
0.005313536167144775,
0.0052971520423889164,
0.005259263992309571,
0.005239808082580567,
0.0052295680046081545,
0.005243904113769531,
0.005241856098175048,
0.005286911964416504,
0.005246975898742676,
0.00520908784866333,
0.0052705278396606445,
0.005244927883148193,
0.005278719902038574,
0.005339168071746826,
0.005273600101470947,
0.005235712051391602,
0.005272575855255127,
0.005439487934112549,
0.00532480001449585,
0.005282815933227539,
0.005323775768280029,
0.005246975898742676,
0.00530841588973999,
0.005278719902038574,
0.005259263992309571,
0.005336063861846924,
0.00531660795211792,
0.00526643180847168,
0.005387263774871826,
0.005279744148254394,
0.005234687805175781,
0.005331967830657959,
0.0052705278396606445,
0.005242879867553711,
0.005306367874145508,
0.005275648117065429,
0.005245952129364013,
0.005282847881317138,
0.0052715520858764645,
0.005258240222930908,
0.0053012480735778805,
0.005265408039093018,
0.005280767917633057,
0.0052408638000488285,
0.005250048160552978,
0.005259263992309571,
0.005221407890319824,
0.0052705278396606445,
0.005255167961120606,
0.0052705278396606445,
0.005315584182739258,
0.005248000144958496,
0.005241856098175048,
0.005287936210632324,
0.005251071929931641,
0.005249023914337158,
0.005265408039093018,
0.005306367874145508,
0.005237760066986084,
0.005246975898742676,
0.005255167961120606,
0.0052336640357971195,
0.005252096176147461,
0.005248000144958496,
0.005242879867553711,
0.005258240222930908,
0.005250048160552978,
0.00536575984954834,
0.005294079780578613,
0.005444608211517334,
0.005299200057983398,
0.005350399971008301,
0.005513216018676758,
0.005408768177032471,
0.005348351955413819,
0.005307424068450928,
0.005305344104766845,
0.005320703983306885,
0.005328896045684814,
0.005276671886444092,
0.005342207908630371,
0.005294079780578613,
0.005272575855255127,
0.00530841588973999,
0.006217728137969971,
0.005307392120361328,
0.005029888153076172,
0.00511078405380249,
0.005044191837310791,
0.005108736038208008,
0.005098495960235596,
0.005062655925750732,
0.005048319816589355,
0.005082111835479736,
0.0051036162376403805,
0.0050421757698059086,
0.0054241280555725096,
0.005251071929931641,
0.005241856098175048,
0.0052705278396606445,
0.005227519989013672,
0.005288959980010987,
0.005256192207336426,
0.005310463905334473,
0.005219327926635742,
0.005256192207336426,
0.005287936210632324,
0.0052111358642578124,
0.005282815933227539,
0.005214208126068115,
0.005311488151550293,
0.005222400188446045,
0.005278719902038574,
0.00526643180847168,
0.005239808082580567,
0.005278719902038574,
0.005265408039093018,
0.005280735969543457,
0.005249023914337158,
0.005313536167144775,
0.005221375942230225,
0.005281792163848877,
0.005250048160552978,
0.005203968048095703,
0.00530841588973999,
0.005155839920043945,
0.005203968048095703,
0.005245952129364013,
0.005276671886444092,
0.005245952129364013,
0.005261312007904053,
0.005295104026794434,
0.005180416107177735,
0.005204959869384766,
0.00517632007598877,
0.005194752216339111,
0.00517632007598877,
0.005176256179809571,
0.005215231895446777,
0.005163008213043213,
0.0052520642280578615,
0.005183487892150879,
0.005268479824066162,
0.005280767917633057,
0.005256192207336426,
0.005272575855255127,
0.005260287761688232,
0.0051446080207824705,
0.005141503810882568,
0.00516096019744873,
0.005208064079284668
]
},
"throughput": {
"unit": "samples/s",
"value": 188.92326313818728
},
"energy": {
"unit": "kWh",
"cpu": 6.199339713517701e-08,
"ram": 3.389364161011816e-08,
"gpu": 1.3658533323560207e-07,
"total": 2.3247237198089725e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4301586.427148307
}
}
}
}