{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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": 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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.0", "optimum_benchmark_commit": null, "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": 952.111104, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 184, "total": 0.9984992289543151, "mean": 0.00542662624431693, "stdev": 0.00037195598595487627, "p50": 0.005361119985580445, "p90": 0.00542535662651062, "p95": 0.0055095298290252686, "p99": 0.007548794779777526, "values": [ 0.008167424201965333, 0.007643136024475097, 0.007529471874237061, 0.007491583824157715, 0.007206912040710449, 0.005641215801239013, 0.005379072189331055, 0.005344255924224854, 0.005387263774871826, 0.0053647360801696775, 0.00535756778717041, 0.00541593599319458, 0.005411839962005615, 0.005371903896331787, 0.0053504638671875, 0.005361663818359375, 0.0053606400489807126, 0.005369855880737305, 0.005359615802764893, 0.005392384052276611, 0.005338111877441406, 0.005319680213928223, 0.005305344104766845, 0.005283840179443359, 0.005275648117065429, 0.005325823783874512, 0.005351424217224121, 0.005355519771575928, 0.0053647360801696775, 0.00535756778717041, 0.005375999927520752, 0.005355519771575928, 0.005314559936523438, 0.005355423927307129, 0.005377024173736572, 0.00532480001449585, 0.005352447986602784, 0.005393439769744873, 0.0053350400924682614, 0.0053636798858642575, 0.005347328186035156, 0.005340159893035889, 0.00535756778717041, 0.005359615802764893, 0.005339136123657226, 0.005350399971008301, 0.005375999927520752, 0.005331967830657959, 0.005349376201629639, 0.005393407821655274, 0.005352447986602784, 0.005379072189331055, 0.005369855880737305, 0.005344255924224854, 0.00551529598236084, 0.005375999927520752, 0.0053821439743042, 0.0053842558860778805, 0.005343232154846191, 0.00536678409576416, 0.00537497615814209, 0.00536678409576416, 0.005328896045684814, 0.005291007995605469, 0.005251071929931641, 0.005281792163848877, 0.005319680213928223, 0.005274623870849609, 0.005282815933227539, 0.005336063861846924, 0.00537497615814209, 0.005369855880737305, 0.00536575984954834, 0.005375999927520752, 0.005344255924224854, 0.005385216236114502, 0.005353504180908203, 0.005356544017791748, 0.005368896007537842, 0.005329919815063477, 0.005372928142547607, 0.005336063861846924, 0.005390336036682129, 0.005369855880737305, 0.005346303939819336, 0.005336063861846924, 0.005362688064575195, 0.005329919815063477, 0.005349376201629639, 0.00536678409576416, 0.005333951950073242, 0.005329919815063477, 0.005350399971008301, 0.005340159893035889, 0.005371903896331787, 0.005379072189331055, 0.005339136123657226, 0.005354464054107666, 0.005344255924224854, 0.005345280170440674, 0.00535756778717041, 0.005497856140136719, 0.005436416149139404, 0.005645311832427978, 0.005488639831542969, 0.005506048202514649, 0.0055244798660278325, 0.005476352214813233, 0.0055101442337036136, 0.005494847774505616, 0.005386240005493164, 0.005452799797058106, 0.005391359806060791, 0.005414912223815918, 0.0054271998405456545, 0.005375904083251953, 0.0053678078651428224, 0.005412864208221436, 0.005368832111358642, 0.005392416000366211, 0.005404672145843506, 0.005369855880737305, 0.005384191989898681, 0.005377024173736572, 0.005342207908630371, 0.005362688064575195, 0.005342207908630371, 0.0053441920280456546, 0.005362688064575195, 0.00535756778717041, 0.005343232154846191, 0.005350368022918701, 0.005341184139251709, 0.00535756778717041, 0.00537395191192627, 0.005352447986602784, 0.00537395191192627, 0.005384191989898681, 0.0053309440612792965, 0.0053647360801696775, 0.005362688064575195, 0.005361599922180176, 0.005349376201629639, 0.005343232154846191, 0.005248991966247558, 0.0052705278396606445, 0.005280767917633057, 0.0052787518501281735, 0.005303296089172363, 0.0053002238273620605, 0.005318655967712403, 0.005361663818359375, 0.005383200168609619, 0.005351424217224121, 0.005375999927520752, 0.00538316822052002, 0.005348351955413819, 0.005365791797637939, 0.005368832111358642, 0.005350399971008301, 0.005345280170440674, 0.005344255924224854, 0.005352447986602784, 0.005381120204925537, 0.005326848030090332, 0.005325823783874512, 0.005384191989898681, 0.005342207908630371, 0.005345280170440674, 0.005379007816314697, 0.00536575984954834, 0.00535756778717041, 0.005378047943115235, 0.005352447986602784, 0.00535859203338623, 0.005377024173736572, 0.005325823783874512, 0.005371903896331787, 0.005368832111358642, 0.005327871799468994, 0.005481472015380859, 0.005421055793762207, 0.005355519771575928, 0.005403647899627686 ] }, "throughput": { "unit": "samples/s", "value": 184.2765569210256 }, "energy": { "unit": "kWh", "cpu": 6.342947182029186e-08, "ram": 3.4678259522541204e-08, "gpu": 1.3276897133690015e-07, "total": 2.308767026797332e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4331316.189088064 } } } }