{ "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": "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": {}, "hub_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, "latency": true, "memory": 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.2.1", "optimum_benchmark_commit": "c551ed4717b9f9db50458281347948dd265d9e3b", "transformers_version": "4.41.0", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1060.118528, "max_global_vram": 2976.690176, "max_process_vram": 158579.908608, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 152, "total": 0.9977639918327332, "mean": 0.0065642367883732445, "stdev": 0.00030765236932633937, "p50": 0.0066985349655151365, "p90": 0.006751462841033936, "p95": 0.006766238975524902, "p99": 0.007437627005577095, "values": [ 0.00785917091369629, 0.006521575927734375, 0.0066790151596069335, 0.006753095149993896, 0.006725735187530517, 0.006789575099945069, 0.006751814842224121, 0.006730854988098145, 0.006701415061950684, 0.0066842961311340335, 0.006678855895996093, 0.007032614231109619, 0.006691976070404053, 0.006679175853729248, 0.006686214923858643, 0.006715974807739258, 0.006653574943542481, 0.006687495231628418, 0.0066985349655151365, 0.006656936168670654, 0.0067007761001586915, 0.0067622151374816895, 0.006698854923248291, 0.006618535995483398, 0.006422376155853272, 0.006147177219390869, 0.006226057052612304, 0.005991017818450928, 0.006363656997680664, 0.006061896800994873, 0.006184136867523194, 0.0061801371574401855, 0.005976297855377197, 0.006157416820526123, 0.006321416854858398, 0.006247976779937744, 0.006203017234802246, 0.006040297985076905, 0.006182857036590576, 0.006134696960449219, 0.007025413990020752, 0.008099329948425294, 0.006770534992218018, 0.006735495090484619, 0.0066913352012634274, 0.006748294830322266, 0.006703975200653076, 0.0067310152053833006, 0.006703495025634765, 0.0067284550666809086, 0.006745254993438721, 0.006740294933319092, 0.006745735168457031, 0.006758534908294677, 0.0067289361953735355, 0.006737734794616699, 0.006728614807128906, 0.006702694892883301, 0.006711814880371094, 0.006702856063842773, 0.006700935840606689, 0.006721415996551514, 0.006716455936431885, 0.006742855072021484, 0.006687655925750733, 0.006693895816802979, 0.006726215839385987, 0.006763814926147461, 0.006743334770202637, 0.006766854763031006, 0.0067431750297546385, 0.006765735149383545, 0.006720294952392578, 0.006723814964294433, 0.006175336837768555, 0.006156136989593506, 0.006137416839599609, 0.006544616222381592, 0.006153256893157959, 0.0061164569854736325, 0.006409095764160156, 0.005990697860717774, 0.006249897003173828, 0.006389097213745117, 0.0061140570640563965, 0.006216617107391358, 0.005980937957763672, 0.006151817798614502, 0.005948458194732666, 0.006377256870269775, 0.006269256114959717, 0.006360617160797119, 0.00620717716217041, 0.00632093620300293, 0.006701735019683838, 0.006311817169189453, 0.006729255199432373, 0.006776614189147949, 0.006732454776763916, 0.006753735065460205, 0.006701254844665527, 0.006723175048828125, 0.006730374813079834, 0.0065495758056640626, 0.006345576763153076, 0.006589416027069092, 0.006632134914398193, 0.006511335849761963, 0.0064591760635375976, 0.006557415962219238, 0.006362697124481201, 0.006712775230407714, 0.006730374813079834, 0.006720294952392578, 0.006714694976806641, 0.0067145352363586425, 0.006717255115509033, 0.006714694976806641, 0.006715334892272949, 0.006725735187530517, 0.006725574970245361, 0.006702054977416992, 0.00672013521194458, 0.006707495212554932, 0.0066985349655151365, 0.006675815105438233, 0.00667757511138916, 0.0067338948249816896, 0.006710215091705322, 0.006702054977416992, 0.0066727747917175294, 0.006745415210723877, 0.006756615161895752, 0.006714694976806641, 0.006715175151824951, 0.006707174777984619, 0.006682374954223633, 0.006696774959564209, 0.006713735103607178, 0.006676935195922852, 0.0067062158584594725, 0.006253256797790528, 0.006726853847503662, 0.006698215007781982, 0.00648797607421875, 0.006173097133636475, 0.006056938171386719, 0.006186217784881592, 0.005960137844085694, 0.006106857776641846, 0.005940137863159179, 0.005975498199462891 ] }, "throughput": { "unit": "samples/s", "value": 152.34063490385162 }, "energy": null, "efficiency": null } } }