IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ecbd5f2
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": 1153.49504, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 52530.741248, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.8816904296875, | |
"mean": 8.8816904296875, | |
"stdev": 0.0, | |
"p50": 8.8816904296875, | |
"p90": 8.8816904296875, | |
"p95": 8.8816904296875, | |
"p99": 8.8816904296875, | |
"values": [ | |
8.8816904296875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.843968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 110378.950656, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9985902907848357, | |
"mean": 0.007288980224706829, | |
"stdev": 0.0008772662296363623, | |
"p50": 0.007093422889709473, | |
"p90": 0.00783332567214966, | |
"p95": 0.007847117900848388, | |
"p99": 0.007933357162475585, | |
"values": [ | |
0.007777421951293945, | |
0.007886701107025147, | |
0.007769742012023926, | |
0.007814381122589111, | |
0.007931821823120118, | |
0.0073111820220947265, | |
0.007262382984161377, | |
0.00723662281036377, | |
0.007415503025054932, | |
0.007159502983093262, | |
0.007159022808074951, | |
0.007148462772369385, | |
0.007138062953948974, | |
0.007123982906341553, | |
0.007088143825531006, | |
0.0070558228492736816, | |
0.006996623992919922, | |
0.00700270414352417, | |
0.006991504192352295, | |
0.006955023765563965, | |
0.00695630407333374, | |
0.006971823215484619, | |
0.00691758394241333, | |
0.00695854377746582, | |
0.00693614387512207, | |
0.006958064079284668, | |
0.006937102794647217, | |
0.006932623863220215, | |
0.006963823795318604, | |
0.006929583072662353, | |
0.007014224052429199, | |
0.007010383129119873, | |
0.006986224174499512, | |
0.006971662998199463, | |
0.006974224090576172, | |
0.007022222995758057, | |
0.015577883720397949, | |
0.0032631919384002684, | |
0.007335982799530029, | |
0.007269902229309082, | |
0.007309422969818115, | |
0.007420941829681397, | |
0.007543663024902344, | |
0.007469741821289062, | |
0.007867341995239257, | |
0.007841581821441651, | |
0.007844461917877197, | |
0.007857741832733155, | |
0.007816781997680664, | |
0.007833421230316162, | |
0.007833102226257323, | |
0.007820460796356201, | |
0.007934220790863037, | |
0.007844141960144043, | |
0.00782734203338623, | |
0.007721102237701416, | |
0.007804622173309326, | |
0.007819500923156739, | |
0.007841742038726807, | |
0.00782702112197876, | |
0.007824461936950683, | |
0.007833261966705323, | |
0.007828621864318848, | |
0.007795341968536377, | |
0.007657261848449707, | |
0.0074555020332336425, | |
0.0077491021156311036, | |
0.007515821933746338, | |
0.007215662956237793, | |
0.007099822998046875, | |
0.00691326379776001, | |
0.007063343048095703, | |
0.007367662906646729, | |
0.007246383190155029, | |
0.00738798189163208, | |
0.007361583232879639, | |
0.007354543209075927, | |
0.007278223037719727, | |
0.007254062175750732, | |
0.007011184215545654, | |
0.006866543769836426, | |
0.007093422889709473, | |
0.0068923039436340336, | |
0.006863823890686035, | |
0.007071342945098877, | |
0.006875504016876221, | |
0.006861264228820801, | |
0.00686510419845581, | |
0.006853104114532471, | |
0.006873744010925293, | |
0.0068667039871215824, | |
0.006862864017486572, | |
0.0068657431602478025, | |
0.006883024215698242, | |
0.00685374402999878, | |
0.006846704006195068, | |
0.006851823806762696, | |
0.006857264041900635, | |
0.006835982799530029, | |
0.006833903789520264, | |
0.00688430404663086, | |
0.006856304168701172, | |
0.00685422420501709, | |
0.006866064071655274, | |
0.006923503875732422, | |
0.006886864185333252, | |
0.006913262844085694, | |
0.006882863998413086, | |
0.00689134407043457, | |
0.006882703781127929, | |
0.006907022953033447, | |
0.006905263900756836, | |
0.006889584064483642, | |
0.006875504016876221, | |
0.006899182796478272, | |
0.006884463787078857, | |
0.006904463768005371, | |
0.006873104095458984, | |
0.006909742832183838, | |
0.006862864017486572, | |
0.006857583999633789, | |
0.007772461891174316, | |
0.007816940784454345, | |
0.00785790205001831, | |
0.0075907020568847655, | |
0.007255023002624512, | |
0.007236942768096923, | |
0.007077582836151123, | |
0.006967503070831299, | |
0.007822701930999756, | |
0.007809582233428955, | |
0.007841422080993652, | |
0.007803182125091553, | |
0.007815660953521729, | |
0.007837421894073486, | |
0.007826859951019288, | |
0.007570702075958252 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.19340280419283 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |