IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f2ce244
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": "6", | |
"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": 1117.876224, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46398.660608, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.6109130859375, | |
"mean": 8.6109130859375, | |
"stdev": 0.0, | |
"p50": 8.6109130859375, | |
"p90": 8.6109130859375, | |
"p95": 8.6109130859375, | |
"p99": 8.6109130859375, | |
"values": [ | |
8.6109130859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.253824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 100758.790144, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9961524138450625, | |
"mean": 0.007969219310760499, | |
"stdev": 0.0010208102882178368, | |
"p50": 0.007876978874206544, | |
"p90": 0.008193395233154297, | |
"p95": 0.00832280330657959, | |
"p99": 0.00934879058837891, | |
"values": [ | |
0.008325139045715331, | |
0.008301779747009278, | |
0.008400179862976075, | |
0.008548660278320313, | |
0.008501620292663574, | |
0.008357460021972657, | |
0.017560680389404296, | |
0.002329925060272217, | |
0.007086737155914307, | |
0.008247540473937989, | |
0.008213459014892578, | |
0.008213298797607422, | |
0.00816353988647461, | |
0.00808385944366455, | |
0.008089778900146484, | |
0.008029458999633789, | |
0.008029298782348633, | |
0.008060178756713866, | |
0.008053778648376465, | |
0.008068339347839355, | |
0.008044018745422363, | |
0.008044339179992676, | |
0.008026259422302246, | |
0.00798961877822876, | |
0.008023859024047852, | |
0.008063858985900878, | |
0.007715377807617187, | |
0.007735057830810547, | |
0.009601463317871093, | |
0.008102579116821289, | |
0.007879058837890624, | |
0.007858417987823486, | |
0.007832018852233887, | |
0.007848177909851074, | |
0.00784929895401001, | |
0.007855857849121094, | |
0.00784705877304077, | |
0.00783201789855957, | |
0.007824498176574707, | |
0.007815698146820068, | |
0.0078083381652832035, | |
0.007807858943939209, | |
0.00782161808013916, | |
0.007804178237915039, | |
0.007800178050994873, | |
0.007824657917022705, | |
0.007811378955841064, | |
0.007828338146209717, | |
0.007822258949279785, | |
0.007808177947998047, | |
0.008313460350036621, | |
0.007907217979431152, | |
0.007846898078918457, | |
0.007888339042663573, | |
0.007865138053894043, | |
0.007881459236145019, | |
0.007872657775878906, | |
0.00790065908432007, | |
0.007889298915863038, | |
0.007845938205718994, | |
0.007875858783721924, | |
0.007861618041992188, | |
0.007878579139709473, | |
0.007961298942565918, | |
0.007881457805633546, | |
0.007874098777770996, | |
0.007902577877044677, | |
0.007879377841949463, | |
0.007873458862304688, | |
0.007850257873535157, | |
0.007882099151611328, | |
0.007864657878875733, | |
0.007863859176635742, | |
0.00786145782470703, | |
0.007860497951507568, | |
0.007863379001617432, | |
0.007858098030090332, | |
0.007853939056396484, | |
0.00788113784790039, | |
0.007882258892059325, | |
0.007882098197937011, | |
0.007831697940826415, | |
0.007843378067016602, | |
0.007840017795562744, | |
0.00784129810333252, | |
0.007854897975921631, | |
0.007827538013458252, | |
0.007834897994995118, | |
0.007840017795562744, | |
0.007835058212280274, | |
0.007860979080200196, | |
0.00782865810394287, | |
0.007844658851623535, | |
0.007828497886657714, | |
0.007815537929534912, | |
0.007818257808685303, | |
0.008266578674316407, | |
0.007872337818145753, | |
0.007876978874206544, | |
0.007887378215789794, | |
0.007918738842010498, | |
0.007914898872375488, | |
0.007888338088989259, | |
0.007893939018249512, | |
0.007864978790283203, | |
0.007900338172912597, | |
0.007875857830047607, | |
0.007936978816986084, | |
0.007884178161621094, | |
0.007889298915863038, | |
0.007912659168243408, | |
0.008131379127502442, | |
0.007879538059234619, | |
0.00783745813369751, | |
0.007953938961029052, | |
0.00792801809310913, | |
0.007878258228302001, | |
0.007889779090881347, | |
0.007900658130645753, | |
0.00785745906829834, | |
0.007887537956237794, | |
0.007868817806243896, | |
0.007873619079589844, | |
0.00788609790802002, | |
0.007857618808746338 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.48280590668931 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |