IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
edfdb2a
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", | |
"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.2.1", | |
"optimum_benchmark_commit": "dd02f26cb819965cbf86e16d9ce013cddc3b86af", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1824.858112, | |
"max_global_vram": 541.257728, | |
"max_process_vram": 86359.764992, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 169, | |
"total": 0.995019889354706, | |
"mean": 0.005887691652986425, | |
"stdev": 0.000354149274993937, | |
"p50": 0.00588416576385498, | |
"p90": 0.006380807018280029, | |
"p95": 0.006425573921203613, | |
"p99": 0.006723251857757568, | |
"values": [ | |
0.006818887233734131, | |
0.006462885856628418, | |
0.006186245918273926, | |
0.006275685787200927, | |
0.0061536068916320805, | |
0.006089446067810059, | |
0.005948326110839844, | |
0.005979206085205078, | |
0.006005125999450684, | |
0.0060376057624816895, | |
0.005963205814361572, | |
0.00592288589477539, | |
0.006137445926666259, | |
0.0059276862144470215, | |
0.006069446086883545, | |
0.006085765838623047, | |
0.005894725799560547, | |
0.006081127166748047, | |
0.005898245811462402, | |
0.005813126087188721, | |
0.0056739249229431155, | |
0.005716005802154541, | |
0.0059190459251403805, | |
0.005670566082000733, | |
0.0056744060516357425, | |
0.005657445907592773, | |
0.005913286209106445, | |
0.005809606075286865, | |
0.006072165966033935, | |
0.005942406177520752, | |
0.005650886058807373, | |
0.005974405765533447, | |
0.005691845893859863, | |
0.006126245975494385, | |
0.0057697658538818355, | |
0.005982885837554932, | |
0.006290565967559814, | |
0.005700965881347656, | |
0.006069285869598389, | |
0.005692645072937012, | |
0.0058616061210632325, | |
0.007186566829681397, | |
0.006678246974945069, | |
0.006412486076354981, | |
0.006399046897888183, | |
0.006423366069793701, | |
0.00641344690322876, | |
0.006380167007446289, | |
0.006394405841827392, | |
0.00638336706161499, | |
0.006438886165618897, | |
0.006465446949005127, | |
0.006427045822143555, | |
0.006410886764526367, | |
0.0063982467651367185, | |
0.006430086135864258, | |
0.006431046962738037, | |
0.006212965965270996, | |
0.0062315258979797365, | |
0.006288006782531739, | |
0.006232006072998047, | |
0.0062310471534729, | |
0.0062315258979797365, | |
0.006208645820617676, | |
0.0061940870285034175, | |
0.006209926128387451, | |
0.0062193660736083985, | |
0.006225606918334961, | |
0.006225766181945801, | |
0.006218886852264404, | |
0.006227365970611572, | |
0.00620896577835083, | |
0.006189287185668945, | |
0.006183206081390381, | |
0.006210886001586914, | |
0.006178246974945068, | |
0.006176325798034668, | |
0.00620672607421875, | |
0.006186246871948242, | |
0.006240965843200684, | |
0.006123685836791992, | |
0.005956806182861328, | |
0.005752965927124023, | |
0.006180487155914307, | |
0.006195045948028564, | |
0.00632848596572876, | |
0.006068326950073242, | |
0.005764325141906738, | |
0.00588416576385498, | |
0.005720486164093017, | |
0.005688645839691162, | |
0.00563520622253418, | |
0.005446885108947754, | |
0.005450885772705078, | |
0.00590544605255127, | |
0.005682566165924072, | |
0.0056958460807800294, | |
0.005873445987701416, | |
0.005692165851593017, | |
0.005522725105285645, | |
0.005528006076812744, | |
0.0054800047874450685, | |
0.005468646049499512, | |
0.005460326194763184, | |
0.005468005180358886, | |
0.005473606109619141, | |
0.0056340861320495605, | |
0.005474724769592285, | |
0.005477766036987305, | |
0.005465926170349121, | |
0.0054611248970031735, | |
0.005472005844116211, | |
0.0054556851387023925, | |
0.005479206085205078, | |
0.0054969658851623535, | |
0.005461444854736328, | |
0.005483046054840088, | |
0.005473764896392822, | |
0.005969605922698975, | |
0.006252487182617187, | |
0.006228325843811035, | |
0.0061616067886352535, | |
0.005874085903167725, | |
0.005967525959014892, | |
0.0060438461303710935, | |
0.006222725868225098, | |
0.005788005828857422, | |
0.005920005798339844, | |
0.00588416576385498, | |
0.005986085891723633, | |
0.0056622462272644045, | |
0.0058118457794189456, | |
0.005795206069946289, | |
0.005814566135406494, | |
0.0057356858253479, | |
0.005728166103363037, | |
0.005798245906829834, | |
0.005671205043792725, | |
0.00586192512512207, | |
0.00564176607131958, | |
0.005637125968933105, | |
0.005444486141204834, | |
0.005507844924926758, | |
0.005570725917816162, | |
0.0054616060256958004, | |
0.005454885005950928, | |
0.005457126140594483, | |
0.005475844860076904, | |
0.005466246128082276, | |
0.00543456506729126, | |
0.005455366134643555, | |
0.005434085845947265, | |
0.005442564964294434, | |
0.005459206104278564, | |
0.005445604801177979, | |
0.005438886165618897, | |
0.005456325054168701, | |
0.005475205898284912, | |
0.005469605922698974, | |
0.0054483251571655275, | |
0.005437925815582275, | |
0.005457604885101318, | |
0.0054468860626220705, | |
0.005464486122131348, | |
0.0054843249320983885, | |
0.005527205944061279, | |
0.005490244865417481, | |
0.005477924823760986, | |
0.005474405765533447 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 169.84585113127793 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |