IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3a56a92
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "a4519acdcbbeba6e03efbda65aae011ed2a194fb", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.867968, | |
"max_global_vram": 409.124864, | |
"max_process_vram": 42901.848064, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.99238525390625, | |
"mean": 6.99238525390625, | |
"stdev": 0.0, | |
"p50": 6.99238525390625, | |
"p90": 6.99238525390625, | |
"p95": 6.99238525390625, | |
"p99": 6.99238525390625, | |
"values": [ | |
6.99238525390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.873408, | |
"max_global_vram": 520.507392, | |
"max_process_vram": 243473.580032, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.0014131488800044, | |
"mean": 0.006954257978333368, | |
"stdev": 9.155148522724568e-05, | |
"p50": 0.006929879903793335, | |
"p90": 0.007031416940689088, | |
"p95": 0.00718925712108612, | |
"p99": 0.007268457927703857, | |
"values": [ | |
0.007172041893005371, | |
0.007152521133422852, | |
0.007273962020874023, | |
0.0072309222221374515, | |
0.007261161804199219, | |
0.007184360980987549, | |
0.007176842212677002, | |
0.007025321006774902, | |
0.0070201997756958005, | |
0.006877638816833496, | |
0.00695028018951416, | |
0.006884039878845215, | |
0.00695028018951416, | |
0.006932360172271728, | |
0.006918920040130615, | |
0.006958920001983643, | |
0.00695412015914917, | |
0.006968841075897216, | |
0.006947559833526611, | |
0.006923079967498779, | |
0.006974761009216309, | |
0.006912199974060058, | |
0.006926760196685791, | |
0.006954599857330322, | |
0.006902278900146485, | |
0.006933800220489502, | |
0.006907400131225586, | |
0.0069328398704528804, | |
0.006909319877624512, | |
0.006879559993743897, | |
0.006912519931793213, | |
0.006915719985961914, | |
0.0069274001121520995, | |
0.006952040195465088, | |
0.006910120010375977, | |
0.006942440032958985, | |
0.006940040111541748, | |
0.006943079948425293, | |
0.006896840095520019, | |
0.0069254798889160155, | |
0.006899400234222412, | |
0.00693011999130249, | |
0.006914120197296142, | |
0.006917799949645996, | |
0.006916999816894531, | |
0.006920680046081543, | |
0.006916200160980225, | |
0.0069083600044250485, | |
0.006930759906768799, | |
0.0069987611770629884, | |
0.006923880100250244, | |
0.006916520118713379, | |
0.006919400215148926, | |
0.006906118869781494, | |
0.006931240081787109, | |
0.00693556022644043, | |
0.006961639881134033, | |
0.006940680027008057, | |
0.006921319961547851, | |
0.006920680046081543, | |
0.006925159931182861, | |
0.006908520221710205, | |
0.006963400840759277, | |
0.0069321999549865725, | |
0.006864039897918701, | |
0.0069278798103332515, | |
0.006936039924621582, | |
0.00692628002166748, | |
0.0069254798889160155, | |
0.006923079967498779, | |
0.006930439949035644, | |
0.006910120010375977, | |
0.006925960063934326, | |
0.006918439865112305, | |
0.00692579984664917, | |
0.006951560020446777, | |
0.006872039794921875, | |
0.00685699987411499, | |
0.006957479953765869, | |
0.006873640060424804, | |
0.006942759990692138, | |
0.006874598979949951, | |
0.006957321166992187, | |
0.006947720050811767, | |
0.006953000068664551, | |
0.006933159828186035, | |
0.006924359798431396, | |
0.006944039821624756, | |
0.006931879997253418, | |
0.006944520950317383, | |
0.006940519809722901, | |
0.006933320045471192, | |
0.006861800193786621, | |
0.00686467981338501, | |
0.006939239978790283, | |
0.006870600223541259, | |
0.006945000171661377, | |
0.006868680000305175, | |
0.00695780086517334, | |
0.00729540205001831, | |
0.007218441963195801, | |
0.0072205219268798825, | |
0.007139241218566895, | |
0.006998441219329834, | |
0.006944200038909912, | |
0.007189640998840332, | |
0.0072082018852233885, | |
0.007187081813812256, | |
0.007027720928192139, | |
0.006944519996643066, | |
0.007020841121673584, | |
0.007033000946044922, | |
0.006979879856109619, | |
0.006961480140686035, | |
0.007000199794769287, | |
0.006838119983673095, | |
0.00693011999130249, | |
0.006890759944915771, | |
0.006927080154418945, | |
0.006932360172271728, | |
0.006928040027618408, | |
0.0070054798126220705, | |
0.006926919937133789, | |
0.0069486799240112305, | |
0.0069200401306152345, | |
0.006909800052642822, | |
0.006915719985961914, | |
0.006908040046691894, | |
0.006860679149627686, | |
0.006816840171813965, | |
0.006836678981781006, | |
0.00693556022644043, | |
0.006851879119873047, | |
0.006933320045471192, | |
0.006913479804992676, | |
0.006921639919281006, | |
0.006905479907989502, | |
0.0069147591590881345, | |
0.00692963981628418, | |
0.00691588020324707, | |
0.006925320148468018, | |
0.006917160034179687, | |
0.006882279872894287, | |
0.006920199871063232 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.79679372200346 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |