IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
68f5fb9 verified
raw
history blame
12.2 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.245952,
"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.45445556640625,
"mean": 7.45445556640625,
"stdev": 0.0,
"p50": 7.45445556640625,
"p90": 7.45445556640625,
"p95": 7.45445556640625,
"p99": 7.45445556640625,
"values": [
7.45445556640625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.318594932556153e-06,
"ram": 2.3511997609966787e-06,
"gpu": 6.799727661999273e-06,
"total": 1.3469522355552106e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.744448,
"max_global_vram": 1040.71168,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9967222080230714,
"mean": 0.0067346095136694,
"stdev": 0.00022174438474408008,
"p50": 0.006716943979263305,
"p90": 0.007009167909622193,
"p95": 0.007053260779380798,
"p99": 0.00716996606349945,
"values": [
0.007200767993927002,
0.007054336071014404,
0.007086143970489502,
0.007357408046722412,
0.007096320152282715,
0.007067647933959961,
0.006909952163696289,
0.006994944095611572,
0.006921279907226563,
0.006906847953796386,
0.006907904148101806,
0.006917215824127197,
0.006846303939819336,
0.006751232147216797,
0.006838272094726563,
0.006880383968353271,
0.006930367946624756,
0.006952960014343262,
0.0070256638526916505,
0.0069816322326660156,
0.006849535942077637,
0.006806528091430664,
0.006949888229370117,
0.006948863983154297,
0.006978559970855713,
0.006919167995452881,
0.00695091199874878,
0.006947840213775635,
0.006879231929779053,
0.006976511955261231,
0.006686719894409179,
0.0067041277885437015,
0.006552671909332276,
0.0065484800338745115,
0.006913023948669434,
0.00688643217086792,
0.006854464054107666,
0.006913023948669434,
0.00693555212020874,
0.0068782720565795895,
0.006979584217071533,
0.0069918718338012695,
0.006982687950134277,
0.007008255958557129,
0.007135231971740722,
0.0069415678977966305,
0.006919167995452881,
0.006918144226074219,
0.006953983783721924,
0.007039999961853028,
0.006933504104614257,
0.006930431842803955,
0.006883327960968018,
0.006860799789428711,
0.0069324798583984375,
0.006945792198181152,
0.007011295795440674,
0.006875135898590088,
0.00687718391418457,
0.007051263809204102,
0.006875135898590088,
0.006929408073425293,
0.006916096210479736,
0.0068577280044555666,
0.007038976192474365,
0.007058432102203369,
0.007031807899475098,
0.006934463977813721,
0.0067051520347595215,
0.006658048152923584,
0.006670335769653321,
0.00669593620300293,
0.00666534423828125,
0.006626368045806885,
0.0065710082054138185,
0.006539455890655518,
0.0064245758056640625,
0.006323200225830078,
0.006486015796661377,
0.006804480075836182,
0.006663167953491211,
0.006560832023620605,
0.006428671836853027,
0.006557695865631104,
0.006503424167633057,
0.006798367977142334,
0.0068310718536376954,
0.006875135898590088,
0.006856704235076904,
0.007016448020935059,
0.006840320110321045,
0.0067164478302001954,
0.006666240215301514,
0.0065781760215759275,
0.006569983959197998,
0.006730751991271973,
0.006746111869812011,
0.006452223777770996,
0.006532095909118653,
0.00653107213973999,
0.006603775978088379,
0.006553631782531738,
0.00658022403717041,
0.006471712112426758,
0.006518784046173095,
0.006584415912628174,
0.006491136074066162,
0.006508543968200684,
0.00648089599609375,
0.006503424167633057,
0.006491136074066162,
0.006690815925598144,
0.0064869441986083985,
0.006475776195526123,
0.006416543960571289,
0.006486015796661377,
0.006456319808959961,
0.0064204797744750975,
0.006542335987091064,
0.006466559886932373,
0.006511712074279785,
0.006500351905822754,
0.006466559886932373,
0.006518784046173095,
0.0065669121742248536,
0.006404096126556396,
0.006516736030578613,
0.006565887928009034,
0.006717440128326416,
0.006520832061767578,
0.006501535892486573,
0.00649513578414917,
0.006508543968200684,
0.006498303890228272,
0.006471680164337158,
0.006523808002471924,
0.006461440086364746,
0.006518784046173095,
0.006466559886932373,
0.006510496139526367,
0.0065136637687683106,
0.006518784046173095,
0.006458367824554443,
0.006687744140625,
0.006508543968200684,
0.006467584133148193,
0.006518784046173095,
0.006427648067474365
]
},
"throughput": {
"unit": "samples/s",
"value": 148.48670854193932
},
"energy": {
"unit": "kWh",
"cpu": 7.594033247894712e-08,
"ram": 4.1519037971224095e-08,
"gpu": 1.6566964820513057e-07,
"total": 2.8312901865530175e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3531958.697661648
}
}
}
}