{ "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_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": 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.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 788.881408, "max_global_vram": 688.390144, "max_process_vram": 0.0, "max_reserved": 123.731968, "max_allocated": 102.475264 }, "latency": { "unit": "s", "count": 1, "total": 7.47190869140625, "mean": 7.47190869140625, "stdev": 0.0, "p50": 7.47190869140625, "p90": 7.47190869140625, "p95": 7.47190869140625, "p99": 7.47190869140625, "values": [ 7.47190869140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.3760788109567435e-06, "ram": 2.382682872770753e-06, "gpu": 5.1411152240000025e-06, "total": 1.1899876907727498e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 976.91648, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 245.323264 }, "latency": { "unit": "s", "count": 147, "total": 0.9993358702659605, "mean": 0.006798203199088168, "stdev": 0.00027741414179504513, "p50": 0.00672870397567749, "p90": 0.00713871374130249, "p95": 0.007242956781387329, "p99": 0.007877058544158932, "values": [ 0.0072765440940856935, 0.007247871875762939, 0.007231488227844239, 0.007139328002929687, 0.007194623947143554, 0.00719974422454834, 0.007163904190063477, 0.00733081579208374, 0.006755328178405762, 0.006791168212890625, 0.006843391895294189, 0.006709248065948486, 0.006695903778076172, 0.006685696125030518, 0.006714367866516113, 0.006780928134918213, 0.006852608203887939, 0.00682700777053833, 0.006791168212890625, 0.006909952163696289, 0.006708223819732666, 0.006691840171813965, 0.0068321280479431154, 0.006846464157104492, 0.006809599876403808, 0.00672870397567749, 0.00682700777053833, 0.006767615795135498, 0.006710271835327148, 0.006837247848510742, 0.0067758078575134275, 0.006744063854217529, 0.006723584175109864, 0.006672383785247803, 0.0066375679969787596, 0.0067010560035705566, 0.006702079772949219, 0.006722559928894043, 0.006707200050354004, 0.006763519763946534, 0.006815743923187256, 0.006821887969970703, 0.006851583957672119, 0.006832096099853515, 0.006848512172698974, 0.006717440128326416, 0.006746111869812011, 0.006813695907592773, 0.006754303932189941, 0.006796288013458252, 0.006797311782836914, 0.00674508810043335, 0.006688767910003662, 0.006760447978973389, 0.006699007987976074, 0.007031807899475098, 0.0068853759765625, 0.006737919807434082, 0.006687744140625, 0.006756351947784424, 0.006718463897705078, 0.006688767910003662, 0.006788095951080322, 0.0068321280479431154, 0.006846464157104492, 0.006862847805023193, 0.007535679817199707, 0.007061503887176514, 0.007590911865234375, 0.007157760143280029, 0.00709939193725586, 0.007188479900360107, 0.006999040126800537, 0.007138304233551026, 0.007044095993041993, 0.006971392154693603, 0.007004159927368164, 0.006937632083892822, 0.0070860800743103025, 0.006790143966674805, 0.006718463897705078, 0.006760447978973389, 0.006737919807434082, 0.006860799789428711, 0.007020544052124023, 0.0070267200469970705, 0.006974463939666748, 0.007122943878173828, 0.007635968208312988, 0.00808243179321289, 0.00819916820526123, 0.007024640083312988, 0.006709248065948486, 0.006747136116027832, 0.006723584175109864, 0.0066119680404663084, 0.006614016056060791, 0.0067338237762451176, 0.006707200050354004, 0.006635519981384277, 0.006684607982635498, 0.006633471965789795, 0.006503424167633057, 0.006402048110961914, 0.006415359973907471, 0.006296576023101807, 0.0063385281562805176, 0.006459392070770263, 0.0066938881874084475, 0.006681600093841553, 0.0067041277885437015, 0.006689792156219483, 0.006646783828735352, 0.006667263984680176, 0.006710207939147949, 0.00667852783203125, 0.00667852783203125, 0.006669312000274658, 0.006595583915710449, 0.0065905280113220215, 0.00653004789352417, 0.0065433278083801266, 0.006549503803253174, 0.006643712043762207, 0.0066007041931152345, 0.006509568214416504, 0.0065474557876586915, 0.006624256134033203, 0.006534143924713135, 0.0065474557876586915, 0.00642252779006958, 0.006289408206939697, 0.006341631889343262, 0.006519807815551758, 0.0066938881874084475, 0.006650879859924317, 0.006619135856628418, 0.006593535900115967, 0.006765567779541016, 0.006675456047058105, 0.006636544227600098, 0.006694911956787109, 0.006624256134033203, 0.006656000137329102, 0.006651904106140137, 0.0066304001808166506, 0.0066744318008422855 ] }, "throughput": { "unit": "samples/s", "value": 147.09769195103323 }, "energy": { "unit": "kWh", "cpu": 7.834820327354453e-08, "ram": 4.283572935274075e-08, "gpu": 1.7542594443421107e-07, "total": 2.9660987706049635e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3371431.8953580926 } } } }