IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
33d0691 verified
raw
history blame
12.2 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.12",
"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": 889.52832,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.36682330322265627
],
"count": 1,
"total": 0.36682330322265627,
"mean": 0.36682330322265627,
"p50": 0.36682330322265627,
"p90": 0.36682330322265627,
"p95": 0.36682330322265627,
"p99": 0.36682330322265627,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00011021143298055568,
"ram": 6.038462323142427e-05,
"gpu": 0.00014148789096799994,
"total": 0.0003120839471799799
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1134.215168,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 133.139968
},
"latency": {
"unit": "s",
"values": [
0.0072837119102478025,
0.0067183680534362794,
0.006676479816436768,
0.006817791938781738,
0.006834176063537598,
0.006670368194580078,
0.006650879859924317,
0.006681600093841553,
0.007211008071899414,
0.007008255958557129,
0.007000991821289063,
0.007010303974151612,
0.006988768100738525,
0.006972415924072266,
0.006989823818206787,
0.006978559970855713,
0.006981760025024414,
0.006974463939666748,
0.007159808158874512,
0.006720384120941162,
0.006668288230895996,
0.006807551860809326,
0.006754271984100342,
0.006759424209594727,
0.0066979842185974124,
0.006737919807434082,
0.006772736072540283,
0.006754303932189941,
0.007020544052124023,
0.007028672218322754,
0.007022751808166504,
0.007011328220367432,
0.0069632000923156735,
0.00702246379852295,
0.007018496036529541,
0.007063456058502197,
0.007127039909362793,
0.007095295906066895,
0.007048319816589355,
0.0071526398658752445,
0.006874112129211426,
0.007038976192474365,
0.007017471790313721,
0.007016448020935059,
0.006953983783721924,
0.007012159824371338,
0.007030720233917236,
0.007092192173004151,
0.007102431774139405,
0.007015520095825195,
0.007018496036529541,
0.007078911781311035,
0.00704307222366333,
0.00699894380569458,
0.0072212800979614255,
0.007206912040710449,
0.007057439804077148,
0.007018496036529541,
0.0069530878067016605,
0.0070256638526916505,
0.007029727935791015,
0.007015456199645996,
0.006965087890625,
0.007017471790313721,
0.0070266880989074704,
0.007102464199066162,
0.007029759883880615,
0.007043935775756836,
0.007057407855987549,
0.007053311824798584,
0.007161856174468994,
0.007147520065307617,
0.007025792121887207,
0.007054336071014404,
0.007028736114501953,
0.006972415924072266,
0.007007296085357666,
0.007032703876495361,
0.007021567821502686,
0.007077888011932373,
0.007104351997375489,
0.007013376235961914,
0.007014463901519776,
0.006930431842803955,
0.007000063896179199,
0.007145472049713135,
0.0070266880989074704,
0.007142399787902832,
0.006931456089019775,
0.007005184173583984,
0.007030975818634033,
0.007024640083312988,
0.006963327884674072,
0.007046144008636474,
0.007006207942962647,
0.006982624053955078,
0.006987775802612305,
0.006999904155731201,
0.007024640083312988,
0.0070266880989074704,
0.006964223861694336,
0.007153664112091064,
0.0070563840866088865,
0.007222335815429687,
0.007054336071014404,
0.006971392154693603,
0.007030784130096435,
0.00704204797744751,
0.006972415924072266,
0.006966271877288818,
0.007029759883880615,
0.007039999961853028,
0.0070256638526916505,
0.007024640083312988,
0.0070225920677185055,
0.007021440029144287,
0.007049215793609619,
0.007134208202362061,
0.0069959678649902345,
0.007031807899475098,
0.007205984115600586,
0.007071743965148926,
0.0069816322326660156,
0.006927167892456055,
0.007054336071014404,
0.0070236802101135256,
0.007006207942962647,
0.007049215793609619,
0.007021567821502686,
0.007014400005340577,
0.006953983783721924,
0.006963295936584473,
0.007023615837097168,
0.006971392154693603,
0.007262207984924316,
0.007001088142395019,
0.007060480117797851,
0.0069816322326660156,
0.006967296123504638,
0.006980607986450196,
0.006969503879547119,
0.0070266880989074704,
0.00695091199874878
],
"count": 143,
"total": 1.001188959121704,
"mean": 0.00700132139245947,
"p50": 0.007018496036529541,
"p90": 0.007132774543762207,
"p95": 0.007161651372909546,
"p99": 0.0072454616737365725,
"stdev": 0.00011705908808073852,
"stdev_": 1.6719570709439642
},
"throughput": {
"unit": "samples/s",
"value": 285.66036150747635
},
"energy": {
"unit": "kWh",
"cpu": 8.785956676440165e-08,
"ram": 4.795037815470192e-08,
"gpu": 2.0660921878518535e-07,
"total": 3.424191637042886e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 5840794.593281553
}
}
}
}