IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1724cfe
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "8ebe8531a5b12ea7926cab66905381c76b24fcc4", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1825.468416, | |
"max_global_vram": 541.278208, | |
"max_process_vram": 84454.137856, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9947522869110111, | |
"mean": 0.0059566005204252145, | |
"stdev": 0.00019818955419413124, | |
"p50": 0.005872645854949951, | |
"p90": 0.006244839000701904, | |
"p95": 0.006334103107452393, | |
"p99": 0.006590359153747559, | |
"values": [ | |
0.006718087196350098, | |
0.005902246952056885, | |
0.005788486003875732, | |
0.005758406162261963, | |
0.005793286800384522, | |
0.005738245964050293, | |
0.005763686180114746, | |
0.0057958469390869145, | |
0.005790406227111816, | |
0.005765285968780518, | |
0.0057617659568786625, | |
0.005760806083679199, | |
0.005986886978149414, | |
0.0057862458229064944, | |
0.005764966011047363, | |
0.006316165924072265, | |
0.005959366798400879, | |
0.006201286792755127, | |
0.006149927139282227, | |
0.006131686210632324, | |
0.006526728153228759, | |
0.0065310468673706054, | |
0.006414886951446533, | |
0.006129766941070557, | |
0.006068806171417237, | |
0.006096487045288086, | |
0.006043527126312256, | |
0.006079205989837647, | |
0.006053126811981201, | |
0.005880486011505127, | |
0.005869447231292724, | |
0.00609024715423584, | |
0.005863686084747314, | |
0.005874567031860352, | |
0.006004325866699219, | |
0.00633808708190918, | |
0.006095366954803467, | |
0.006045766830444336, | |
0.005907845973968506, | |
0.005893446922302246, | |
0.00584096622467041, | |
0.005910566806793213, | |
0.005899846076965332, | |
0.005943047046661377, | |
0.005873445987701416, | |
0.005875846862792969, | |
0.0059660859107971195, | |
0.005936966896057129, | |
0.005900805950164795, | |
0.005896327018737793, | |
0.005857126235961914, | |
0.00587680721282959, | |
0.005857126235961914, | |
0.006088966846466064, | |
0.005806245803833008, | |
0.005861607074737549, | |
0.006007366180419922, | |
0.0058459267616271975, | |
0.005840005874633789, | |
0.005861287117004395, | |
0.0058664059638977055, | |
0.005863686084747314, | |
0.005817446231842041, | |
0.00583504581451416, | |
0.0057739272117614746, | |
0.005818245887756347, | |
0.005798086166381836, | |
0.005823525905609131, | |
0.00582512617111206, | |
0.005790727138519287, | |
0.005831366062164307, | |
0.005781606197357177, | |
0.005806886196136475, | |
0.005814085960388184, | |
0.00583424711227417, | |
0.005804965972900391, | |
0.00578368616104126, | |
0.005967367172241211, | |
0.005821765899658203, | |
0.005842086791992188, | |
0.0058259258270263676, | |
0.005827527046203613, | |
0.00581376600265503, | |
0.005809445858001709, | |
0.005841445922851562, | |
0.005847685813903809, | |
0.0057977671623229985, | |
0.005836006164550781, | |
0.005835046768188476, | |
0.005831046104431152, | |
0.005833126068115234, | |
0.0058478469848632815, | |
0.00579680585861206, | |
0.0057977671623229985, | |
0.005832645893096924, | |
0.00578752613067627, | |
0.005818407058715821, | |
0.0058052859306335445, | |
0.005796327114105225, | |
0.0057784061431884765, | |
0.006446247100830078, | |
0.006275687217712402, | |
0.006244327068328857, | |
0.006093926906585693, | |
0.006227847099304199, | |
0.006147525787353516, | |
0.006245606899261474, | |
0.0061897668838500975, | |
0.006147686958312988, | |
0.006234726905822754, | |
0.006324807167053223, | |
0.0066014471054077145, | |
0.006584647178649902, | |
0.006553287029266357, | |
0.006322725772857666, | |
0.006113767147064209, | |
0.00627696704864502, | |
0.006162726879119873, | |
0.006184007167816162, | |
0.006198727130889893, | |
0.006107845783233643, | |
0.0062980871200561525, | |
0.006040166854858398, | |
0.00628128719329834, | |
0.006111365795135498, | |
0.005945606231689453, | |
0.005872645854949951, | |
0.005871525764465332, | |
0.005889286041259765, | |
0.005843367099761963, | |
0.0058404860496521, | |
0.005848007202148437, | |
0.005856805801391601, | |
0.006194726943969726, | |
0.005880325794219971, | |
0.005871685981750488, | |
0.005835845947265625, | |
0.0059052867889404295, | |
0.005935686111450195, | |
0.005869767189025879, | |
0.005891366004943848, | |
0.005850727081298828, | |
0.0058854460716247555, | |
0.0058411269187927245, | |
0.0058542461395263675, | |
0.00587520694732666, | |
0.005838726043701172, | |
0.005880806922912598, | |
0.005833126068115234, | |
0.005839526176452637, | |
0.005874406814575195, | |
0.005878726005554199, | |
0.0058814468383789065, | |
0.005865446090698242, | |
0.005873287200927734, | |
0.0058475260734558105, | |
0.00586752700805664, | |
0.005843845844268799, | |
0.005858407020568847, | |
0.0058404860496521, | |
0.006086566925048828, | |
0.0058969659805297855, | |
0.005898726940155029, | |
0.005854085922241211, | |
0.005894246101379394, | |
0.0058664059638977055, | |
0.00591120719909668 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.8809912753079 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |