IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3c19e4b
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+rocm5.7", | |
"_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": "5", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1031.094272, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48931.393536, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.627650390625, | |
"mean": 8.627650390625, | |
"stdev": 0.0, | |
"p50": 8.627650390625, | |
"p90": 8.627650390625, | |
"p95": 8.627650390625, | |
"p99": 8.627650390625, | |
"values": [ | |
8.627650390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1128.513536, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 123071.54944, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9980111498832703, | |
"mean": 0.006882835516436346, | |
"stdev": 0.0003020509802499518, | |
"p50": 0.0068011021614074706, | |
"p90": 0.00738455696105957, | |
"p95": 0.007542956829071045, | |
"p99": 0.007597106513977051, | |
"values": [ | |
0.007623340129852295, | |
0.007491500854492188, | |
0.007156460762023926, | |
0.0073052611351013185, | |
0.006994700908660888, | |
0.0069246220588684085, | |
0.007069262027740478, | |
0.0071479811668396, | |
0.007140780925750732, | |
0.00702606201171875, | |
0.007006542205810547, | |
0.007162061214447022, | |
0.007145740985870361, | |
0.007162381172180176, | |
0.007085902214050293, | |
0.007155820846557617, | |
0.007208140850067138, | |
0.0071451010704040524, | |
0.007053902149200439, | |
0.00700590181350708, | |
0.007075022220611573, | |
0.007221261024475098, | |
0.006985422134399414, | |
0.007087821006774902, | |
0.007085422039031983, | |
0.006974541187286377, | |
0.006954061985015869, | |
0.007109100818634033, | |
0.006864461898803711, | |
0.006980301856994629, | |
0.007046542167663574, | |
0.00684542179107666, | |
0.006823822021484375, | |
0.0067398219108581545, | |
0.006792781829833984, | |
0.0067977428436279295, | |
0.007073901176452637, | |
0.006798701763153076, | |
0.00679630184173584, | |
0.00697310209274292, | |
0.006757582187652588, | |
0.006758062839508056, | |
0.0067595019340515134, | |
0.0068022217750549315, | |
0.00680878210067749, | |
0.006719182968139648, | |
0.0067399821281433105, | |
0.006833901882171631, | |
0.006824461936950683, | |
0.006815822124481201, | |
0.006899022102355957, | |
0.006786542892456055, | |
0.006761262893676758, | |
0.0067967820167541505, | |
0.006825262069702148, | |
0.0068126220703125, | |
0.006723183155059815, | |
0.0067545418739318845, | |
0.006828142166137695, | |
0.006566702842712402, | |
0.006613101959228516, | |
0.006754063129425049, | |
0.006602221965789795, | |
0.006602063179016114, | |
0.006578382968902588, | |
0.006570383071899414, | |
0.00664126205444336, | |
0.00658702278137207, | |
0.006588782787322998, | |
0.0066046218872070316, | |
0.0066033430099487304, | |
0.006734383106231689, | |
0.0065817427635192875, | |
0.006586062908172608, | |
0.006586062908172608, | |
0.006613741874694825, | |
0.006588142871856689, | |
0.006581422805786133, | |
0.006604302883148194, | |
0.006578382968902588, | |
0.0068011021614074706, | |
0.0065966229438781734, | |
0.006598863124847412, | |
0.006779181957244873, | |
0.0066081428527832034, | |
0.006575983047485351, | |
0.006590063095092773, | |
0.006613263130187988, | |
0.006600782871246338, | |
0.006811662197113037, | |
0.006596463203430176, | |
0.006579342842102051, | |
0.006785582065582276, | |
0.00657278299331665, | |
0.006585742950439453, | |
0.0065604629516601565, | |
0.006585422992706299, | |
0.006579662799835205, | |
0.006593903064727783, | |
0.006577423095703125, | |
0.006606862068176269, | |
0.006575023174285889, | |
0.006606382846832275, | |
0.0066524620056152345, | |
0.006579183101654053, | |
0.006577423095703125, | |
0.006581263065338135, | |
0.006613741874694825, | |
0.006573422908782959, | |
0.006577262878417969, | |
0.00680062198638916, | |
0.006575343132019043, | |
0.006583662986755371, | |
0.00683934211730957, | |
0.006586381912231445, | |
0.006590222835540772, | |
0.006587502956390381, | |
0.006583982944488525, | |
0.007183341026306153, | |
0.007483980178833008, | |
0.007575339794158935, | |
0.007508460998535156, | |
0.007531819820404052, | |
0.007527500152587891, | |
0.007288620948791504, | |
0.007049262046813965, | |
0.007133740901947022, | |
0.0072753410339355465, | |
0.007575819969177246, | |
0.007582859992980957, | |
0.007561580181121826, | |
0.0076083002090454105, | |
0.007546220779418945, | |
0.007545741081237793, | |
0.007476140022277832, | |
0.007437420845031738, | |
0.007018860816955567, | |
0.0069179019927978515, | |
0.00679630184173584, | |
0.006924942016601563, | |
0.007139660835266113, | |
0.006978382110595703, | |
0.006880782127380371, | |
0.006962701797485351, | |
0.007007500171661377 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.28895796100028 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |