IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e40aa72
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_type": "resnet50", | |
"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": "73dd36ea04ff1cc8259f4039b6f9d56dfb9eecd1", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 1833.816064, | |
"max_global_vram": 541.47072, | |
"max_process_vram": 74176.135168, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9985910696983339, | |
"mean": 0.007342581394840689, | |
"stdev": 0.0004870811773461239, | |
"p50": 0.00710188603401184, | |
"p90": 0.008029321670532226, | |
"p95": 0.008292359828948975, | |
"p99": 0.008414792251586914, | |
"values": [ | |
0.008135320663452149, | |
0.008335960388183595, | |
0.00839836025238037, | |
0.008423640251159667, | |
0.008354840278625488, | |
0.008335800170898437, | |
0.00823036003112793, | |
0.008229081153869628, | |
0.008208600044250489, | |
0.008340760231018067, | |
0.009438195228576661, | |
0.008277879714965821, | |
0.007989242076873779, | |
0.00800188159942627, | |
0.008005882263183594, | |
0.008034360885620118, | |
0.008009242057800294, | |
0.008022842407226562, | |
0.008024282455444336, | |
0.008012441635131836, | |
0.007993082046508788, | |
0.007996601104736328, | |
0.008023962020874024, | |
0.007981400966644287, | |
0.007979641914367676, | |
0.007974681854248046, | |
0.007235805034637451, | |
0.007109886169433594, | |
0.0070913262367248535, | |
0.0071297259330749515, | |
0.007097085952758789, | |
0.007104926109313965, | |
0.007114205837249756, | |
0.00711836576461792, | |
0.007109245777130127, | |
0.007092286109924317, | |
0.007160445213317871, | |
0.007102365970611572, | |
0.0071180458068847655, | |
0.0071247658729553225, | |
0.0070892457962036136, | |
0.007104286193847656, | |
0.007138686180114746, | |
0.007101406097412109, | |
0.007099165916442871, | |
0.007119006156921387, | |
0.007123805999755859, | |
0.007122526168823242, | |
0.007836283206939697, | |
0.008109561920166016, | |
0.007051806926727295, | |
0.0070255670547485355, | |
0.007007006168365478, | |
0.007024765968322754, | |
0.00702044677734375, | |
0.0069914860725402836, | |
0.007190526008605957, | |
0.0070169267654418945, | |
0.006991645812988281, | |
0.007016127109527588, | |
0.007026846885681152, | |
0.006988605976104736, | |
0.006997087001800537, | |
0.00701404619216919, | |
0.006959967136383057, | |
0.006998046875, | |
0.007030846118927002, | |
0.0069834871292114254, | |
0.007009727001190185, | |
0.006998045921325684, | |
0.008009242057800294, | |
0.00794668197631836, | |
0.007915802001953125, | |
0.00792412281036377, | |
0.007982361793518066, | |
0.007750523090362549, | |
0.007507803916931152, | |
0.007494843959808349, | |
0.007551484107971192, | |
0.007422043800354004, | |
0.007466043949127197, | |
0.007402685165405274, | |
0.0073231649398803715, | |
0.006947486877441406, | |
0.007045886039733887, | |
0.0070185260772705075, | |
0.0070372471809387206, | |
0.006998046875, | |
0.007045405864715576, | |
0.007021885871887207, | |
0.0070310068130493165, | |
0.007005405902862549, | |
0.007208284854888916, | |
0.0069742069244384764, | |
0.007023486137390136, | |
0.00696524715423584, | |
0.007328444004058838, | |
0.007147165775299072, | |
0.007022846221923828, | |
0.0070212469100952146, | |
0.007038207054138184, | |
0.007002845764160156, | |
0.007196286201477051, | |
0.007003167152404785, | |
0.0069711670875549315, | |
0.006974686145782471, | |
0.006984127044677734, | |
0.006967485904693604, | |
0.006997087001800537, | |
0.006976447105407715, | |
0.006973247051239014, | |
0.006960607051849365, | |
0.006993406772613525, | |
0.006950847148895264, | |
0.007074366092681885, | |
0.006999007225036621, | |
0.006952126979827881, | |
0.00694892692565918, | |
0.006962525844573975, | |
0.007067805767059327, | |
0.006987486839294434, | |
0.0069561262130737305, | |
0.006959647178649902, | |
0.0072260451316833495, | |
0.007007806777954101, | |
0.006962847232818603, | |
0.007032125949859619, | |
0.006963006973266602, | |
0.007010526180267334, | |
0.007052445888519287, | |
0.007437563896179199, | |
0.007291804790496826, | |
0.0072401251792907715, | |
0.007134205818176269, | |
0.007038207054138184, | |
0.007104286193847656 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.19188487343925 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |