IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
91bd05a verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.252864,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 865.529856,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3336474609375,
"mean": 8.3336474609375,
"stdev": 0.0,
"p50": 8.3336474609375,
"p90": 8.3336474609375,
"p95": 8.3336474609375,
"p99": 8.3336474609375,
"values": [
8.3336474609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.317663506250824e-06,
"ram": 2.3505591642805776e-06,
"gpu": 6.3375050700000685e-06,
"total": 1.300572774053147e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1105.215488,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0009439687728876,
"mean": 0.0069996081732369795,
"stdev": 0.00033219299067367946,
"p50": 0.006904960155487061,
"p90": 0.007282688140869141,
"p95": 0.007804735898971558,
"p99": 0.008313221340179443,
"values": [
0.007923711776733398,
0.007957632064819337,
0.007811071872711181,
0.007717887878417969,
0.007648255825042725,
0.00787052822113037,
0.006937600135803222,
0.006875135898590088,
0.006793216228485107,
0.006755199909210205,
0.00673689603805542,
0.006732800006866455,
0.006755328178405762,
0.006694911956787109,
0.006719488143920899,
0.00693452787399292,
0.006821887969970703,
0.007054336071014404,
0.0068055038452148435,
0.006804480075836182,
0.006823935985565186,
0.006799359798431396,
0.006792191982269287,
0.006719488143920899,
0.00677785587310791,
0.006738944053649902,
0.0067276802062988285,
0.006718463897705078,
0.006755328178405762,
0.006767615795135498,
0.006864895820617676,
0.0067717118263244626,
0.006946815967559815,
0.00678604793548584,
0.006874112129211426,
0.00676966381072998,
0.00690176010131836,
0.007050240039825439,
0.007035903930664063,
0.007103456020355225,
0.007063488006591797,
0.007008255958557129,
0.00709222412109375,
0.006872064113616944,
0.006789120197296142,
0.006751232147216797,
0.006776832103729248,
0.006810624122619629,
0.006967296123504638,
0.006780896186828613,
0.006840320110321045,
0.007145472049713135,
0.006988800048828125,
0.00706547212600708,
0.006892543792724609,
0.0068321280479431154,
0.006908927917480469,
0.006972288131713867,
0.006980607986450196,
0.006870016098022461,
0.00674508810043335,
0.006800384044647217,
0.007138336181640625,
0.0071792640686035155,
0.006946847915649414,
0.007006207942962647,
0.006865920066833496,
0.006892608165740967,
0.00684441614151001,
0.0068986878395080565,
0.006879231929779053,
0.007241727828979493,
0.006960127830505371,
0.006883327960968018,
0.006837247848510742,
0.006773759841918945,
0.006860799789428711,
0.006910975933074951,
0.0068577280044555666,
0.0067502717971801756,
0.0067870721817016606,
0.00705347204208374,
0.007226367950439453,
0.006995935916900634,
0.006998112201690674,
0.007049215793609619,
0.007184447765350342,
0.006933504104614257,
0.007020544052124023,
0.006982656002044678,
0.007124832153320312,
0.006906879901885986,
0.006936575889587402,
0.006922239780426025,
0.006944767951965332,
0.006915071964263916,
0.006993919849395752,
0.006943903923034668,
0.006918144226074219,
0.00684659194946289,
0.006904960155487061,
0.006762335777282715,
0.006763519763946534,
0.006772831916809082,
0.0067420158386230465,
0.006925183773040772,
0.006752255916595459,
0.006971392154693603,
0.006863872051239014,
0.006872064113616944,
0.007747712135314941,
0.008251392364501953,
0.008327168464660644,
0.008317952156066894,
0.00830668830871582,
0.00754585599899292,
0.007077888011932373,
0.007162879943847656,
0.007109632015228271,
0.007054336071014404,
0.00707583999633789,
0.007565311908721924,
0.0070000958442687986,
0.007038976192474365,
0.006876160144805908,
0.006754303932189941,
0.006855679988861084,
0.0070338878631591795,
0.006944767951965332,
0.006790143966674805,
0.006828127861022949,
0.006863872051239014,
0.006815743923187256,
0.006814720153808594,
0.006730751991271973,
0.006867968082427979,
0.006855679988861084,
0.006707200050354004,
0.007292928218841553,
0.007513088226318359,
0.007036767959594727,
0.007024640083312988,
0.00698367977142334
]
},
"throughput": {
"unit": "samples/s",
"value": 142.86513976932346
},
"energy": {
"unit": "kWh",
"cpu": 8.125831625284961e-08,
"ram": 4.4377953630301387e-08,
"gpu": 1.7178666710958958e-07,
"total": 2.9742293699274054e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3362215.4703704235
}
}
}
}