{ "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", "model": "google/vit-base-patch16-224", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "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.0", "optimum_benchmark_commit": "c08a62a8b686d201c33b94256f220dd9ac7afa59", "transformers_version": "4.40.2", "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1063.686144, "max_global_vram": 778.452992, "max_process_vram": 200370.057216, "max_reserved": 406.847488, "max_allocated": 355.912704 }, "latency": { "unit": "s", "count": 143, "total": 0.9964918141365047, "mean": 0.006968474224730806, "stdev": 0.00031323187051782007, "p50": 0.00701103401184082, "p90": 0.0070913540840148925, "p95": 0.00711551399230957, "p99": 0.007263834152221681, "values": [ 0.0069459137916564944, 0.007048314094543457, 0.007055674076080322, 0.0070444741249084475, 0.006989274978637695, 0.00705967378616333, 0.007069593906402588, 0.007090713977813721, 0.007154394149780274, 0.007036794185638428, 0.007056313991546631, 0.007092473983764648, 0.0073075141906738285, 0.006844954967498779, 0.006577274799346924, 0.006745594024658203, 0.006782074928283691, 0.006775993824005127, 0.006496954917907715, 0.0065495939254760745, 0.006188314914703369, 0.006636314868927002, 0.006236313819885254, 0.006212794780731201, 0.00621551513671875, 0.006287354946136475, 0.006493753910064697, 0.006288794994354248, 0.006670555114746094, 0.006756155014038086, 0.006649754047393799, 0.006886714935302734, 0.006812473773956299, 0.006605274200439453, 0.006634874820709229, 0.006784634113311767, 0.006764635086059571, 0.007060954093933106, 0.007144474029541016, 0.007084633827209473, 0.007073433876037598, 0.006999673843383789, 0.00706175422668457, 0.007050553798675537, 0.007091514110565186, 0.009826071739196777, 0.007198713779449463, 0.007006554126739502, 0.007001755237579346, 0.0069860749244689945, 0.006963833808898926, 0.006987994194030762, 0.007005914211273194, 0.007015034198760987, 0.0070003151893615724, 0.006971514225006104, 0.00700399398803711, 0.006999033927917481, 0.006979514122009278, 0.00698191499710083, 0.00700431489944458, 0.007033753871917725, 0.006981433868408203, 0.0070499138832092285, 0.00701103401184082, 0.0069886350631713865, 0.006971674919128418, 0.006988954067230224, 0.006972953796386718, 0.006999033927917481, 0.006984154224395752, 0.006971674919128418, 0.007012474060058594, 0.007035674095153809, 0.006978874206542969, 0.007034073829650879, 0.0070236740112304685, 0.007003674983978272, 0.006995513916015625, 0.0070023941993713375, 0.007041913986206055, 0.0069911937713623045, 0.0070089540481567385, 0.006992475032806396, 0.0069881539344787596, 0.00698863410949707, 0.007044794082641602, 0.007040634155273438, 0.007039194107055664, 0.007048315048217774, 0.007067033767700195, 0.007059353828430176, 0.007015193939208984, 0.007065753936767578, 0.007050233840942383, 0.007049114227294922, 0.007042395114898682, 0.007070075035095215, 0.007039993762969971, 0.007095833778381347, 0.007019993782043457, 0.007060634136199951, 0.007048314094543457, 0.007059353828430176, 0.0069735941886901855, 0.007076475143432617, 0.007060314178466797, 0.007125594139099121, 0.007054393768310547, 0.0070572738647460935, 0.007091514110565186, 0.0071159939765930175, 0.007090394020080566, 0.007055994033813477, 0.007035834789276123, 0.007042873859405518, 0.007046554088592529, 0.007052793979644776, 0.00704927396774292, 0.0072035140991210935, 0.007095993995666504, 0.0071111941337585445, 0.007058713912963867, 0.007087514877319336, 0.007044794082641602, 0.007103673934936524, 0.0070764741897583, 0.0070567941665649414, 0.007079833984375, 0.006894393920898438, 0.006860634803771973, 0.006857433795928955, 0.006834234237670898, 0.006891994953155517, 0.007084633827209473, 0.006949274063110351, 0.006891354084014893, 0.006862234115600586, 0.006846555233001709, 0.006858552932739258, 0.006815993785858154, 0.0068246350288391116, 0.006858074188232422 ] }, "throughput": { "unit": "samples/s", "value": 143.50343672809242 }, "energy": null, "efficiency": null } } }