{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.1+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": "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": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 1038.360576, "max_global_vram": 68702.69952, "max_process_vram": 47913.730048, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.980294921875, "mean": 8.980294921875, "stdev": 0.0, "p50": 8.980294921875, "p90": 8.980294921875, "p95": 8.980294921875, "p99": 8.980294921875, "values": [ 8.980294921875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1208.840192, "max_global_vram": 68702.69952, "max_process_vram": 157476.319232, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 159, "total": 0.9980020704269416, "mean": 0.006276742581301516, "stdev": 0.00034710461984049045, "p50": 0.006194539070129394, "p90": 0.006470666027069092, "p95": 0.006938345146179199, "p99": 0.007011925334930419, "values": [ 0.006053899765014649, 0.006017259120941162, 0.006067820072174072, 0.00604141902923584, 0.00613677978515625, 0.006152780055999756, 0.006121418952941895, 0.0061265392303466795, 0.00615117883682251, 0.006162699222564697, 0.0061561398506164555, 0.00613293981552124, 0.006155659198760986, 0.006146378993988037, 0.006160618782043457, 0.006166378974914551, 0.006154219150543213, 0.006125899791717529, 0.009883807182312012, 0.006376297950744629, 0.0062402992248535155, 0.006221418857574463, 0.006171498775482178, 0.006183178901672364, 0.006204139232635498, 0.006178218841552735, 0.006189259052276611, 0.006234219074249267, 0.006203659057617187, 0.006237099170684815, 0.006162220001220703, 0.0061814188957214355, 0.006196938991546631, 0.00619950008392334, 0.006230379104614258, 0.006226539134979248, 0.006176138877868652, 0.0061372599601745605, 0.006170380115509033, 0.00616077995300293, 0.0061649389266967775, 0.006169098854064942, 0.006189259052276611, 0.0061338992118835445, 0.006184618949890136, 0.0061814188957214355, 0.0061740589141845706, 0.006166540145874024, 0.006116940021514893, 0.00620845890045166, 0.006176299095153809, 0.0062266988754272464, 0.0061775798797607424, 0.006194859027862549, 0.00618989896774292, 0.006138538837432862, 0.006149098873138427, 0.006151339054107666, 0.006206378936767578, 0.006195979118347168, 0.00618653917312622, 0.006182538986206055, 0.006204298973083496, 0.006142058849334717, 0.006173099040985107, 0.006199179172515869, 0.00614509916305542, 0.0061900591850280766, 0.006195018768310547, 0.00619421911239624, 0.006170218944549561, 0.006162219047546387, 0.006179819107055664, 0.006180298805236816, 0.006185419082641601, 0.006182699203491211, 0.006192298889160156, 0.006350539207458496, 0.006235818862915039, 0.0064655780792236325, 0.006203178882598877, 0.006169898986816406, 0.0061740589141845706, 0.0062102189064025875, 0.006185898780822754, 0.0062374181747436525, 0.0061906991004943845, 0.006203818798065186, 0.006199978828430176, 0.006211178779602051, 0.006199499130249023, 0.0061882991790771485, 0.006183178901672364, 0.0061882991790771485, 0.006221098899841309, 0.006222218990325928, 0.006210858821868896, 0.00619805908203125, 0.006199978828430176, 0.0062266988754272464, 0.006197578907012939, 0.00624669885635376, 0.006199978828430176, 0.006211658954620361, 0.006188458919525146, 0.0062145390510559085, 0.0062383790016174315, 0.006208138942718506, 0.006223339080810547, 0.006184459209442139, 0.006174378871917725, 0.006221098899841309, 0.0061881389617919925, 0.006173099040985107, 0.006197898864746094, 0.006184779167175293, 0.006219499111175537, 0.006219499111175537, 0.006205258846282959, 0.0062500591278076174, 0.0062138991355896, 0.006190218925476074, 0.006199499130249023, 0.006185259819030762, 0.006184140205383301, 0.006209418773651123, 0.006219338893890381, 0.00618989896774292, 0.006209259033203125, 0.006194539070129394, 0.006165739059448242, 0.006198698997497558, 0.006938217163085937, 0.006970376014709473, 0.006939496994018555, 0.007001576900482177, 0.006950215816497803, 0.006949256896972656, 0.006967016220092773, 0.0070262160301208494, 0.006558857917785645, 0.006701097011566162, 0.006491017818450928, 0.0063890981674194335, 0.006506857872009278, 0.006414059162139892, 0.006538537979125977, 0.006766057014465332, 0.006412299156188965, 0.006398698806762695, 0.006425578117370606, 0.0064431772232055665, 0.006299018859863281, 0.006127819061279297, 0.006604298114776612, 0.006210699081420899, 0.006148940086364746, 0.0061740589141845706, 0.0061105389595031735 ] }, "throughput": { "unit": "samples/s", "value": 159.3183067565987 }, "energy": null, "efficiency": null } } }