IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1faf681
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", | |
"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.2.0", | |
"optimum_benchmark_commit": "b92e3e6e00670fa1351d9aef1be896254e5f33e0", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1817.636864, | |
"max_global_vram": 1521.651712, | |
"max_process_vram": 117672.849408, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9970537958145137, | |
"mean": 0.00635066111983767, | |
"stdev": 0.00016846376007352332, | |
"p50": 0.006293613910675049, | |
"p90": 0.00650257453918457, | |
"p95": 0.006554062366485595, | |
"p99": 0.006626703052520752, | |
"values": [ | |
0.006424814224243164, | |
0.006426414012908935, | |
0.006370094776153565, | |
0.0063398537635803226, | |
0.006503533840179443, | |
0.00654945421218872, | |
0.006572494983673096, | |
0.006610095024108887, | |
0.00662353515625, | |
0.006599695205688477, | |
0.0065990548133850096, | |
0.006593295097351074, | |
0.006539215087890625, | |
0.006547854900360107, | |
0.006506414890289307, | |
0.006531215190887451, | |
0.006532654762268066, | |
0.006492815017700195, | |
0.006501935005187988, | |
0.006422894954681397, | |
0.006434093952178955, | |
0.006429934978485107, | |
0.0064094548225402835, | |
0.006422735214233398, | |
0.006470254898071289, | |
0.006451054096221924, | |
0.006423853874206543, | |
0.006464654922485351, | |
0.0064139351844787595, | |
0.006414255142211914, | |
0.006380494117736816, | |
0.006395534992218017, | |
0.006372495174407959, | |
0.006383853912353516, | |
0.00642289400100708, | |
0.006473295211791992, | |
0.006467695236206055, | |
0.006437294960021973, | |
0.006419694900512695, | |
0.006443213939666748, | |
0.006355854988098144, | |
0.006417933940887451, | |
0.006419855117797852, | |
0.008078259468078613, | |
0.006630734920501709, | |
0.006296013832092285, | |
0.006293613910675049, | |
0.006259533882141113, | |
0.006287215232849121, | |
0.006267054080963135, | |
0.00627809476852417, | |
0.006274573802947998, | |
0.006283854961395264, | |
0.0062708940505981445, | |
0.006262094020843506, | |
0.006259054183959961, | |
0.006265933990478516, | |
0.006256814956665039, | |
0.006272334098815918, | |
0.0062544140815734865, | |
0.00627489423751831, | |
0.006251373767852783, | |
0.0062742547988891605, | |
0.0062880139350891115, | |
0.006283854961395264, | |
0.006320653915405273, | |
0.006267535209655762, | |
0.006256013870239258, | |
0.006234253883361816, | |
0.006271853923797608, | |
0.006255534172058106, | |
0.006267535209655762, | |
0.006337934017181397, | |
0.006336174964904785, | |
0.006329294204711914, | |
0.006292974948883057, | |
0.0062691340446472165, | |
0.006274415016174316, | |
0.006282094001770019, | |
0.006291854858398438, | |
0.006276013851165771, | |
0.00633265495300293, | |
0.006308653831481934, | |
0.0062785749435424806, | |
0.0063168139457702634, | |
0.006270734786987304, | |
0.006293774127960205, | |
0.006276655197143555, | |
0.0062812938690185545, | |
0.00629057502746582, | |
0.006264974117279052, | |
0.006296494007110596, | |
0.006239695072174072, | |
0.0062617740631103515, | |
0.006308014869689941, | |
0.006264813899993896, | |
0.006269935131072998, | |
0.006252974033355713, | |
0.006294253826141357, | |
0.006293135166168213, | |
0.006269614219665528, | |
0.0062945752143859866, | |
0.006285294055938721, | |
0.00634081506729126, | |
0.006253294944763184, | |
0.006288973808288574, | |
0.006345775127410889, | |
0.006432974815368652, | |
0.006284334182739258, | |
0.006239853858947754, | |
0.0065043349266052245, | |
0.00631681489944458, | |
0.0062971339225769045, | |
0.00631729507446289, | |
0.006289293766021728, | |
0.006280334949493408, | |
0.0062812938690185545, | |
0.006255054950714111, | |
0.0062763338088989255, | |
0.006355374813079834, | |
0.006331533908843994, | |
0.006385455131530762, | |
0.006321615219116211, | |
0.006279853820800782, | |
0.006256494045257568, | |
0.006363053798675537, | |
0.006257934093475342, | |
0.006287693977355957, | |
0.006274573802947998, | |
0.006229615211486817, | |
0.0062806539535522465, | |
0.0062321748733520504, | |
0.006291374206542969, | |
0.006278093814849854, | |
0.006274253845214844, | |
0.006291533946990967, | |
0.006268014907836914, | |
0.006346414089202881, | |
0.006280815124511719, | |
0.006297453880310059, | |
0.006276494979858398, | |
0.006264013767242432, | |
0.006308014869689941, | |
0.006274253845214844, | |
0.006275215148925781, | |
0.0062689738273620605, | |
0.006293614864349365, | |
0.006293134212493896, | |
0.006265453815460205, | |
0.006325133800506592, | |
0.006330093860626221, | |
0.006347214221954346, | |
0.006275215148925781, | |
0.006252173900604248, | |
0.006269614219665528, | |
0.0062689738273620605, | |
0.006295214176177979 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.46392086270873 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |