IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e61fe2d
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": "693db979e9b302426a0eee51d54cc298ad108515", | |
"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.777856, | |
"max_global_vram": 2695.74144, | |
"max_process_vram": 51789.217792, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.18118017578125, | |
"mean": 8.18118017578125, | |
"stdev": 0.0, | |
"p50": 8.18118017578125, | |
"p90": 8.18118017578125, | |
"p95": 8.18118017578125, | |
"p99": 8.18118017578125, | |
"values": [ | |
8.18118017578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1841.917952, | |
"max_global_vram": 2807.099392, | |
"max_process_vram": 308864.045056, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9974690790176395, | |
"mean": 0.008382093100988565, | |
"stdev": 0.00034001967894093873, | |
"p50": 0.008275981903076171, | |
"p90": 0.008728845977783202, | |
"p95": 0.008880110263824462, | |
"p99": 0.00899131851196289, | |
"values": [ | |
0.008761900901794434, | |
0.008645101547241211, | |
0.00882766056060791, | |
0.008923340797424316, | |
0.008948941230773926, | |
0.00900062084197998, | |
0.008943181037902832, | |
0.008875982284545898, | |
0.008917262077331543, | |
0.008875822067260742, | |
0.008793102264404298, | |
0.008747020721435546, | |
0.008675501823425294, | |
0.008724302291870116, | |
0.008687021255493164, | |
0.008589901924133302, | |
0.008584622383117677, | |
0.008547660827636718, | |
0.008585741996765137, | |
0.008578222274780273, | |
0.011379175186157227, | |
0.008583822250366212, | |
0.008262541770935059, | |
0.008160463333129883, | |
0.008253902435302734, | |
0.008228302955627442, | |
0.00824878215789795, | |
0.008214062690734863, | |
0.008234702110290527, | |
0.008225422859191894, | |
0.008256301879882813, | |
0.008273582458496093, | |
0.008263822555541991, | |
0.008270381927490234, | |
0.008271182060241699, | |
0.008333263397216796, | |
0.008267823219299317, | |
0.008331822395324708, | |
0.008359981536865234, | |
0.008254062652587891, | |
0.008221583366394043, | |
0.008224461555480957, | |
0.008222223281860352, | |
0.008237901687622071, | |
0.008248943328857422, | |
0.008357422828674316, | |
0.008334221839904786, | |
0.00825534152984619, | |
0.008248303413391113, | |
0.008236942291259765, | |
0.008270861625671387, | |
0.008296463012695312, | |
0.008245262145996093, | |
0.00831038188934326, | |
0.008267502784729003, | |
0.008248942375183105, | |
0.008272143363952636, | |
0.008237262725830079, | |
0.008263821601867677, | |
0.008282543182373047, | |
0.008291181564331054, | |
0.008387661933898926, | |
0.008264621734619141, | |
0.008362382888793944, | |
0.00824430274963379, | |
0.008293261528015137, | |
0.008304943084716796, | |
0.00832606315612793, | |
0.008321102142333985, | |
0.00833614158630371, | |
0.008355181694030761, | |
0.008251502990722656, | |
0.008311821937561035, | |
0.008246702194213867, | |
0.008303023338317872, | |
0.008319022178649903, | |
0.008235021591186524, | |
0.008212943077087403, | |
0.008342061996459961, | |
0.008201421737670899, | |
0.008309263229370117, | |
0.008319501876831054, | |
0.008226861953735351, | |
0.008347502708435059, | |
0.008316302299499511, | |
0.008292621612548828, | |
0.008284941673278808, | |
0.008319663047790528, | |
0.008255022048950195, | |
0.008264781951904297, | |
0.008269742965698242, | |
0.008271021842956543, | |
0.008199982643127442, | |
0.008163822174072266, | |
0.00837806224822998, | |
0.008249102592468261, | |
0.008285902023315429, | |
0.008238061904907227, | |
0.008286063194274901, | |
0.008218381881713867, | |
0.008300942420959473, | |
0.008307183265686035, | |
0.008329261779785156, | |
0.008275981903076171, | |
0.008169101715087891, | |
0.008275182723999023, | |
0.00836606216430664, | |
0.008260461807250976, | |
0.00813934326171875, | |
0.008157102584838868, | |
0.008274382591247558, | |
0.008250221252441407, | |
0.008222702980041505, | |
0.008332462310791015, | |
0.008296462059020996, | |
0.008243183135986328, | |
0.008206381797790527, | |
0.008219343185424804, | |
0.008247502326965332 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.30194379278157 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |