{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.5.1+cu124", "_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": 2, "sequence_length": 16, "num_choices": 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.248768, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.228-219.884.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.5.0.dev0", "optimum_benchmark_commit": null, "transformers_version": "4.47.0", "transformers_commit": null, "accelerate_version": "1.2.0", "accelerate_commit": null, "diffusers_version": "0.31.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.12", "timm_commit": null, "peft_version": "0.14.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 855.277568, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "values": [ 0.12566118621826172 ], "count": 1, "total": 0.12566118621826172, "mean": 0.12566118621826172, "p50": 0.12566118621826172, "p90": 0.12566118621826172, "p95": 0.12566118621826172, "p99": 0.12566118621826172, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.683665421041623e-05, "ram": 5.305481391240079e-05, "gpu": 0.00013730566540000062, "total": 0.00028719713352281763 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1046.58944, "max_global_vram": 1073.217536, "max_process_vram": 0.0, "max_reserved": 423.624704, "max_allocated": 377.056256 }, "latency": { "unit": "s", "values": [ 0.007278592109680176, 0.006872064113616944, 0.006859776020050049, 0.006860799789428711, 0.006851583957672119, 0.006870016098022461, 0.006887423992156983, 0.006927360057830811, 0.006929408073425293, 0.006924287796020508, 0.00693555212020874, 0.0069212160110473635, 0.006931456089019775, 0.006930431842803955, 0.006919167995452881, 0.006952960014343262, 0.006970367908477783, 0.006969344139099121, 0.006967296123504638, 0.006968319892883301, 0.006982656002044678, 0.007007232189178467, 0.007002111911773682, 0.006968319892883301, 0.007029759883880615, 0.0070256638526916505, 0.007031807899475098, 0.00703385591506958, 0.007036928176879883, 0.007024640083312988, 0.007041024208068848, 0.00703385591506958, 0.0070348801612854, 0.007038976192474365, 0.007035903930664063, 0.007029759883880615, 0.007038976192474365, 0.007041024208068848, 0.007027711868286133, 0.007035903930664063, 0.0070256638526916505, 0.00704307222366333, 0.007037951946258545, 0.007038976192474365, 0.007032832145690918, 0.0070256638526916505, 0.007032832145690918, 0.00703385591506958, 0.007030784130096435, 0.007032832145690918, 0.007031807899475098, 0.0070348801612854, 0.007018496036529541, 0.0070225920677185055, 0.0070225920677185055, 0.007017471790313721, 0.007035903930664063, 0.007035903930664063, 0.007039999961853028, 0.007028736114501953, 0.0070266880989074704, 0.007020544052124023, 0.0070348801612854, 0.007037951946258545, 0.007032832145690918, 0.0070266880989074704, 0.0070266880989074704, 0.0070348801612854, 0.00704307222366333, 0.007028736114501953, 0.007046144008636474, 0.0070348801612854, 0.007029759883880615, 0.007031807899475098, 0.00703385591506958, 0.00704307222366333, 0.007027711868286133, 0.007030784130096435, 0.007045119762420654, 0.007023615837097168, 0.00703385591506958, 0.007024640083312988, 0.007041024208068848, 0.007039999961853028, 0.007031807899475098, 0.00703385591506958, 0.007029759883880615, 0.007041024208068848, 0.007041024208068848, 0.007036928176879883, 0.007041024208068848, 0.00703385591506958, 0.007046144008636474, 0.007039999961853028, 0.007039999961853028, 0.007036928176879883, 0.007038976192474365, 0.007038976192474365, 0.007036928176879883, 0.007024640083312988, 0.00704307222366333, 0.007032832145690918, 0.007050240039825439, 0.00704204797744751, 0.007030784130096435, 0.00704307222366333, 0.007057407855987549, 0.007070720195770264, 0.007027711868286133, 0.0070266880989074704, 0.007032832145690918, 0.007031807899475098, 0.0070266880989074704, 0.007036928176879883, 0.007023615837097168, 0.0070256638526916505, 0.007024640083312988, 0.0070256638526916505, 0.007028736114501953, 0.007018496036529541, 0.007016448020935059, 0.007018496036529541, 0.007031807899475098, 0.007020544052124023, 0.007028736114501953, 0.007018496036529541, 0.007021567821502686, 0.007031807899475098, 0.0070225920677185055, 0.0070256638526916505, 0.007018496036529541, 0.007021567821502686, 0.007018496036529541, 0.007028736114501953, 0.007028736114501953, 0.007019519805908203, 0.007023615837097168, 0.007024640083312988, 0.007017471790313721, 0.007018496036529541, 0.007019519805908203, 0.0070256638526916505, 0.00703385591506958, 0.0070348801612854, 0.0070225920677185055, 0.007027711868286133, 0.007021567821502686, 0.007027711868286133, 0.007014400005340577 ], "count": 149, "total": 1.045625858783721, "mean": 0.007017623213313569, "p50": 0.007028736114501953, "p90": 0.007041024208068848, "p95": 0.00704307222366333, "p99": 0.007064330272674561, "stdev": 4.648340487869339e-05, "stdev_": 0.6623810293848043 }, "throughput": { "unit": "samples/s", "value": 284.9967772857448 }, "energy": { "unit": "kWh", "cpu": 8.354450238832639e-08, "ram": 4.5656581705484416e-08, "gpu": 5.506930081216187e-07, "total": 6.798940922154294e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2941634.6205965937 } } } }