IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b0bccd3 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.0",
"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.29952,
"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.9977042212486266,
"mean": 0.0053069373470671635,
"stdev": 0.00027064791111568534,
"p50": 0.005299232006072997,
"p90": 0.005688729476928713,
"p95": 0.0059487231254577635,
"p99": 0.006223358154296875,
"values": [
0.005834752082824707,
0.005649407863616943,
0.006015999794006348,
0.00591974401473999,
0.006092927932739258,
0.005902400016784668,
0.005981184005737304,
0.005848063945770264,
0.005934080123901367,
0.005780479907989502,
0.005811200141906738,
0.005889023780822754,
0.006057983875274659,
0.005336063861846924,
0.005078015804290771,
0.005040128231048584,
0.0050503678321838375,
0.005054463863372802,
0.0050360321998596195,
0.005018623828887939,
0.005031936168670655,
0.005048319816589355,
0.004988927841186524,
0.0050421757698059086,
0.0050471358299255375,
0.005159967899322509,
0.005056511878967285,
0.005132287979125977,
0.005089280128479004,
0.0050503678321838375,
0.0050769920349121095,
0.005094304084777832,
0.005066751956939697,
0.00501039981842041,
0.004998144149780274,
0.0050135040283203125,
0.0050206718444824215,
0.005000192165374756,
0.005054463863372802,
0.005038080215454102,
0.005030911922454834,
0.005030911922454834,
0.005054463863372802,
0.005063680171966553,
0.00502784013748169,
0.005030911922454834,
0.005050432205200195,
0.005193696022033691,
0.005098495960235596,
0.004993023872375488,
0.005472256183624268,
0.005292031764984131,
0.005244927883148193,
0.005252096176147461,
0.005340288162231446,
0.005208064079284668,
0.005343232154846191,
0.005248000144958496,
0.005254144191741943,
0.0053012480735778805,
0.00505241584777832,
0.005073919773101807,
0.0050841598510742185,
0.00506982421875,
0.005051392078399658,
0.005026815891265869,
0.0050657281875610355,
0.005184512138366699,
0.005181439876556396,
0.005243904113769531,
0.005097472190856934,
0.0050728960037231445,
0.0050462718009948735,
0.005102591991424561,
0.005073919773101807,
0.005047296047210693,
0.005030720233917236,
0.00506060791015625,
0.005055488109588623,
0.005073919773101807,
0.005123072147369385,
0.005094399929046631,
0.00506879997253418,
0.005075967788696289,
0.005104640007019043,
0.005082047939300537,
0.005070847988128662,
0.005265344142913819,
0.005425151824951172,
0.005298175811767578,
0.005348351955413819,
0.005323775768280029,
0.005311488151550293,
0.006213632106781006,
0.0053043198585510255,
0.005321728229522705,
0.005315648078918457,
0.0052899842262268066,
0.005340191841125488,
0.00530841588973999,
0.005299263954162597,
0.005332992076873779,
0.0053012480735778805,
0.00530841588973999,
0.006044735908508301,
0.006288447856903076,
0.005956607818603516,
0.006386688232421875,
0.005808224201202392,
0.005307295799255371,
0.005488639831542969,
0.005478400230407715,
0.005305344104766845,
0.005346303939819336,
0.005372928142547607,
0.005302271842956543,
0.005299200057983398,
0.005320672035217285,
0.005283840179443359,
0.0053637118339538575,
0.005327871799468994,
0.005309599876403809,
0.0053012480735778805,
0.00521830415725708,
0.005259263992309571,
0.005342207908630371,
0.00530944013595581,
0.00531660795211792,
0.005306367874145508,
0.005278719902038574,
0.00542310380935669,
0.005455872058868408,
0.0052930560111999515,
0.005264383792877197,
0.006112256050109863,
0.0053012480735778805,
0.005310463905334473,
0.00531763219833374,
0.0053002238273620605,
0.005325823783874512,
0.00531660795211792,
0.0052715520858764645,
0.005296127796173096,
0.005299200057983398,
0.0052705278396606445,
0.0053350400924682614,
0.00530841588973999,
0.005258336067199707,
0.005351424217224121,
0.0053002238273620605,
0.005467167854309082,
0.005302271842956543,
0.005327936172485352,
0.005459968090057373,
0.005312511920928955,
0.005305344104766845,
0.005327871799468994,
0.005362688064575195,
0.005325823783874512,
0.005306367874145508,
0.005371903896331787,
0.005348351955413819,
0.005331967830657959,
0.00542310380935669,
0.005338111877441406,
0.00532480001449585,
0.005398528099060058,
0.005321728229522705,
0.005275648117065429,
0.0053043198585510255,
0.005314559936523438,
0.005318655967712403,
0.005566463947296142,
0.005305344104766845,
0.005285888195037842,
0.005348351955413819,
0.005433472156524658,
0.005280767917633057,
0.005284863948822022,
0.0052899842262268066,
0.005368832111358642,
0.005264383792877197,
0.005296127796173096,
0.0052633600234985355,
0.005370880126953125,
0.005237760066986084,
0.005263391971588135,
0.0053350400924682614
]
},
"throughput": {
"unit": "samples/s",
"value": 188.43259955813159
},
"energy": {
"unit": "kWh",
"cpu": 6.30133452849467e-08,
"ram": 3.445051525690479e-08,
"gpu": 1.3914461486170099e-07,
"total": 2.3660847540355254e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4226391.291750767
}
}
}
}