{ "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": "5ae03a669d2c4893dc609854294ec3bac19528a3", "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": 898.646016, "max_global_vram": 689.373184, "max_process_vram": 51280.789504, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.267205078125, "mean": 8.267205078125, "stdev": 0.0, "p50": 8.267205078125, "p90": 8.267205078125, "p95": 8.267205078125, "p99": 8.267205078125, "values": [ 8.267205078125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1068.589056, "max_global_vram": 777.68704, "max_process_vram": 186162.581504, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 147, "total": 0.999308465003968, "mean": 0.0067980167687344715, "stdev": 0.00024499173718119723, "p50": 0.006706515789031983, "p90": 0.00696424207687378, "p95": 0.007283520174026489, "p99": 0.007832409553527831, "values": [ 0.006915794849395752, 0.006833234786987305, 0.0069426741600036625, 0.007830508232116699, 0.007585229873657226, 0.007184113025665283, 0.007220753192901611, 0.007013392925262451, 0.006935314178466797, 0.006886034965515137, 0.006896914958953858, 0.006845395088195801, 0.006823315143585205, 0.006828595161437989, 0.006777235984802246, 0.006850035190582276, 0.0067538762092590335, 0.006715315818786621, 0.006736595153808594, 0.006717716217041016, 0.006719155788421631, 0.0067559552192687986, 0.006700116157531738, 0.006792435169219971, 0.006706194877624512, 0.006724435806274414, 0.007685389041900635, 0.007264592170715332, 0.006719155788421631, 0.0067049160003662105, 0.006630677223205567, 0.006665236949920654, 0.0066503558158874515, 0.006692595958709717, 0.006697075843811035, 0.006626516819000244, 0.006691154956817627, 0.006694355964660645, 0.0066242761611938475, 0.006677556037902832, 0.006626515865325928, 0.0066505160331726074, 0.006711316108703613, 0.006659636974334717, 0.006646996974945069, 0.00665531587600708, 0.006901555061340332, 0.006659956932067871, 0.006646676063537598, 0.006662355899810791, 0.006636916160583496, 0.0066858758926391605, 0.006666036128997803, 0.006640915870666504, 0.006658996105194092, 0.00667163610458374, 0.006653875827789307, 0.0066975560188293455, 0.006676755905151367, 0.006652596950531006, 0.006634996891021728, 0.006673396110534668, 0.006688916206359864, 0.006692915916442871, 0.00668699598312378, 0.006712436199188232, 0.006868914127349853, 0.006708755970001221, 0.0069047541618347166, 0.006691155910491943, 0.006776596069335937, 0.006698195934295654, 0.006666515827178955, 0.006657395839691162, 0.006641557216644287, 0.006630677223205567, 0.007834029197692872, 0.006679635047912597, 0.006712436199188232, 0.006689075946807861, 0.00668363618850708, 0.00670171594619751, 0.006668116092681885, 0.00668699598312378, 0.006723636150360107, 0.007746509075164795, 0.007492751121520996, 0.007064754009246826, 0.006996593952178955, 0.006894995212554931, 0.0071601119041442875, 0.006830035209655761, 0.006732914924621582, 0.007934186935424805, 0.006933393955230713, 0.006730996131896973, 0.006705716133117676, 0.00672315502166748, 0.006745716094970703, 0.006771955966949463, 0.006722675800323486, 0.006726035118103027, 0.006698996067047119, 0.006703794956207276, 0.006620756149291992, 0.006685555934906006, 0.006716915130615234, 0.006705875873565674, 0.00682587480545044, 0.006706995964050293, 0.006665396213531494, 0.006666356086730957, 0.006651956081390381, 0.006688755989074707, 0.006677236080169678, 0.006658996105194092, 0.006694516181945801, 0.006639956951141357, 0.006682675838470459, 0.006655796051025391, 0.006676755905151367, 0.006721076011657715, 0.006706515789031983, 0.006664596080780029, 0.006768755912780762, 0.006826835155487061, 0.006695796012878418, 0.006702035903930664, 0.006698676109313965, 0.006716916084289551, 0.006661715984344482, 0.006675315856933594, 0.006692915916442871, 0.00669403600692749, 0.007291632175445557, 0.006901073932647705, 0.006842354774475098, 0.006934994220733642, 0.006816915035247803, 0.0068493947982788085, 0.006892115116119385, 0.006796754837036133, 0.006754196166992187, 0.006821074962615967, 0.006770355224609375, 0.0068060350418090824, 0.006781075000762939 ] }, "throughput": { "unit": "samples/s", "value": 147.10172599149993 }, "energy": null, "efficiency": null } } }