{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "model": "timm/resnet50.a1_in1k", "library": "timm", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": null, "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 951.27552, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 178, "total": 0.99708611536026, "mean": 0.005601607389664381, "stdev": 0.00020456756707885312, "p50": 0.005658112049102783, "p90": 0.0058541632652282715, "p95": 0.005878575992584229, "p99": 0.005959890947341919, "values": [ 0.006119423866271972, 0.005855231761932373, 0.005959648132324219, 0.005856256008148194, 0.005923840045928955, 0.005895167827606201, 0.005866496086120605, 0.005896192073822021, 0.005912576198577881, 0.005863423824310303, 0.005912576198577881, 0.005836800098419189, 0.005857279777526855, 0.005785600185394287, 0.005795839786529541, 0.005776383876800537, 0.005509119987487793, 0.005569536209106446, 0.005600255966186523, 0.00571289587020874, 0.005702655792236328, 0.00573747205734253, 0.005830656051635743, 0.005863423824310303, 0.005831679821014404, 0.005854144096374512, 0.005755904197692871, 0.005724160194396972, 0.005690368175506591, 0.005756896018981933, 0.005864448070526123, 0.005764095783233642, 0.0059023361206054685, 0.005788671970367432, 0.005826560020446778, 0.005753856182098388, 0.005713920116424561, 0.005760000228881836, 0.0057292799949646, 0.005844992160797119, 0.005798912048339844, 0.0057712640762329105, 0.005650432109832764, 0.005609471797943116, 0.005596159934997558, 0.005684224128723145, 0.005709824085235596, 0.005612544059753418, 0.005675007820129394, 0.0057374401092529295, 0.005723135948181152, 0.005803008079528809, 0.005875648021697998, 0.005811200141906738, 0.005804031848907471, 0.005835775852203369, 0.005803008079528809, 0.005823488235473633, 0.005716991901397705, 0.005724160194396972, 0.005775360107421875, 0.005834815979003906, 0.005757952213287353, 0.005734399795532226, 0.005738560199737549, 0.0057190399169921875, 0.005634047985076904, 0.005660672187805176, 0.005753856182098388, 0.005696512222290039, 0.005695487976074219, 0.0058122239112854005, 0.005811200141906738, 0.005673984050750733, 0.0056483840942382815, 0.005696512222290039, 0.005685215950012207, 0.005773312091827393, 0.005733376026153565, 0.00570681619644165, 0.00566476821899414, 0.005705728054046631, 0.005718016147613526, 0.005783552169799804, 0.005854207992553711, 0.005816319942474365, 0.005791744232177734, 0.00582144021987915, 0.005960703849792481, 0.005753856182098388, 0.005788735866546631, 0.005745632171630859, 0.005611519813537597, 0.005758975982666016, 0.005695487976074219, 0.005618688106536865, 0.005583871841430664, 0.005417984008789062, 0.005483520030975342, 0.005641215801239013, 0.005675007820129394, 0.005429247856140137, 0.005372928142547607, 0.005417984008789062, 0.005370880126953125, 0.0053944320678710935, 0.005496831893920898, 0.005594048023223877, 0.005661695957183838, 0.005569536209106446, 0.005645311832427978, 0.005742591857910156, 0.005832704067230224, 0.0056555519104003905, 0.005475327968597412, 0.005450751781463623, 0.0053534722328186036, 0.005433343887329102, 0.005445631980895996, 0.005370880126953125, 0.005397439956665039, 0.005404704093933106, 0.0053637118339538575, 0.005351424217224121, 0.005401599884033203, 0.005392384052276611, 0.005354496002197265, 0.005410816192626953, 0.005372928142547607, 0.005335103988647461, 0.005325823783874512, 0.0054241280555725096, 0.005348351955413819, 0.005322751998901368, 0.005343167781829834, 0.00536575984954834, 0.005323775768280029, 0.005337088108062744, 0.005399551868438721, 0.0053350400924682614, 0.005349376201629639, 0.005341184139251709, 0.005345280170440674, 0.005345280170440674, 0.005346303939819336, 0.0053298878669738765, 0.005331967830657959, 0.005369855880737305, 0.0053309440612792965, 0.005349376201629639, 0.00535756778717041, 0.005370880126953125, 0.005337088108062744, 0.005391359806060791, 0.005347328186035156, 0.005339136123657226, 0.005371903896331787, 0.005345280170440674, 0.005322751998901368, 0.005412864208221436, 0.005336063861846924, 0.00535859203338623, 0.0053257918357849125, 0.005429247856140137, 0.005368832111358642, 0.00537497615814209, 0.005351424217224121, 0.0053842558860778805, 0.005361663818359375, 0.005343264102935791, 0.005401535987854004, 0.005337088108062744, 0.00537497615814209, 0.005395455837249756, 0.0053658242225646975, 0.005350399971008301, 0.005369855880737305, 0.005399551868438721 ] }, "throughput": { "unit": "samples/s", "value": 178.52018723145727 }, "energy": { "unit": "kWh", "cpu": 6.284749574481845e-08, "ram": 3.433324449043351e-08, "gpu": 1.2887282502645365e-07, "total": 2.2605356526170563e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4423730.273142495 } } } }