{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.2", "transformers_commit": null, "accelerate_version": "1.0.0", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 843.862016, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "values": [ 0.12217549133300781 ], "count": 1, "total": 0.12217549133300781, "mean": 0.12217549133300781, "p50": 0.12217549133300781, "p90": 0.12217549133300781, "p95": 0.12217549133300781, "p99": 0.12217549133300781, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1054.117888, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.005570559978485107, 0.005241856098175048, 0.0053647360801696775, 0.00531660795211792, 0.005347328186035156, 0.005361792087554932, 0.005354400157928467, 0.0053340158462524415, 0.0053637118339538575, 0.00530944013595581, 0.005591040134429932, 0.00616860818862915, 0.005616543769836425, 0.005607423782348633, 0.005477375984191894, 0.0055101442337036136, 0.005420032024383545, 0.005483520030975342, 0.005473279953002929, 0.005387263774871826, 0.005258240222930908, 0.005279744148254394, 0.005347328186035156, 0.005312511920928955, 0.005372928142547607, 0.005361663818359375, 0.005230591773986816, 0.005227519989013672, 0.005180416107177735, 0.005268479824066162, 0.005244927883148193, 0.005185535907745361, 0.005282688140869141, 0.005317567825317383, 0.005298175811767578, 0.005344255924224854, 0.005351424217224121, 0.005252031803131103, 0.005339136123657226, 0.005296319961547852, 0.005581823825836182, 0.005401599884033203, 0.0054271998405456545, 0.005508096218109131, 0.005591040134429932, 0.005512191772460938, 0.005464064121246338, 0.005405695915222168, 0.005469183921813964, 0.005259263992309571, 0.005277696132659912, 0.005169151782989502, 0.0050954241752624516, 0.0050809278488159176, 0.00506982421875, 0.005195871829986572, 0.005195775985717774, 0.005179359912872315, 0.005241856098175048, 0.005336063861846924, 0.005198847770690918, 0.00516812801361084, 0.005156864166259765, 0.005814271926879883, 0.005403552055358887, 0.005417984008789062, 0.0053556480407714845, 0.005391359806060791, 0.005220352172851562, 0.00520908784866333, 0.005180416107177735, 0.005310463905334473, 0.0053340158462524415, 0.00536678409576416, 0.00535859203338623, 0.005332992076873779, 0.005313536167144775, 0.005379072189331055, 0.005320703983306885, 0.005204959869384766, 0.005285888195037842, 0.005372928142547607, 0.005264383792877197, 0.005228544235229492, 0.005912576198577881, 0.005214208126068115, 0.005340159893035889, 0.005173344135284424, 0.005090303897857666, 0.005112832069396973, 0.005069791793823242, 0.005018623828887939, 0.0049459199905395506, 0.005179391860961914, 0.005130239963531494, 0.005061632156372071, 0.0049500160217285155, 0.004963327884674072, 0.004915200233459473, 0.005175295829772949, 0.0052008957862854, 0.00522649621963501, 0.005259263992309571, 0.0063805441856384275, 0.005916543960571289, 0.006993919849395752, 0.0065136637687683106, 0.005764063835144043, 0.005400576114654541, 0.005355519771575928, 0.005325856208801269, 0.005244927883148193, 0.005306367874145508, 0.005230591773986816, 0.00519491195678711, 0.005743616104125977, 0.0051968002319335935, 0.005040128231048584, 0.005506048202514649, 0.0051476478576660155, 0.005126143932342529, 0.005056511878967285, 0.004996032238006592, 0.004966400146484375, 0.004933631896972656, 0.00496230411529541, 0.004922368049621582, 0.0049459199905395506, 0.004969471931457519, 0.004957183837890625, 0.00491315221786499, 0.004911104202270508, 0.004940800189971924, 0.004997119903564453, 0.0049428482055664065, 0.004926464080810547, 0.004998144149780274, 0.004932608127593994, 0.004931583881378174, 0.004956160068511963, 0.004935679912567138, 0.004936704158782959, 0.004992000102996826, 0.0049459199905395506, 0.004946944236755371, 0.004933631896972656, 0.004935679912567138, 0.004939775943756103, 0.004921343803405762, 0.004964352130889893, 0.004921343803405762, 0.00497049617767334, 0.0049459199905395506, 0.004971519947052002, 0.004926464080810547, 0.004959231853485108, 0.004903935909271241, 0.004936704158782959, 0.004925439834594727, 0.004925439834594727, 0.004894720077514648, 0.004952064037322998, 0.004967423915863037, 0.004967423915863037, 0.0049489917755126955, 0.004928512096405029, 0.004965375900268554, 0.004986879825592041, 0.004971519947052002, 0.004960256099700928, 0.004929535865783692, 0.0049203200340270994, 0.004959231853485108, 0.004923391819000244, 0.004929535865783692, 0.004952064037322998, 0.004963327884674072, 0.004947968006134033, 0.004959231853485108, 0.0049489917755126955, 0.004959231853485108, 0.004946944236755371, 0.0049387521743774416, 0.00495411205291748, 0.00496127986907959, 0.004967423915863037, 0.004956160068511963, 0.004966400146484375, 0.004973567962646484, 0.004992000102996826, 0.0049725441932678225, 0.00495411205291748 ], "count": 192, "total": 0.998947679519653, "mean": 0.0052028524974981945, "p50": 0.005182976007461548, "p90": 0.005482905626296997, "p95": 0.005611527776718139, "p99": 0.006392524948120117, "stdev": 0.00029726538957727377, "stdev_": 5.713507921283846 }, "throughput": { "unit": "samples/s", "value": 192.20225837285463 }, "energy": { "unit": "kWh", "cpu": 5.9166252421924015e-08, "ram": 3.233045733897365e-08, "gpu": 3.45467385273623e-07, "total": 4.369640950345206e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2288517.5495277224 } } } }