{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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": 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.43.1", "transformers_commit": null, "accelerate_version": "0.33.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": { "load": { "memory": { "unit": "MB", "max_ram": 757.63712, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.2450859375, "mean": 7.2450859375, "stdev": 0.0, "p50": 7.2450859375, "p90": 7.2450859375, "p95": 7.2450859375, "p99": 7.2450859375, "values": [ 7.2450859375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5528640813297697e-06, "ram": 8.349874140723538e-07, "gpu": 1.8730570539998714e-06, "total": 4.260908549401995e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 889.91744, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 205, "total": 1.0140693068504334, "mean": 0.004946679545611871, "stdev": 0.00012466637185604224, "p50": 0.004868095874786377, "p90": 0.005108531093597412, "p95": 0.005149696063995362, "p99": 0.0052307968139648445, "values": [ 0.005231616020202637, 0.005090303897857666, 0.005172224044799805, 0.005163008213043213, 0.005150720119476319, 0.005182464122772217, 0.0052111358642578124, 0.0051435518264770505, 0.005135359764099121, 0.005083136081695557, 0.004981760025024414, 0.004984831809997559, 0.0050462718009948735, 0.004973567962646484, 0.004951039791107178, 0.0050728960037231445, 0.00510975980758667, 0.005037055969238281, 0.004872191905975342, 0.00487014389038086, 0.004866047859191895, 0.004891647815704346, 0.005086207866668701, 0.005051392078399658, 0.0051363840103149415, 0.0050800638198852536, 0.005047296047210693, 0.005029888153076172, 0.005063680171966553, 0.004958208084106445, 0.004895743846893311, 0.004987904071807861, 0.005096447944641113, 0.0051066880226135255, 0.005078015804290771, 0.005035007953643799, 0.00506060791015625, 0.005033984184265137, 0.005055488109588623, 0.004981760025024414, 0.0050063362121582035, 0.004987904071807861, 0.00501145601272583, 0.00501145601272583, 0.005057536125183106, 0.004994048118591309, 0.004882431983947754, 0.004881408214569092, 0.004880383968353271, 0.0048752641677856446, 0.005045248031616211, 0.005204991817474365, 0.005145599842071533, 0.0050462718009948735, 0.005167103767395019, 0.005574656009674072, 0.005161983966827393, 0.005088255882263183, 0.005087232112884522, 0.005114880084991455, 0.005129216194152832, 0.005038080215454102, 0.00511897611618042, 0.004992000102996826, 0.005058559894561767, 0.0048865280151367185, 0.005053440093994141, 0.005114880084991455, 0.005055488109588623, 0.005747712135314941, 0.005054463863372802, 0.005064703941345215, 0.00501043176651001, 0.004988927841186524, 0.004866047859191895, 0.004905983924865722, 0.005037055969238281, 0.005001215934753418, 0.005018623828887939, 0.005064703941345215, 0.0049459199905395506, 0.004929535865783692, 0.004959231853485108, 0.004941823959350586, 0.004922368049621582, 0.004892672061920166, 0.004931583881378174, 0.0049530878067016604, 0.0049192957878112795, 0.004931583881378174, 0.005082111835479736, 0.005091328144073487, 0.005056511878967285, 0.00486297607421875, 0.004863999843597412, 0.004863999843597412, 0.004865024089813232, 0.004868095874786377, 0.004865024089813232, 0.00486297607421875, 0.00486297607421875, 0.00486297607421875, 0.004865024089813232, 0.00486297607421875, 0.004863999843597412, 0.004865024089813232, 0.004860928058624267, 0.004863999843597412, 0.004863999843597412, 0.004869120121002197, 0.004863999843597412, 0.004869120121002197, 0.00486195182800293, 0.004863999843597412, 0.00486297607421875, 0.004868095874786377, 0.004867072105407715, 0.004865024089813232, 0.004860928058624267, 0.00486195182800293, 0.004863999843597412, 0.004860928058624267, 0.00486297607421875, 0.004859903812408447, 0.00486297607421875, 0.004866047859191895, 0.004865024089813232, 0.004863999843597412, 0.004865024089813232, 0.00486195182800293, 0.004863999843597412, 0.004866047859191895, 0.00486195182800293, 0.004868095874786377, 0.005111807823181152, 0.004866047859191895, 0.00486297607421875, 0.004866047859191895, 0.004869120121002197, 0.004865024089813232, 0.004869120121002197, 0.00486297607421875, 0.004866047859191895, 0.00486195182800293, 0.004865024089813232, 0.004867072105407715, 0.004868095874786377, 0.004863999843597412, 0.004866047859191895, 0.004866047859191895, 0.004865024089813232, 0.004866047859191895, 0.00486195182800293, 0.004860928058624267, 0.00486297607421875, 0.00486297607421875, 0.004867072105407715, 0.004863999843597412, 0.004860928058624267, 0.004865024089813232, 0.00486195182800293, 0.004863999843597412, 0.004867072105407715, 0.004863999843597412, 0.004866047859191895, 0.004865024089813232, 0.004863999843597412, 0.004865024089813232, 0.004865024089813232, 0.004865024089813232, 0.004863039970397949, 0.00487014389038086, 0.004863999843597412, 0.004865024089813232, 0.004863999843597412, 0.00486297607421875, 0.004860928058624267, 0.004863999843597412, 0.00486195182800293, 0.004865024089813232, 0.004869120121002197, 0.004865024089813232, 0.00486297607421875, 0.00486195182800293, 0.004867072105407715, 0.004867072105407715, 0.004860928058624267, 0.004867072105407715, 0.004865024089813232, 0.00486297607421875, 0.004863999843597412, 0.004866047859191895, 0.00486297607421875, 0.004866047859191895, 0.004863999843597412, 0.004865024089813232, 0.004865024089813232, 0.004860928058624267, 0.004859903812408447, 0.004866047859191895, 0.004865024089813232, 0.004863999843597412, 0.004867072105407715, 0.004872191905975342, 0.004863999843597412 ] }, "throughput": { "unit": "samples/s", "value": 202.1558079069597 }, "energy": { "unit": "kWh", "cpu": 5.78665125991496e-08, "ram": 3.1543817518374475e-08, "gpu": 3.466656275165913e-07, "total": 4.3607595763411536e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2293178.476120068 } } } }