IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b3ef252
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": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1178.374144, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 6540.791808, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4579150085449219 | |
], | |
"count": 1, | |
"total": 0.4579150085449219, | |
"mean": 0.4579150085449219, | |
"p50": 0.4579150085449219, | |
"p90": 0.4579150085449219, | |
"p95": 0.4579150085449219, | |
"p99": 0.4579150085449219, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.77632, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 121210.023936, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008673254966735839, | |
0.007741898059844971, | |
0.007657738208770752, | |
0.007824457168579102, | |
0.00808509635925293, | |
0.007651497840881347, | |
0.00785133695602417, | |
0.007881577014923096, | |
0.007856297016143798, | |
0.008075656890869141, | |
0.007717096805572509, | |
0.008008457183837891, | |
0.007933577060699464, | |
0.007955337047576904, | |
0.007944777011871337, | |
0.007940776824951172, | |
0.007974536895751953, | |
0.008068937301635742, | |
0.007861416816711425, | |
0.007867496967315674, | |
0.007596618175506592, | |
0.007719497203826905, | |
0.007323019027709961, | |
0.007142539024353027, | |
0.007167658805847168, | |
0.007954377174377442, | |
0.0077162981033325195, | |
0.007927337169647216, | |
0.007651496887207032, | |
0.008155656814575194, | |
0.007793416976928711, | |
0.007757896900177002, | |
0.0077658982276916505, | |
0.007882377147674561, | |
0.008014216423034667, | |
0.007726858139038086, | |
0.007519497871398926, | |
0.007434217929840088, | |
0.007481739044189453, | |
0.007225419044494629, | |
0.007418378829956055, | |
0.007349738121032715, | |
0.007422218799591065, | |
0.0071956591606140135, | |
0.007360298156738282, | |
0.007345579147338867, | |
0.007553738117218017, | |
0.007274699211120605, | |
0.007534218788146973, | |
0.007591338157653809, | |
0.00724061918258667, | |
0.007398378849029541, | |
0.0072414188385009765, | |
0.007230538845062256, | |
0.0072218990325927735, | |
0.007496778011322021, | |
0.007503017902374267, | |
0.007532618045806885, | |
0.007544618129730224, | |
0.00755853796005249, | |
0.007560458183288574, | |
0.007369739055633545, | |
0.007487178802490235, | |
0.00760333776473999, | |
0.0074276580810546874, | |
0.007395338058471679, | |
0.007552618026733398, | |
0.007656618118286133, | |
0.007733578205108642, | |
0.007535337924957275, | |
0.007603658199310303, | |
0.007552298069000244, | |
0.007564777851104736, | |
0.007513419151306152, | |
0.007594697952270508, | |
0.007348938941955567, | |
0.007368779182434082, | |
0.0071319789886474605, | |
0.007149899005889892, | |
0.007165258884429932, | |
0.007168458938598633, | |
0.007191499233245849, | |
0.007202538967132568, | |
0.0073998188972473145, | |
0.007177099227905274, | |
0.007170538902282714, | |
0.007367979049682618, | |
0.007403018951416015, | |
0.007455818176269531, | |
0.0074114990234375, | |
0.007211658954620361, | |
0.00719645881652832, | |
0.007203178882598877, | |
0.0074079780578613285, | |
0.007203818798065186, | |
0.007845097064971924, | |
0.007351338863372803, | |
0.007220298767089844, | |
0.00724445915222168, | |
0.007208138942718506, | |
0.00721277904510498, | |
0.007217419147491455, | |
0.007228138923645019, | |
0.007203818798065186, | |
0.007196619033813477, | |
0.007227818965911865, | |
0.007253579139709473, | |
0.007256938934326172, | |
0.007258859157562256, | |
0.007215498924255371, | |
0.007207018852233887, | |
0.007203498840332031, | |
0.00723901891708374, | |
0.007210538864135742, | |
0.0072138991355896, | |
0.007216779232025147, | |
0.007193899154663086, | |
0.007199338912963867, | |
0.007219499111175537, | |
0.007212938785552979, | |
0.007187499046325684, | |
0.007176299095153809, | |
0.007209098815917968, | |
0.007203818798065186, | |
0.007211338996887207, | |
0.007179978847503662, | |
0.007176619052886963, | |
0.007174058914184571, | |
0.007200139045715332, | |
0.007218539237976074, | |
0.00722317886352539, | |
0.0071985387802124025, | |
0.007211818218231201, | |
0.007211978912353516 | |
], | |
"count": 134, | |
"total": 1.0000686163902284, | |
"mean": 0.0074631986297778235, | |
"p50": 0.007382538557052612, | |
"p90": 0.00791384916305542, | |
"p95": 0.00798640899658203, | |
"p99": 0.008132371864318847, | |
"stdev": 0.0002943124363334606, | |
"stdev_": 3.943516057031731 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.99080603456613 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |