{ "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": "378d8dddb2c87c406ac8d3231c1c44d5a290b874", "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.850816, "max_global_vram": 3976.757248, "max_process_vram": 42101.69856, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.32061181640625, "mean": 7.32061181640625, "stdev": 0.0, "p50": 7.32061181640625, "p90": 7.32061181640625, "p95": 7.32061181640625, "p99": 7.32061181640625, "values": [ 7.32061181640625 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1069.170688, "max_global_vram": 4160.811008, "max_process_vram": 175068.708864, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 155, "total": 0.9970389900207514, "mean": 0.006432509613037108, "stdev": 0.0004370794364067135, "p50": 0.0062924718856811526, "p90": 0.006901111888885498, "p95": 0.0069364399909973146, "p99": 0.008316182174682621, "values": [ 0.007071032047271729, 0.006831192016601563, 0.006774871826171875, 0.00694559097290039, 0.006739672183990479, 0.006674552917480469, 0.006923191070556641, 0.006621112823486328, 0.006594552993774414, 0.0065623922348022464, 0.006452631950378418, 0.006425753116607666, 0.0064559922218322754, 0.006375352859497071, 0.006319032192230224, 0.006355833053588867, 0.0063047919273376465, 0.006283193111419678, 0.006278872013092041, 0.006251993179321289, 0.00628751277923584, 0.006301591873168946, 0.006336792945861817, 0.0063065519332885745, 0.006310233116149902, 0.006254072189331055, 0.006227832794189453, 0.006228312969207763, 0.0062924718856811526, 0.0063095932006835935, 0.006333752155303955, 0.006398872852325439, 0.00640223217010498, 0.0063767929077148434, 0.006349112033843994, 0.006321113109588623, 0.006293432235717773, 0.006305273056030273, 0.006268153190612793, 0.006263192176818848, 0.006235352993011475, 0.00952078914642334, 0.006166392803192138, 0.00613295316696167, 0.006333911895751953, 0.006140472888946533, 0.008127030372619628, 0.008538229942321778, 0.006904952049255371, 0.00686735200881958, 0.006918712139129639, 0.0068443121910095215, 0.0069347119331359865, 0.006894231796264649, 0.006884951114654541, 0.006879511833190918, 0.006917751789093017, 0.006903031826019287, 0.006898231983184814, 0.00692031192779541, 0.00694047212600708, 0.006955350875854492, 0.006896312236785889, 0.006874551773071289, 0.006512153148651123, 0.0067363128662109376, 0.0066009521484375, 0.0064796719551086426, 0.006674551963806152, 0.006518712997436523, 0.0061359920501708985, 0.006119193077087403, 0.006121753215789795, 0.006113593101501465, 0.006131832122802734, 0.006107512950897217, 0.007281112194061279, 0.0061555118560791015, 0.006348952770233154, 0.00617119312286377, 0.0061839919090271, 0.006167192935943603, 0.006195672988891602, 0.006134232997894287, 0.006168471813201904, 0.0061859130859375, 0.006162552833557129, 0.006175673007965088, 0.006158712863922119, 0.006149753093719483, 0.00617823314666748, 0.006166552066802979, 0.0061558327674865725, 0.006143033027648926, 0.006174713134765625, 0.0061763119697570805, 0.006195992946624756, 0.006187673091888428, 0.006192311763763427, 0.006128152847290039, 0.006146392822265625, 0.006124632835388184, 0.006144312858581543, 0.006143191814422608, 0.0060820732116699215, 0.006091513156890869, 0.006138711929321289, 0.006129272937774658, 0.006122073173522949, 0.006121592998504639, 0.006167512893676758, 0.006209592819213867, 0.006193752765655518, 0.006208473205566406, 0.006187032222747803, 0.006187993049621582, 0.006389111995697022, 0.006150232791900635, 0.006424952983856201, 0.006855832099914551, 0.0069036707878112795, 0.006857751846313476, 0.00645183277130127, 0.006404952049255371, 0.006646872043609619, 0.006829912185668945, 0.006838391780853272, 0.0066075119972229006, 0.006481273174285889, 0.0064705519676208495, 0.006403192996978759, 0.006584472179412841, 0.006452311992645263, 0.006470393180847168, 0.006577112197875976, 0.006418871879577637, 0.006110552787780762, 0.006149753093719483, 0.006104312896728516, 0.006196152210235595, 0.006099193096160888, 0.006150073051452637, 0.006156793117523193, 0.006153751850128173, 0.006177113056182861, 0.006147993087768555, 0.006284952163696289, 0.00612367296218872, 0.006147993087768555, 0.0061369528770446775, 0.006145273208618164, 0.006082872867584229, 0.006135832786560058, 0.006155672073364257, 0.006134393215179443 ] }, "throughput": { "unit": "samples/s", "value": 155.46031955758713 }, "energy": null, "efficiency": null } } }