IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
55de1c0 verified
raw
history blame
12.3 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.028864,
"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.46453515625,
"mean": 7.46453515625,
"stdev": 0.0,
"p50": 7.46453515625,
"p90": 7.46453515625,
"p95": 7.46453515625,
"p99": 7.46453515625,
"values": [
7.46453515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.329045779175229e-06,
"ram": 2.356708688483214e-06,
"gpu": 6.921394426000552e-06,
"total": 1.3607148893658994e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.962112,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9976798086166384,
"mean": 0.006651198724110921,
"stdev": 0.0003438399018813312,
"p50": 0.006491647958755493,
"p90": 0.006882304191589355,
"p95": 0.006974668741226197,
"p99": 0.007839344749450671,
"values": [
0.009401344299316406,
0.00849715232849121,
0.007154687881469727,
0.007003136157989502,
0.006969312191009522,
0.006894591808319092,
0.006976511955261231,
0.006972415924072266,
0.007095295906066895,
0.007151616096496582,
0.006492159843444824,
0.006469632148742676,
0.006493184089660644,
0.006470655918121338,
0.0064204797744750975,
0.006466559886932373,
0.0064778242111206055,
0.00643993616104126,
0.006472703933715821,
0.0064440321922302245,
0.006423552036285401,
0.006458367824554443,
0.006418432235717773,
0.0064143362045288085,
0.006402048110961914,
0.006364160060882569,
0.006405119895935059,
0.00636518383026123,
0.006387712001800537,
0.006411263942718506,
0.006347775936126709,
0.006470687866210937,
0.006429696083068847,
0.006435840129852295,
0.006478847980499268,
0.006441984176635742,
0.006469632148742676,
0.006448128223419189,
0.006358016014099121,
0.006416384220123291,
0.006425600051879882,
0.006487040042877197,
0.006456319808959961,
0.00642252779006958,
0.0065177597999572755,
0.006575104236602783,
0.0064204797744750975,
0.006441984176635742,
0.006392831802368164,
0.006458367824554443,
0.006489088058471679,
0.006423552036285401,
0.006474720001220703,
0.006457344055175781,
0.00643071985244751,
0.006445055961608887,
0.006397952079772949,
0.006458367824554443,
0.006461440086364746,
0.00643891191482544,
0.006460415840148926,
0.0064102401733398436,
0.006474751949310303,
0.0064737281799316405,
0.006458367824554443,
0.006457344055175781,
0.0064839677810668945,
0.006461440086364746,
0.006499328136444092,
0.006450175762176514,
0.006493184089660644,
0.006482944011688232,
0.006453248023986816,
0.006512639999389648,
0.006490111827850342,
0.00643891191482544,
0.00648089599609375,
0.006441984176635742,
0.006558720111846924,
0.006491136074066162,
0.00643993616104126,
0.006498303890228272,
0.006503359794616699,
0.006456319808959961,
0.006493184089660644,
0.0064471039772033695,
0.006501376152038574,
0.006486015796661377,
0.006434815883636475,
0.0065146880149841305,
0.00648089599609375,
0.0064471039772033695,
0.006470655918121338,
0.006441984176635742,
0.006466559886932373,
0.006490111827850342,
0.006462431907653808,
0.0064778242111206055,
0.006616064071655273,
0.006533120155334473,
0.006770688056945801,
0.006792191982269287,
0.006804480075836182,
0.006871039867401123,
0.006866943836212158,
0.0068280320167541505,
0.00684441614151001,
0.0068577280044555666,
0.006872128009796143,
0.006867968082427979,
0.006879231929779053,
0.006834176063537598,
0.0068689918518066405,
0.006809599876403808,
0.006880256175994873,
0.006993919849395752,
0.006818816184997558,
0.006860799789428711,
0.006859776020050049,
0.00687820816040039,
0.006843391895294189,
0.006878176212310791,
0.00689356803894043,
0.00683513593673706,
0.00682700777053833,
0.006857632160186767,
0.0068813438415527345,
0.0068310718536376954,
0.006855679988861084,
0.00694271993637085,
0.006875072002410889,
0.006808576107025147,
0.006870016098022461,
0.006848480224609375,
0.006821887969970703,
0.006860799789428711,
0.006882304191589355,
0.006882304191589355,
0.006841343879699707,
0.006930431842803955,
0.006872064113616944,
0.006841343879699707,
0.006808576107025147,
0.006851583957672119,
0.006756351947784424,
0.0067123198509216305,
0.006743040084838867,
0.006772736072540283,
0.006821887969970703,
0.006852608203887939
]
},
"throughput": {
"unit": "samples/s",
"value": 150.34883807860845
},
"energy": {
"unit": "kWh",
"cpu": 7.971660536140937e-08,
"ram": 4.3499466907463534e-08,
"gpu": 1.750840326845613e-07,
"total": 2.983001049534342e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3352328.6897807294
}
}
}
}