IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
83dfd9f verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 890.728448,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3614412841796875
],
"count": 1,
"total": 0.3614412841796875,
"mean": 0.3614412841796875,
"p50": 0.3614412841796875,
"p90": 0.3614412841796875,
"p95": 0.3614412841796875,
"p99": 0.3614412841796875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00011271527798055595,
"ram": 6.175210910186035e-05,
"gpu": 0.00014581344998399989,
"total": 0.00032028083706641617
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1133.879296,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 133.139968
},
"latency": {
"unit": "s",
"values": [
0.007423999786376953,
0.0071495680809020995,
0.007104512214660645,
0.007077727794647217,
0.006936575889587402,
0.007344128131866455,
0.007209983825683594,
0.007068672180175781,
0.007230463981628418,
0.0074700798988342285,
0.0073768959045410155,
0.007390207767486572,
0.007393280029296875,
0.007488512039184571,
0.007378943920135498,
0.007221151828765869,
0.007355391979217529,
0.007453695774078369,
0.007486464023590088,
0.007463935852050781,
0.007412735939025879,
0.007249023914337158,
0.0073768959045410155,
0.0074035201072692874,
0.007398272037506103,
0.007318528175354004,
0.007394303798675537,
0.0072427520751953125,
0.007219200134277344,
0.00703385591506958,
0.007094272136688232,
0.007230463981628418,
0.007704576015472412,
0.007311359882354736,
0.007362559795379638,
0.007388160228729248,
0.0072765440940856935,
0.007270400047302246,
0.0072724480628967286,
0.007008255958557129,
0.006971392154693603,
0.007057407855987549,
0.0071157760620117185,
0.0070563840866088865,
0.007018496036529541,
0.007120895862579346,
0.007204927921295166,
0.007194623947143554,
0.007130015850067139,
0.007126016139984131,
0.007102464199066162,
0.007171072006225586,
0.007045119762420654,
0.007071743965148926,
0.00704204797744751,
0.00704911994934082,
0.0069467520713806154,
0.007134208202362061,
0.007021664142608642,
0.006996992111206054,
0.0070225920677185055,
0.0068280320167541505,
0.006896639823913574,
0.0070050878524780275,
0.006817791938781738,
0.0066304001808166506,
0.0068280320167541505,
0.007178239822387696,
0.007101408004760742,
0.007265279769897461,
0.007246816158294677,
0.007357439994812012,
0.007379968166351319,
0.007412735939025879,
0.007051263809204102,
0.007113632202148438,
0.006905856132507324,
0.006933504104614257,
0.006944672107696533,
0.006940671920776367,
0.00694271993637085,
0.006945792198181152,
0.0069253120422363285,
0.007214079856872559,
0.007350272178649903,
0.00701638412475586,
0.006952960014343262,
0.0069959678649902345,
0.007487584114074707,
0.007647232055664062,
0.006968319892883301,
0.006977536201477051,
0.007160895824432373,
0.007280576229095459,
0.007024672031402588,
0.00695091199874878,
0.006937600135803222,
0.0069797120094299316,
0.006925151824951172,
0.006967296123504638,
0.006919167995452881,
0.006883359909057617,
0.006868000030517578,
0.007688191890716553,
0.0070563840866088865,
0.006920191764831543,
0.00688640022277832,
0.007009280204772949,
0.006940671920776367,
0.006910975933074951,
0.0068884482383728025,
0.00690783977508545,
0.00689462423324585,
0.006967296123504638,
0.006929408073425293,
0.006776832103729248,
0.006659071922302246,
0.006856736183166504,
0.007046144008636474,
0.006986752033233643,
0.006930431842803955,
0.006833280086517334,
0.0075632638931274416,
0.007415808200836181,
0.007060480117797851,
0.007498752117156982,
0.00811520004272461,
0.006989823818206787,
0.006897664070129395,
0.006971360206604004,
0.0070000958442687986,
0.0069621758460998535,
0.007346176147460938,
0.006929408073425293,
0.007000063896179199,
0.00694374418258667,
0.0068915200233459475,
0.007000063896179199,
0.006972415924072266,
0.006947840213775635
],
"count": 140,
"total": 0.9973458251953127,
"mean": 0.0071238987513950885,
"p50": 0.0070563840866088865,
"p90": 0.007413043165206909,
"p95": 0.0074876305103302,
"p99": 0.0076981862068176265,
"stdev": 0.00023022666777995748,
"stdev_": 3.2317509809480613
},
"throughput": {
"unit": "samples/s",
"value": 280.74514669489594
},
"energy": {
"unit": "kWh",
"cpu": 8.191760266283228e-08,
"ram": 4.476455283170926e-08,
"gpu": 1.9637372031724155e-07,
"total": 3.230558758117831e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 6190879.503350152
}
}
}
}