{ "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": {}, "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, "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": "bc4d55acdaf328bd5108ceb452b0f0a0c042200e", "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": 896.520192, "max_global_vram": 689.348608, "max_process_vram": 49113.632768, "max_reserved": 400.556032, "max_allocated": 346.873856 }, "latency": { "unit": "s", "count": 1, "total": 9.6920302734375, "mean": 9.6920302734375, "stdev": 0.0, "p50": 9.6920302734375, "p90": 9.6920302734375, "p95": 9.6920302734375, "p99": 9.6920302734375, "values": [ 9.6920302734375 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1066.807296, "max_global_vram": 777.678848, "max_process_vram": 195794.944, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 151, "total": 0.9987358260154722, "mean": 0.006614144543148824, "stdev": 0.0003407778712223027, "p50": 0.006441737174987793, "p90": 0.007039655208587647, "p95": 0.007364853858947754, "p99": 0.007752772569656372, "values": [ 0.006774375915527344, 0.006619495868682861, 0.0066842961311340335, 0.006673737049102783, 0.006673255920410156, 0.006695816040039063, 0.006692455768585205, 0.006704297065734863, 0.00675709581375122, 0.00673341703414917, 0.006751657009124756, 0.006712616920471192, 0.006653255939483642, 0.006695176124572754, 0.006643816947937011, 0.006706857204437256, 0.006668935775756836, 0.006655335903167725, 0.006651977062225342, 0.0066745362281799316, 0.006637576103210449, 0.006738376140594482, 0.00667229700088501, 0.006687975883483886, 0.006637735843658447, 0.006670056819915771, 0.0066278171539306645, 0.006696135997772217, 0.00665933609008789, 0.0067159771919250485, 0.006698057174682617, 0.006693096160888672, 0.006857096195220947, 0.0077326130867004395, 0.00757869291305542, 0.0074554929733276366, 0.00722237491607666, 0.0071953339576721195, 0.007175175189971924, 0.0073782138824462894, 0.007351493835449219, 0.007345573902130127, 0.00713501501083374, 0.007039655208587647, 0.007011655807495117, 0.006952455997467041, 0.0069636549949646, 0.006953414916992188, 0.0068982157707214355, 0.006866855144500732, 0.006873256206512452, 0.006875494956970215, 0.008073572158813477, 0.006981575965881347, 0.006639175891876221, 0.006720136165618897, 0.006432297229766845, 0.006413736820220947, 0.006407018184661865, 0.006396936893463135, 0.006390377044677735, 0.006410377025604248, 0.0063425378799438475, 0.006372457027435303, 0.006380297183990478, 0.006382217884063721, 0.00638349723815918, 0.006360297203063965, 0.006373258113861084, 0.0066303758621215824, 0.006596457004547119, 0.006577256202697754, 0.006584776878356934, 0.006505577087402343, 0.006484137058258056, 0.006471497058868408, 0.006441737174987793, 0.006610055923461914, 0.00646317720413208, 0.006450216770172119, 0.006429737091064453, 0.006433258056640625, 0.006426698207855225, 0.006418217182159424, 0.006371177196502685, 0.006415657043457031, 0.006365097999572754, 0.0064362969398498535, 0.006425416946411132, 0.006409737110137939, 0.006452937126159668, 0.006430537223815918, 0.006474536895751953, 0.006447496891021728, 0.006409257888793945, 0.006408297061920166, 0.006356936931610107, 0.006391337871551514, 0.006393097877502442, 0.006357737064361572, 0.006352458000183105, 0.006341417789459228, 0.006335338115692138, 0.006367497920989991, 0.006331178188323974, 0.006357256889343262, 0.006364778041839599, 0.006415337085723877, 0.006345736980438233, 0.006341097831726074, 0.006353096961975098, 0.006365256786346436, 0.006337257862091064, 0.0063487768173217775, 0.0063609380722045895, 0.00636333703994751, 0.006410696983337402, 0.006339657783508301, 0.0063246169090271, 0.00634461784362793, 0.006359177112579346, 0.006434377193450928, 0.006343818187713623, 0.006390536785125732, 0.006360297203063965, 0.006382058143615723, 0.00638333797454834, 0.0063366169929504395, 0.006361258029937744, 0.006361416816711426, 0.006383976936340332, 0.006435498237609864, 0.006402698040008545, 0.006375176906585693, 0.006342058181762695, 0.006375977993011475, 0.006350216865539551, 0.006377098083496094, 0.0063609380722045895, 0.006354856967926026, 0.006337257862091064, 0.00639229679107666, 0.006406857013702393, 0.006367817878723144, 0.006384936809539795, 0.006729896068572998, 0.007031815052032471, 0.0073159728050231935, 0.007533573150634766, 0.0075436530113220214, 0.007772932052612305 ] }, "throughput": { "unit": "samples/s", "value": 151.19113189563373 }, "energy": null, "efficiency": null } } }