IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7f8bffd
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": {}, | |
"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": "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": "378d8dddb2c87c406ac8d3231c1c44d5a290b874", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.347776, | |
"max_global_vram": 2970.042368, | |
"max_process_vram": 48292.999168, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.41970458984375, | |
"mean": 7.41970458984375, | |
"stdev": 0.0, | |
"p50": 7.41970458984375, | |
"p90": 7.41970458984375, | |
"p95": 7.41970458984375, | |
"p99": 7.41970458984375, | |
"values": [ | |
7.41970458984375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1830.1952, | |
"max_global_vram": 3918.979072, | |
"max_process_vram": 290532.155392, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9991893668174743, | |
"mean": 0.007569616415283896, | |
"stdev": 0.0005000957195413268, | |
"p50": 0.007543829917907715, | |
"p90": 0.008303444957733155, | |
"p95": 0.008500396299362181, | |
"p99": 0.008653511323928834, | |
"values": [ | |
0.008567188262939453, | |
0.008616948127746582, | |
0.008652628898620606, | |
0.008771187782287597, | |
0.008653907775878907, | |
0.008584467887878418, | |
0.008602389335632324, | |
0.008445748329162598, | |
0.008392788887023927, | |
0.008359667778015136, | |
0.008328628540039063, | |
0.00830142879486084, | |
0.008281108856201171, | |
0.008267348289489745, | |
0.008303668975830078, | |
0.008331028938293458, | |
0.008304628372192382, | |
0.008250389099121094, | |
0.008287508964538575, | |
0.00798590898513794, | |
0.00791374921798706, | |
0.007938389778137206, | |
0.007990549087524414, | |
0.007935029029846191, | |
0.007951028823852539, | |
0.007942228794097901, | |
0.007961430072784425, | |
0.007936308860778809, | |
0.007845108985900878, | |
0.007833270072937012, | |
0.0078526291847229, | |
0.007860468864440919, | |
0.007832630157470703, | |
0.00782910919189453, | |
0.0078027091026306155, | |
0.007812150001525879, | |
0.0077819089889526365, | |
0.007811830043792724, | |
0.007809109210968017, | |
0.007809269905090332, | |
0.007805109977722168, | |
0.007824469089508056, | |
0.007810229778289795, | |
0.007805910110473633, | |
0.00783134889602661, | |
0.007855669975280762, | |
0.00783630895614624, | |
0.007823029041290282, | |
0.00777662992477417, | |
0.007809268951416016, | |
0.007819509983062745, | |
0.007815188884735107, | |
0.007822228908538818, | |
0.007806069850921631, | |
0.0078031888008117676, | |
0.007728310108184815, | |
0.006868629932403564, | |
0.007127830982208252, | |
0.007088630199432373, | |
0.00686703109741211, | |
0.006996950149536133, | |
0.007151670932769775, | |
0.007053269863128662, | |
0.007048951148986816, | |
0.006902070045471192, | |
0.006884951114654541, | |
0.0069159908294677734, | |
0.007157751083374023, | |
0.0068892698287963865, | |
0.0068756709098815915, | |
0.0071399898529052735, | |
0.007268630981445313, | |
0.007029109954833984, | |
0.007083991050720215, | |
0.007020151138305664, | |
0.006887351036071777, | |
0.0068678297996520995, | |
0.006849911212921143, | |
0.006894071102142334, | |
0.007237750053405762, | |
0.007229109764099121, | |
0.0070388708114624025, | |
0.0073534297943115235, | |
0.0073155097961425785, | |
0.007245590209960937, | |
0.007177110195159912, | |
0.006966870784759521, | |
0.007283669948577881, | |
0.007415349960327148, | |
0.007236310005187988, | |
0.007319349765777588, | |
0.0074123101234436035, | |
0.007229750156402588, | |
0.006845911026000976, | |
0.007353270053863525, | |
0.007096630096435547, | |
0.007694550037384033, | |
0.007787508964538574, | |
0.0077993497848510744, | |
0.007846708774566651, | |
0.007807990074157715, | |
0.007779669761657715, | |
0.007849908828735352, | |
0.00781583023071289, | |
0.007643989086151123, | |
0.007525269985198975, | |
0.007382390022277832, | |
0.007562389850616455, | |
0.007364950180053711, | |
0.007212790012359619, | |
0.007403349876403809, | |
0.007120790004730225, | |
0.007085270881652832, | |
0.007372950077056885, | |
0.007249269962310791, | |
0.007319509983062744, | |
0.007114709854125977, | |
0.0074092698097229, | |
0.0073460698127746586, | |
0.006897110939025879, | |
0.007093430042266846, | |
0.00711151123046875, | |
0.006885270118713379, | |
0.0070548710823059085, | |
0.0068868699073791504, | |
0.006971991062164307, | |
0.0071230301856994626, | |
0.007113430976867676, | |
0.007242228984832764, | |
0.007454390048980713, | |
0.00738686990737915, | |
0.007137430191040039 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.10709039111796 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |