{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "model_type": "vit", "model": "google/vit-base-patch16-224", "processor": "google/vit-base-patch16-224", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": true, "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": 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.3.1", "optimum_benchmark_commit": "3b109cf557e2496fe3c954817385781e6dc5cad1", "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, "llama_cpp_version": null, "llama_cpp_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 898.097152, "max_global_vram": 689.344512, "max_process_vram": 50035.273728, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.67158447265625, "mean": 7.67158447265625, "stdev": 0.0, "p50": 7.67158447265625, "p90": 7.67158447265625, "p95": 7.67158447265625, "p99": 7.67158447265625, "values": [ 7.67158447265625 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1069.084672, "max_global_vram": 777.678848, "max_process_vram": 195688.689664, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 140, "total": 0.9935675382614136, "mean": 0.007096910987581525, "stdev": 0.00031447044168364177, "p50": 0.0071288466453552244, "p90": 0.007197246170043945, "p95": 0.007219645857810974, "p99": 0.008289147577285756, "values": [ 0.007190526962280274, 0.007123647212982177, 0.0072606058120727535, 0.007284445762634277, 0.0072814059257507325, 0.009420275688171387, 0.007842043876647949, 0.007018366813659668, 0.006991806983947754, 0.007086846828460693, 0.007031167030334472, 0.0070095682144165035, 0.007019008159637451, 0.007058207035064697, 0.007050366878509522, 0.007031806945800781, 0.007057567119598388, 0.007079007148742676, 0.007036928176879883, 0.007026526927947998, 0.007112926959991455, 0.007104607105255127, 0.007085727214813232, 0.007038207054138184, 0.007034526824951172, 0.007073087215423584, 0.007084607124328613, 0.007129406929016114, 0.007117406845092773, 0.007147326946258545, 0.007115646839141846, 0.007146206855773926, 0.007150046825408936, 0.007134847164154053, 0.007142046928405762, 0.007128766059875488, 0.007095487117767334, 0.007116607189178467, 0.007139646053314209, 0.007119007110595703, 0.007044767856597901, 0.007134047031402588, 0.007104126930236816, 0.00715484619140625, 0.00710828685760498, 0.007170687198638916, 0.007149726867675781, 0.007164766788482666, 0.007112767219543457, 0.007156766891479492, 0.007159165859222412, 0.007155487060546875, 0.007091806888580322, 0.007171486854553223, 0.0071039671897888184, 0.007115806102752685, 0.007116766929626464, 0.007057726860046387, 0.007094206809997558, 0.007083326816558838, 0.007100447177886963, 0.007015168190002441, 0.007073727130889893, 0.007116607189178467, 0.007064927101135254, 0.007041566848754883, 0.006352770805358887, 0.006327331066131592, 0.0063729300498962405, 0.006655808925628662, 0.006703649044036865, 0.007161887168884278, 0.0071038069725036625, 0.007101087093353271, 0.0071345272064208985, 0.007165407180786133, 0.008575000762939454, 0.007201887130737304, 0.00717724609375, 0.007199007034301758, 0.00719724702835083, 0.007155965805053711, 0.007128927230834961, 0.007175166130065918, 0.007165407180786133, 0.00706684684753418, 0.0067042880058288574, 0.006665568828582763, 0.006546850204467773, 0.006399170875549316, 0.00664172887802124, 0.0065986900329589844, 0.006362209796905518, 0.00653036880493164, 0.0063378911018371585, 0.006703487873077393, 0.007133727073669434, 0.0071860461235046386, 0.007147326946258545, 0.00716252613067627, 0.007213566780090332, 0.007150527000427246, 0.007165566921234131, 0.007168766975402832, 0.007125086784362793, 0.0071910061836242675, 0.0071633272171020505, 0.0071447668075561525, 0.007145086765289307, 0.007160605907440186, 0.007131647109985351, 0.007192605972290039, 0.00714044713973999, 0.007156445980072022, 0.007186686992645264, 0.007228766918182373, 0.007197246074676513, 0.007219165802001953, 0.007215487003326416, 0.007146206855773926, 0.007202045917510986, 0.00715628719329834, 0.00714508581161499, 0.007156607151031494, 0.007174046039581299, 0.007182847023010254, 0.007173565864562989, 0.007156927108764649, 0.007145407199859619, 0.007163647174835205, 0.007156766891479492, 0.007106846809387207, 0.007114206790924072, 0.007149406909942627, 0.0071564469337463375, 0.007126846790313721, 0.007120606899261475, 0.007100926876068115, 0.007118684768676758, 0.007096286773681641 ] }, "throughput": { "unit": "samples/s", "value": 140.90637486504232 }, "energy": null, "efficiency": null } } }