{ "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": "8320ce6f24eaa5099bd3b49d8d44c0c1368af14b", "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.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": { "forward": { "memory": { "unit": "MB", "max_ram": 1061.6832, "max_global_vram": 777.732096, "max_process_vram": 153465.380864, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 141, "total": 0.9938536343574528, "mean": 0.007048607335868457, "stdev": 0.00037689869472029954, "p50": 0.006834561824798584, "p90": 0.007513922214508056, "p95": 0.007527040958404541, "p99": 0.007857856750488279, "values": [ 0.008031360626220703, 0.006692001819610596, 0.0066179208755493164, 0.0066580810546875, 0.006622560977935791, 0.006629281997680664, 0.006601921081542969, 0.006609601020812988, 0.006675042152404785, 0.006640800952911377, 0.006675840854644776, 0.006984002113342285, 0.006693921089172363, 0.006736320972442627, 0.006721921920776367, 0.0067646408081054685, 0.006722560882568359, 0.006729762077331543, 0.006722560882568359, 0.006718561172485351, 0.006772800922393799, 0.00672496223449707, 0.006789121150970459, 0.006750561237335205, 0.007129921913146973, 0.007100640773773193, 0.0070966420173645016, 0.007133281230926514, 0.007129601001739502, 0.007001121997833252, 0.007000640869140625, 0.007244962215423584, 0.007211201190948487, 0.007161760807037353, 0.007021602153778076, 0.0070393610000610354, 0.006976322174072265, 0.006809441089630127, 0.007018401145935059, 0.006814241886138916, 0.006793440818786621, 0.006880640983581543, 0.006834561824798584, 0.006806241035461426, 0.006804000854492187, 0.006807201862335205, 0.006774880886077881, 0.006763521194458008, 0.006747841835021973, 0.006764481067657471, 0.0067427210807800295, 0.006742881774902344, 0.0067427210807800295, 0.006745601177215576, 0.006725602149963379, 0.006735361099243164, 0.006731680870056152, 0.00667040205001831, 0.006683361053466797, 0.006650560855865478, 0.006628800868988037, 0.0066563220024108884, 0.006825601100921631, 0.006946721076965332, 0.006706881999969483, 0.006648800849914551, 0.006680321216583252, 0.006685922145843506, 0.00668864107131958, 0.0066723208427429195, 0.006657601833343506, 0.006697121143341064, 0.006690560817718506, 0.00666384220123291, 0.006706561088562012, 0.006678240776062012, 0.006737922191619873, 0.006784481048583984, 0.006892321109771729, 0.0068195219039916995, 0.00679024076461792, 0.006754721164703369, 0.006772481918334961, 0.006731360912322998, 0.00672960090637207, 0.006743041038513184, 0.006703522205352783, 0.006728960990905762, 0.006782721042633057, 0.006762082099914551, 0.007373120784759522, 0.007508001804351807, 0.007549281120300293, 0.0075304021835327145, 0.007597600936889649, 0.006997282028198242, 0.007251521110534668, 0.00752000093460083, 0.007203201770782471, 0.007558880805969238, 0.0075156822204589845, 0.007522720813751221, 0.007469282150268554, 0.0074889612197875976, 0.00742160177230835, 0.007493121147155762, 0.008518402099609374, 0.007527040958404541, 0.007498561859130859, 0.007517120838165283, 0.007513922214508056, 0.007509921073913574, 0.007490081787109375, 0.007507521152496338, 0.007524322032928467, 0.007523040771484375, 0.007493762016296387, 0.007547521114349366, 0.007458240985870362, 0.007442401885986328, 0.007474400997161865, 0.007472641944885254, 0.007456161022186279, 0.007454401969909668, 0.007481921195983887, 0.007450242042541504, 0.007427041053771973, 0.007448001861572266, 0.00746432113647461, 0.007447202205657959, 0.007424641132354737, 0.007418080806732178, 0.0074406418800354, 0.007462080955505371, 0.007449601173400879, 0.00744032096862793, 0.0074660820960998535, 0.0074472007751464845, 0.007488481998443604, 0.007404961109161377, 0.007472482204437256 ] }, "throughput": { "unit": "samples/s", "value": 141.8719971690394 }, "energy": null, "efficiency": null } } }