{ "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": {}, "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.285632, "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": { "forward": { "memory": { "unit": "MB", "max_ram": 963.989504, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 153, "total": 1.001695168018341, "mean": 0.006547027241949941, "stdev": 0.00015746415198181492, "p50": 0.006495232105255127, "p90": 0.006720921707153321, "p95": 0.006845440101623536, "p99": 0.007063347339630126, "values": [ 0.007358463764190673, 0.007058432102203369, 0.007041024208068848, 0.0069283838272094726, 0.006953983783721924, 0.006900735855102539, 0.006897664070129395, 0.006650879859924317, 0.006583295822143555, 0.006527999877929688, 0.00658022403717041, 0.006730751991271973, 0.006690815925598144, 0.006626304149627686, 0.0066007041931152345, 0.006644703865051269, 0.0066641921997070315, 0.006672383785247803, 0.006591487884521485, 0.006614016056060791, 0.006615039825439453, 0.006492159843444824, 0.006449151992797852, 0.006495232105255127, 0.006562816143035889, 0.0066375679969787596, 0.006723584175109864, 0.006710271835327148, 0.006631423950195312, 0.006656000137329102, 0.006636544227600098, 0.0066109437942504885, 0.006586368083953857, 0.006477888107299805, 0.006617087841033936, 0.006625279903411865, 0.006534143924713135, 0.0066119680404663084, 0.006584320068359375, 0.006593535900115967, 0.006708223819732666, 0.0067021121978759765, 0.006598656177520752, 0.0066447358131408694, 0.006615039825439453, 0.0065669121742248536, 0.006533120155334473, 0.006481919765472412, 0.0062791681289672855, 0.00648089599609375, 0.00657919979095459, 0.006294528007507324, 0.006237184047698975, 0.00621670389175415, 0.006252480030059814, 0.006199295997619629, 0.006325247764587402, 0.006690815925598144, 0.006631423950195312, 0.006773759841918945, 0.007068672180175781, 0.006557695865631104, 0.006525951862335205, 0.006492159843444824, 0.006464511871337891, 0.006505472183227539, 0.006472703933715821, 0.006437888145446777, 0.006526976108551025, 0.006460415840148926, 0.0065443840026855465, 0.006552576065063476, 0.0064737281799316405, 0.006523903846740723, 0.006510623931884766, 0.006463488101959228, 0.006472703933715821, 0.006441984176635742, 0.006456319808959961, 0.006487040042877197, 0.006461440086364746, 0.00648089599609375, 0.006533120155334473, 0.006451200008392334, 0.006463488101959228, 0.006416384220123291, 0.006462463855743408, 0.006810624122619629, 0.006446080207824707, 0.006532095909118653, 0.0064737281799316405, 0.006416384220123291, 0.006448128223419189, 0.006492159843444824, 0.006456319808959961, 0.006453248023986816, 0.006434815883636475, 0.006472703933715821, 0.006487040042877197, 0.006452223777770996, 0.006464511871337891, 0.006453248023986816, 0.006437888145446777, 0.006456319808959961, 0.0064430079460144046, 0.006428607940673828, 0.00652288007736206, 0.0064440321922302245, 0.006490111827850342, 0.006758399963378906, 0.00673689603805542, 0.006509568214416504, 0.006461440086364746, 0.006403071880340576, 0.0064778242111206055, 0.00643174409866333, 0.0064778242111206055, 0.006475776195526123, 0.00643071985244751, 0.006470655918121338, 0.006574079990386963, 0.006494207859039307, 0.006489088058471679, 0.006445024013519287, 0.006491136074066162, 0.006603775978088379, 0.006458367824554443, 0.006543360233306885, 0.006495232105255127, 0.006469632148742676, 0.0065146880149841305, 0.006464511871337891, 0.006766592025756836, 0.00653004789352417, 0.006435840129852295, 0.006490111827850342, 0.006479872226715088, 0.006432767868041992, 0.006451200008392334, 0.006437888145446777, 0.006490111827850342, 0.0064839677810668945, 0.006437888145446777, 0.006452223777770996, 0.006448128223419189, 0.006449151992797852, 0.006516736030578613, 0.006675456047058105, 0.006725632190704346, 0.006567935943603515, 0.006503424167633057, 0.0065064959526062015, 0.006533120155334473 ] }, "throughput": { "unit": "samples/s", "value": 152.74107820913295 }, "energy": { "unit": "kWh", "cpu": 7.518576209219867e-08, "ram": 4.110770250291278e-08, "gpu": 1.704132868227847e-07, "total": 2.8670675141789617e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3487884.3803103417 } } } }