{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+rocm6.1", "_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": "4", "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": "warn", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 8, "gpu_vram_mb": 549621596160, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 1386.749952, "max_global_vram": 68702.69952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.04158544921875, "mean": 8.04158544921875, "stdev": 0.0, "p50": 8.04158544921875, "p90": 8.04158544921875, "p95": 8.04158544921875, "p99": 8.04158544921875, "values": [ 8.04158544921875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1556.86912, "max_global_vram": 68702.69952, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 354.740224 }, "latency": { "unit": "s", "count": 174, "total": 0.9947851018905641, "mean": 0.005717155757991747, "stdev": 0.00016105952634478562, "p50": 0.0056613399982452395, "p90": 0.00589185094833374, "p95": 0.006034746766090392, "p99": 0.006376022477149963, "values": [ 0.005920779228210449, 0.005938058853149414, 0.0059087791442871095, 0.005733098983764649, 0.005765580177307129, 0.0058878188133239745, 0.005893579006195068, 0.00591197919845581, 0.005852299213409424, 0.005872299194335937, 0.005852299213409424, 0.005865738868713379, 0.005794700145721436, 0.005769258975982666, 0.005716939926147461, 0.0056772599220275876, 0.005666059970855713, 0.005687819004058838, 0.005805899143218994, 0.0056276597976684575, 0.005642380237579346, 0.0056321401596069335, 0.005667978763580322, 0.0056535801887512204, 0.005682380199432373, 0.005652939796447754, 0.0056516599655151364, 0.00566126012802124, 0.005687339782714844, 0.005692619800567627, 0.005642378807067871, 0.005621580123901368, 0.0056460599899291995, 0.005661419868469238, 0.005679500102996826, 0.0056319799423217775, 0.0056339001655578615, 0.005615019798278808, 0.005629580020904541, 0.005660459995269775, 0.0058494191169738766, 0.005943338871002197, 0.0056345400810241695, 0.005670219898223877, 0.005631340026855469, 0.005635340213775635, 0.005598859786987305, 0.00601133918762207, 0.005633100032806397, 0.00565310001373291, 0.0056516599655151364, 0.00567278003692627, 0.005628459930419922, 0.005634699821472168, 0.005641739845275879, 0.005658858776092529, 0.005630539894104004, 0.005641099929809571, 0.005629419803619385, 0.005638218879699707, 0.00565310001373291, 0.005628940105438233, 0.005679500102996826, 0.0056822199821472165, 0.0056631798744201664, 0.005641580104827881, 0.005667180061340332, 0.005655020236968994, 0.00564493989944458, 0.005659500122070313, 0.005652460098266601, 0.0056860589981079105, 0.005666860103607178, 0.0056412601470947265, 0.005635340213775635, 0.0056228599548339845, 0.005673099994659423, 0.005821098804473877, 0.005686540126800537, 0.0056655797958374025, 0.005659339904785156, 0.005648300170898437, 0.0056652588844299315, 0.005643499851226807, 0.005675819873809815, 0.005661899089813232, 0.00567326021194458, 0.005661419868469238, 0.005661900043487549, 0.005680300235748291, 0.005682859897613525, 0.005660940170288086, 0.005650539875030517, 0.005656300067901611, 0.005629419803619385, 0.0056724600791931154, 0.0056462202072143555, 0.005681579113006592, 0.005626220226287842, 0.0056875, 0.005668779850006103, 0.00567549991607666, 0.00569645881652832, 0.005684939861297608, 0.005682380199432373, 0.005675020217895507, 0.005751180171966553, 0.00567710018157959, 0.005677420139312744, 0.005647180080413819, 0.005634379863739014, 0.005671020030975342, 0.005655660152435303, 0.005650539875030517, 0.005643499851226807, 0.005637420177459717, 0.005651339054107666, 0.005648459911346436, 0.005641580104827881, 0.005652460098266601, 0.005650219917297364, 0.005651500225067139, 0.005664780139923096, 0.005670380115509033, 0.005643179893493652, 0.005652460098266601, 0.005653738975524902, 0.005670859813690186, 0.00565742015838623, 0.0056340589523315426, 0.005637259960174561, 0.005654220104217529, 0.005657259941101074, 0.005669740200042725, 0.005666699886322022, 0.005676458835601807, 0.0056466999053955075, 0.005667019844055176, 0.005617740154266357, 0.005675339221954346, 0.005639019966125488, 0.005625740051269531, 0.0056479802131652835, 0.0056607799530029295, 0.0056412601470947265, 0.005636139869689942, 0.0056817388534545895, 0.005643819808959961, 0.005658539772033691, 0.005670700073242187, 0.005654220104217529, 0.005658060073852539, 0.005658539772033691, 0.005675020217895507, 0.005660459995269775, 0.005670539855957031, 0.005665420055389404, 0.005633580207824707, 0.005666859149932861, 0.005624300003051758, 0.00564654016494751, 0.005647339820861816, 0.005836619853973389, 0.006368937969207763, 0.006457417011260986, 0.006335658073425293, 0.006351976871490478, 0.006358537197113037, 0.006395176887512207, 0.006345097064971924, 0.0060809369087219236, 0.005969258785247802, 0.00607821798324585, 0.005967819213867188 ] }, "throughput": { "unit": "samples/s", "value": 174.91214903532168 }, "energy": null, "efficiency": null } } }