{ "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": "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, "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", "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.0", "optimum_benchmark_commit": "748abd0c7ac21cfb1798768cad39007b466ce8e8", "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": { "forward": { "memory": { "unit": "MB", "max_ram": 1061.257216, "max_global_vram": 777.703424, "max_process_vram": 181593.7024, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 139, "total": 0.9995797071456904, "mean": 0.0071912209147172, "stdev": 0.0003687376827329723, "p50": 0.007096453189849854, "p90": 0.007764257621765138, "p95": 0.008076048755645751, "p99": 0.008352338981628418, "values": [ 0.007178213119506836, 0.006955334186553955, 0.006965892791748047, 0.00728461217880249, 0.007244451999664307, 0.007246373176574707, 0.007213572978973389, 0.007170372009277344, 0.007128452777862549, 0.00703997278213501, 0.00698093318939209, 0.007256772041320801, 0.0069226942062377925, 0.006902692794799804, 0.0068663740158081054, 0.006818374156951904, 0.006781894207000733, 0.006776134014129639, 0.006787974834442139, 0.006777255058288574, 0.006903334140777588, 0.006943172931671142, 0.006924133777618408, 0.006903014183044434, 0.006852774143218994, 0.006817413806915283, 0.006805893898010254, 0.006976774215698242, 0.007044454097747802, 0.007096453189849854, 0.0070689330101013186, 0.007103652954101563, 0.007042693138122559, 0.007003973007202149, 0.007075333118438721, 0.007020933151245117, 0.007002052783966065, 0.006925892829895019, 0.006858853816986084, 0.006823173999786377, 0.006861894130706787, 0.006846374034881592, 0.006831173896789551, 0.006859653949737548, 0.006807333946228027, 0.006857413768768311, 0.007134373188018799, 0.007397411823272705, 0.007325732231140137, 0.00728173303604126, 0.007113253116607666, 0.007003973007202149, 0.0070180540084838865, 0.007142852783203125, 0.007058853149414062, 0.006985252857208252, 0.006963172912597656, 0.006887013912200928, 0.006842214107513428, 0.006952134132385254, 0.007099012851715088, 0.007095491886138916, 0.007115172863006592, 0.00700941276550293, 0.006908773899078369, 0.0068518128395080565, 0.0068167738914489745, 0.0068254141807556155, 0.006805414199829101, 0.006954692840576172, 0.007303812026977539, 0.007499170780181885, 0.007433412075042725, 0.007303651809692383, 0.00720477294921875, 0.007035172939300537, 0.006996293067932129, 0.0070708532333374026, 0.007495171070098877, 0.007967649936676025, 0.00798332977294922, 0.007588130950927734, 0.007447811126708984, 0.007278851985931397, 0.007258372783660889, 0.0073462119102478025, 0.008061569213867187, 0.008314047813415527, 0.008375807762145996, 0.008298368453979492, 0.00814124870300293, 0.008089729309082031, 0.008074528694152832, 0.008066529273986817, 0.007963809013366699, 0.008112448692321778, 0.00799004888534546, 0.007714369773864746, 0.007433571815490723, 0.007387331962585449, 0.0073884520530700685, 0.007363011837005615, 0.007298532009124756, 0.007253091812133789, 0.00738397216796875, 0.007438530921936035, 0.00850268840789795, 0.007210372924804687, 0.007188131809234619, 0.007152933120727539, 0.007108613014221192, 0.0071614131927490235, 0.007101892948150635, 0.00711981201171875, 0.0070775728225708, 0.007105253219604492, 0.0071215729713439944, 0.0071449332237243654, 0.007110373020172119, 0.007112133026123047, 0.0070970931053161625, 0.007085412979125977, 0.007226212024688721, 0.007157413005828858, 0.007181571960449219, 0.007230213165283203, 0.007092613220214844, 0.007070693016052246, 0.007092613220214844, 0.007065573215484619, 0.007085893154144287, 0.007063652992248535, 0.007012293815612793, 0.007049733161926269, 0.00708685302734375, 0.007073731899261475, 0.007049092769622803, 0.0070977330207824705, 0.007038853168487549 ] }, "throughput": { "unit": "samples/s", "value": 139.05844527087868 }, "energy": null, "efficiency": null } } }