IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c3b946a verified
raw
history blame
12 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_type": "resnet50",
"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": {},
"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,
"memory": true,
"latency": 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.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.405696,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4482646484375,
"mean": 7.4482646484375,
"stdev": 0.0,
"p50": 7.4482646484375,
"p90": 7.4482646484375,
"p95": 7.4482646484375,
"p99": 7.4482646484375,
"values": [
7.4482646484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.30608375204934e-06,
"ram": 2.3445986126587096e-06,
"gpu": 4.726392669998983e-06,
"total": 1.1377075034707033e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.978496,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9964563188552858,
"mean": 0.006968226005981019,
"stdev": 0.0002512380970407668,
"p50": 0.0069632000923156735,
"p90": 0.007196057605743408,
"p95": 0.007250944137573242,
"p99": 0.007998204307556156,
"values": [
0.007250944137573242,
0.0072765440940856935,
0.007278592109680176,
0.007250944137573242,
0.007193600177764893,
0.0070399360656738285,
0.0071526398658752445,
0.007193535804748535,
0.007172095775604248,
0.007202816009521484,
0.007161856174468994,
0.006757311820983887,
0.006939648151397705,
0.007008255958557129,
0.007196671962738037,
0.007058432102203369,
0.0071577920913696285,
0.007165952205657959,
0.007110655784606934,
0.006987775802612305,
0.007018496036529541,
0.0071198720932006835,
0.007147520065307617,
0.007098400115966797,
0.0070563840866088865,
0.007101439952850342,
0.007098368167877197,
0.007085055828094483,
0.007045119762420654,
0.007131135940551757,
0.007324672222137451,
0.007008255958557129,
0.006979648113250732,
0.00692633581161499,
0.007029759883880615,
0.007080959796905518,
0.007206816196441651,
0.007111680030822754,
0.007829567909240723,
0.008313856124877929,
0.008120320320129394,
0.007145472049713135,
0.007176191806793213,
0.007145472049713135,
0.007127039909362793,
0.007057407855987549,
0.006849535942077637,
0.006858816146850586,
0.006815711975097657,
0.006800384044647217,
0.00689356803894043,
0.006699007987976074,
0.006944767951965332,
0.0070891518592834475,
0.007143424034118652,
0.007162847995758057,
0.007031807899475098,
0.0069918718338012695,
0.007048192024230957,
0.007147520065307617,
0.007108607769012451,
0.007125984191894532,
0.007104512214660645,
0.007244800090789795,
0.007242688179016113,
0.0072499198913574215,
0.007268352031707764,
0.007192575931549072,
0.007154687881469727,
0.007192575931549072,
0.007143424034118652,
0.007129087924957276,
0.0070830078125,
0.00707583999633789,
0.007043039798736573,
0.006916096210479736,
0.00709119987487793,
0.007051263809204102,
0.006863872051239014,
0.006780863761901856,
0.006739967823028564,
0.006872064113616944,
0.007030816078186035,
0.006966271877288818,
0.0068403520584106444,
0.0069632000923156735,
0.007106560230255127,
0.007079936027526855,
0.0068187518119812015,
0.006829055786132812,
0.006892543792724609,
0.006815743923187256,
0.006795263767242431,
0.006855679988861084,
0.006782976150512696,
0.006766592025756836,
0.006804480075836182,
0.006779871940612793,
0.006726655960083008,
0.006799359798431396,
0.006792191982269287,
0.006738944053649902,
0.006715392112731934,
0.00674508810043335,
0.006758399963378906,
0.006870016098022461,
0.006725632190704346,
0.00676966381072998,
0.006746111869812011,
0.006718463897705078,
0.006748159885406494,
0.006758399963378906,
0.0067224960327148435,
0.006752319812774658,
0.006737919807434082,
0.006696000099182129,
0.006748159885406494,
0.006738944053649902,
0.006706175804138184,
0.0067276802062988285,
0.00672870397567749,
0.006688767910003662,
0.0067348480224609375,
0.006725632190704346,
0.006683648109436035,
0.006761472225189209,
0.006724607944488525,
0.006715392112731934,
0.006737919807434082,
0.006749184131622315,
0.006758399963378906,
0.0067041277885437015,
0.006731776237487793,
0.0067338237762451176,
0.006686751842498779,
0.006717440128326416,
0.0067348480224609375,
0.0066979842185974124,
0.0067420158386230465,
0.006726655960083008,
0.006696959972381592,
0.006775904178619385,
0.00673689603805542
]
},
"throughput": {
"unit": "samples/s",
"value": 143.50854853755786
},
"energy": {
"unit": "kWh",
"cpu": 7.975072135327914e-08,
"ram": 4.36007043044729e-08,
"gpu": 1.6656053593288605e-07,
"total": 2.899119615906381e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3449323.010038549
}
}
}
}