IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3685494 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.2.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.188928,
"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.9969157438278196,
"mean": 0.005302743318233084,
"stdev": 0.0002659488732822842,
"p50": 0.005215744018554687,
"p90": 0.005650022268295288,
"p95": 0.005721588754653931,
"p99": 0.006142832612991331,
"values": [
0.005983232021331787,
0.005766304016113282,
0.005656576156616211,
0.0056902079582214354,
0.0056514558792114256,
0.005524511814117432,
0.005417856216430664,
0.0054271998405456545,
0.0054815678596496584,
0.005371903896331787,
0.0053678078651428224,
0.005420032024383545,
0.005391359806060791,
0.005375999927520752,
0.005292031764984131,
0.0052111358642578124,
0.005254144191741943,
0.005408768177032471,
0.005379168033599854,
0.005459968090057373,
0.005422080039978027,
0.005467135906219483,
0.005436319828033448,
0.005349376201629639,
0.00530944013595581,
0.005437439918518067,
0.005419007778167725,
0.005453824043273926,
0.005435391902923584,
0.005413887977600097,
0.005399519920349121,
0.005355519771575928,
0.005406720161437988,
0.005431424140930176,
0.005377024173736572,
0.005323775768280029,
0.00531660795211792,
0.005198847770690918,
0.005210112094879151,
0.005384191989898681,
0.005192704200744629,
0.005268511772155762,
0.005432320117950439,
0.005496831893920898,
0.005653503894805908,
0.005693408012390136,
0.005901343822479248,
0.006429696083068847,
0.0060999679565429685,
0.006591487884521485,
0.005973983764648438,
0.005649407863616943,
0.005618688106536865,
0.005577727794647217,
0.005727168083190918,
0.005725183963775635,
0.005486656188964844,
0.005554175853729248,
0.0055582718849182125,
0.005582752227783203,
0.005769216060638428,
0.005500768184661865,
0.005592127799987793,
0.005519360065460205,
0.005606400012969971,
0.005597184181213379,
0.005541888236999512,
0.005578752040863037,
0.0055071678161621096,
0.005656576156616211,
0.005714911937713623,
0.005677055835723877,
0.005702655792236328,
0.005568448066711426,
0.005580927848815918,
0.005599232196807862,
0.00530944013595581,
0.005348351955413819,
0.005307456016540527,
0.0052070398330688475,
0.005222400188446045,
0.005054463863372802,
0.00501964807510376,
0.005172224044799805,
0.005250048160552978,
0.00522649621963501,
0.004955135822296143,
0.004959231853485108,
0.004923391819000244,
0.004970367908477783,
0.004969503879547119,
0.004969376087188721,
0.005006400108337403,
0.0052111358642578124,
0.005248127937316894,
0.00531660795211792,
0.005343232154846191,
0.005504000186920166,
0.005348383903503418,
0.00511084794998169,
0.005122975826263428,
0.0051413440704345705,
0.0051333122253417966,
0.00516319990158081,
0.005145599842071533,
0.0051075520515441895,
0.005130239963531494,
0.005116991996765137,
0.005173247814178467,
0.005156864166259765,
0.0051333122253417966,
0.005183519840240479,
0.005124095916748047,
0.005142623901367187,
0.005227519989013672,
0.0052111358642578124,
0.005104640007019043,
0.005122047901153564,
0.005074944019317627,
0.005027935981750488,
0.005468160152435303,
0.005406720161437988,
0.005132127761840821,
0.00511078405380249,
0.005126143932342529,
0.0051773438453674315,
0.005154816150665284,
0.005156896114349365,
0.005001215934753418,
0.00496230411529541,
0.004929535865783692,
0.004947968006134033,
0.004967423915863037,
0.004924416065216064,
0.004918272018432617,
0.00497049617767334,
0.0049827518463134764,
0.004921343803405762,
0.0050063362121582035,
0.0049716482162475584,
0.00494601583480835,
0.004927328109741211,
0.004930560111999512,
0.005283840179443359,
0.005125120162963868,
0.005137504100799561,
0.005152768135070801,
0.005253056049346924,
0.005137407779693603,
0.005146624088287354,
0.005174272060394287,
0.005170112133026123,
0.00516812801361084,
0.005198847770690918,
0.00516812801361084,
0.0051404800415039064,
0.005195648193359375,
0.00521830415725708,
0.005148672103881836,
0.005144512176513672,
0.005173247814178467,
0.005185535907745361,
0.005311488151550293,
0.0051363840103149415,
0.005153632164001465,
0.005152768135070801,
0.005124095916748047,
0.005101568222045898,
0.005051392078399658,
0.005087232112884522,
0.005149695873260498,
0.00557260799407959,
0.005216256141662597,
0.005135359764099121,
0.005183296203613281,
0.005171199798583984,
0.0051476478576660155,
0.00517632007598877,
0.005181407928466797,
0.005244895935058593,
0.005192704200744629,
0.005269504070281982,
0.00520908784866333,
0.005185535907745361,
0.005174272060394287,
0.005156864166259765,
0.005150720119476319,
0.005215231895446777
]
},
"throughput": {
"unit": "samples/s",
"value": 188.58163406883662
},
"energy": {
"unit": "kWh",
"cpu": 6.140991144641487e-08,
"ram": 3.357599952922031e-08,
"gpu": 1.3245117101554423e-07,
"total": 2.274370819911794e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4396820.392018495
}
}
}
}