{ "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.223-212.873.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.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": 839.471104, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.92772216796875, "mean": 7.92772216796875, "stdev": 0.0, "p50": 7.92772216796875, "p90": 7.92772216796875, "p95": 7.92772216796875, "p99": 7.92772216796875, "values": [ 7.92772216796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4888148083329612e-06, "ram": 7.962252508841301e-07, "gpu": 1.6644457759996262e-06, "total": 3.949485835216717e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1048.9856, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 194, "total": 0.9993883838653564, "mean": 0.005151486514769879, "stdev": 0.00016434727976810887, "p50": 0.005197824001312256, "p90": 0.005331967830657959, "p95": 0.005366220736503601, "p99": 0.005475686354637146, "values": [ 0.005350399971008301, 0.005298175811767578, 0.005475327968597412, 0.005391359806060791, 0.005336063861846924, 0.005310400009155274, 0.005331967830657959, 0.005283840179443359, 0.005336063861846924, 0.005345280170440674, 0.00531660795211792, 0.00532480001449585, 0.005441535949707031, 0.005253119945526123, 0.005223264217376709, 0.00525324821472168, 0.0052674560546875, 0.005323775768280029, 0.005271520137786865, 0.005125120162963868, 0.00506879997253418, 0.005118912220001221, 0.005180416107177735, 0.00521830415725708, 0.005205088138580323, 0.005250048160552978, 0.005350399971008301, 0.005331967830657959, 0.005336031913757324, 0.0052971520423889164, 0.0053309440612792965, 0.005413887977600097, 0.005251071929931641, 0.005276671886444092, 0.005434368133544922, 0.005254144191741943, 0.005281792163848877, 0.005241856098175048, 0.005245952129364013, 0.005269504070281982, 0.005222335815429687, 0.005244927883148193, 0.005310431957244873, 0.00520908784866333, 0.005202816009521484, 0.005230591773986816, 0.0051803522109985355, 0.005252096176147461, 0.00525929594039917, 0.005216127872467041, 0.005124095916748047, 0.005067776203155518, 0.005122047901153564, 0.005255231857299805, 0.005193727970123291, 0.005513216018676758, 0.005241856098175048, 0.0052070398330688475, 0.005195775985717774, 0.005244927883148193, 0.005201920032501221, 0.005238783836364746, 0.005286911964416504, 0.005264351844787598, 0.005315648078918457, 0.005242879867553711, 0.00546611213684082, 0.005299263954162597, 0.005318655967712403, 0.005370880126953125, 0.005425151824951172, 0.005150720119476319, 0.005197824001312256, 0.005268479824066162, 0.005351424217224121, 0.00531763219833374, 0.005318784236907959, 0.005204127788543701, 0.0052808961868286135, 0.005278719902038574, 0.0052336640357971195, 0.005139455795288086, 0.0051036162376403805, 0.005178368091583252, 0.005259359836578369, 0.005249023914337158, 0.005251071929931641, 0.005312511920928955, 0.0052070398330688475, 0.005172224044799805, 0.005184512138366699, 0.005164031982421875, 0.005262368202209473, 0.0051497921943664555, 0.005216224193572998, 0.005173215866088867, 0.00519379186630249, 0.0052070398330688475, 0.005214240074157715, 0.005334976196289062, 0.0053637118339538575, 0.005328896045684814, 0.005313536167144775, 0.005282815933227539, 0.005320703983306885, 0.005283840179443359, 0.005280767917633057, 0.005180416107177735, 0.005251071929931641, 0.005246975898742676, 0.005221375942230225, 0.005167103767395019, 0.00510969591140747, 0.005262335777282715, 0.005237760066986084, 0.00511897611618042, 0.005134335994720459, 0.005122047901153564, 0.005059584140777588, 0.004975615978240967, 0.0051404800415039064, 0.005206016063690186, 0.005082111835479736, 0.0050022401809692385, 0.004963327884674072, 0.004939775943756103, 0.00495411205291748, 0.0049725441932678225, 0.005037055969238281, 0.005281792163848877, 0.005154816150665284, 0.005139455795288086, 0.005197824001312256, 0.005274623870849609, 0.005480447769165039, 0.00522547197341919, 0.0050462718009948735, 0.0050503678321838375, 0.005023744106292725, 0.00511897611618042, 0.005047327995300293, 0.005035967826843262, 0.005026815891265869, 0.005040128231048584, 0.005020607948303222, 0.00502780818939209, 0.005097472190856934, 0.005017600059509277, 0.005065887928009033, 0.005089280128479004, 0.004976640224456787, 0.004867072105407715, 0.004836351871490479, 0.004839424133300781, 0.0048230400085449215, 0.004876287937164306, 0.0048261117935180665, 0.004873216152191162, 0.004896768093109131, 0.0048855037689208985, 0.004901887893676758, 0.004951039791107178, 0.0049725441932678225, 0.004971519947052002, 0.0050124797821044925, 0.004960256099700928, 0.004947968006134033, 0.004943871974945068, 0.0049459199905395506, 0.004896768093109131, 0.004915200233459473, 0.004891647815704346, 0.004934656143188477, 0.004900864124298096, 0.004880383968353271, 0.004902912139892578, 0.004890624046325683, 0.004897791862487793, 0.004890624046325683, 0.004899839878082276, 0.00491315221786499, 0.004952064037322998, 0.004946944236755371, 0.00496127986907959, 0.004967423915863037, 0.004980735778808594, 0.004935679912567138, 0.0049192957878112795, 0.004925439834594727, 0.004897791862487793, 0.004929535865783692, 0.004911104202270508, 0.004900864124298096, 0.004899839878082276 ] }, "throughput": { "unit": "samples/s", "value": 194.1187261449467 }, "energy": { "unit": "kWh", "cpu": 6.146447050229861e-08, "ram": 3.3604544054587405e-08, "gpu": 3.4435836414508027e-07, "total": 4.394273787019663e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2275688.8816393754 } } } }