IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c7f9d68 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+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.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 951.41888,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 186,
"total": 0.9982159051895146,
"mean": 0.0053667521784382475,
"stdev": 0.0001886673304398991,
"p50": 0.0053734400272369386,
"p90": 0.005558784008026123,
"p95": 0.0056581121683120725,
"p99": 0.005928908681869507,
"values": [
0.006312960147857666,
0.005526463985443115,
0.00566476821899414,
0.005726208209991455,
0.005638144016265869,
0.005620736122131348,
0.005582848072052002,
0.0055623679161071774,
0.005525568008422852,
0.00551423978805542,
0.005535744190216065,
0.005486591815948487,
0.005570559978485107,
0.005436416149139404,
0.00536678409576416,
0.005278719902038574,
0.005285888195037842,
0.005379072189331055,
0.005399551868438721,
0.005463071823120117,
0.005468160152435303,
0.005509119987487793,
0.005434368133544922,
0.0055552000999450684,
0.0053606400489807126,
0.00537497615814209,
0.0055552000999450684,
0.005439551830291748,
0.0054568958282470706,
0.005483520030975342,
0.005468160152435303,
0.0054988799095153805,
0.005412799835205078,
0.005431295871734619,
0.005477375984191894,
0.005442560195922852,
0.005281792163848877,
0.005285888195037842,
0.005242847919464112,
0.005347328186035156,
0.005306367874145508,
0.005408768177032471,
0.005380095958709717,
0.00537395191192627,
0.005402624130249023,
0.005502975940704345,
0.005471231937408447,
0.005540895938873291,
0.005496831893920898,
0.005401599884033203,
0.005346303939819336,
0.0053975038528442385,
0.005473279953002929,
0.005432320117950439,
0.005407743930816651,
0.005442560195922852,
0.005347328186035156,
0.005325888156890869,
0.005381120204925537,
0.005362688064575195,
0.005392384052276611,
0.005540863990783691,
0.005368832111358642,
0.005323775768280029,
0.005339136123657226,
0.005398528099060058,
0.005334047794342041,
0.0053340158462524415,
0.005346240043640137,
0.005323775768280029,
0.005377024173736572,
0.0054579200744628905,
0.005506048202514649,
0.005499904155731201,
0.005473279953002929,
0.005468160152435303,
0.005433343887329102,
0.005417984008789062,
0.005350399971008301,
0.005355519771575928,
0.00538316822052002,
0.005281792163848877,
0.005232639789581299,
0.005122047901153564,
0.0050503678321838375,
0.00522649621963501,
0.005275648117065429,
0.005235712051391602,
0.005066751956939697,
0.005025792121887207,
0.005035007953643799,
0.005064703941345215,
0.005173247814178467,
0.005099520206451416,
0.005573631763458252,
0.005857279777526855,
0.005687295913696289,
0.005769216060638428,
0.005763072013854981,
0.0059269118309021,
0.0057077760696411135,
0.005593088150024414,
0.005446656227111817,
0.005447679996490478,
0.005476352214813233,
0.005405695915222168,
0.005424191951751709,
0.005438464164733887,
0.005940224170684814,
0.005336063861846924,
0.005097472190856934,
0.005099520206451416,
0.005101568222045898,
0.005221375942230225,
0.00505241584777832,
0.005090303897857666,
0.005093376159667969,
0.0050462718009948735,
0.005187615871429443,
0.0050432000160217285,
0.005045248031616211,
0.00502784013748169,
0.0050421757698059086,
0.005024767875671386,
0.005041152000427246,
0.00501145601272583,
0.0050421757698059086,
0.005059584140777588,
0.005026815891265869,
0.005055488109588623,
0.005032959938049316,
0.005081088066101074,
0.005486591815948487,
0.005585919857025146,
0.0054906878471374515,
0.005392384052276611,
0.005401599884033203,
0.0055808000564575196,
0.005409791946411133,
0.005441535949707031,
0.00537395191192627,
0.005387263774871826,
0.0054917120933532714,
0.005375999927520752,
0.0053821439743042,
0.00538316822052002,
0.005324831962585449,
0.005306367874145508,
0.00525932788848877,
0.005402624130249023,
0.005228544235229492,
0.005245952129364013,
0.0052408318519592285,
0.005269504070281982,
0.005246975898742676,
0.00522649621963501,
0.005248000144958496,
0.005258240222930908,
0.005256192207336426,
0.005256127834320068,
0.005353439807891846,
0.00536575984954834,
0.005350399971008301,
0.005349376201629639,
0.005313536167144775,
0.005372928142547607,
0.0053637118339538575,
0.005274623870849609,
0.005390336036682129,
0.005255167961120606,
0.005282847881317138,
0.005356544017791748,
0.0053719358444213865,
0.005338111877441406,
0.00536575984954834,
0.005380095958709717,
0.00535859203338623,
0.005274623870849609,
0.0053678078651428224,
0.005350399971008301,
0.005379072189331055,
0.005402624130249023,
0.005367775917053222,
0.0053688640594482424,
0.0053350400924682614,
0.005336063861846924
]
},
"throughput": {
"unit": "samples/s",
"value": 186.3324347298267
},
"energy": {
"unit": "kWh",
"cpu": 6.362058297552244e-08,
"ram": 3.478366745505756e-08,
"gpu": 1.3990801448128373e-07,
"total": 2.383122649118637e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4196175.133368966
}
}
}
}