{ "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.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 843.984896, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.873856 }, "latency": { "unit": "s", "values": [ 8.338578125 ], "count": 1, "total": 8.338578125, "mean": 8.338578125, "p50": 8.338578125, "p90": 8.338578125, "p95": 8.338578125, "p99": 8.338578125, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5034185048617608e-06, "ram": 8.039666049506872e-07, "gpu": 3.4836138979987136e-06, "total": 5.7909990078111615e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1054.646272, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.00572211217880249, 0.0053002238273620605, 0.005158912181854248, 0.005152736186981201, 0.00522649621963501, 0.005172224044799805, 0.005210112094879151, 0.005268479824066162, 0.00547430419921875, 0.005162112236022949, 0.005295167922973633, 0.005175295829772949, 0.005121024131774903, 0.005117951869964599, 0.005163008213043213, 0.005108736038208008, 0.005096447944641113, 0.0051363840103149415, 0.00516812801361084, 0.005181439876556396, 0.005150879859924316, 0.005158944129943848, 0.0051333122253417966, 0.00510975980758667, 0.005190656185150146, 0.005138432025909424, 0.005132287979125977, 0.005134335994720459, 0.005185535907745361, 0.005100543975830078, 0.005122176170349121, 0.0051559038162231445, 0.005105663776397705, 0.005244927883148193, 0.005224448204040527, 0.005251967906951904, 0.005165056228637695, 0.0052449598312377926, 0.005056511878967285, 0.005088255882263183, 0.005087232112884522, 0.005218207836151123, 0.005153791904449463, 0.005123072147369385, 0.005156864166259765, 0.005098495960235596, 0.005152768135070801, 0.005108736038208008, 0.005158912181854248, 0.005100480079650879, 0.005133408069610596, 0.005124256134033203, 0.005119999885559082, 0.005119103908538819, 0.005103424072265625, 0.005135359764099121, 0.005093408107757568, 0.005087232112884522, 0.0051138558387756345, 0.005088255882263183, 0.005093183994293213, 0.005085184097290039, 0.005122047901153564, 0.0051998720169067385, 0.0050954241752624516, 0.005117951869964599, 0.005124095916748047, 0.005070847988128662, 0.00513756799697876, 0.0051773438453674315, 0.0050841598510742185, 0.0050769920349121095, 0.005306367874145508, 0.005313536167144775, 0.005171135902404785, 0.005175295829772949, 0.005127232074737548, 0.005121024131774903, 0.005077983856201172, 0.005102591991424561, 0.005003327846527099, 0.005071872234344482, 0.005156832218170166, 0.00507689619064331, 0.0050432000160217285, 0.005102591991424561, 0.005192704200744629, 0.005152768135070801, 0.0051047358512878414, 0.005117055892944336, 0.005201920032501221, 0.0051036162376403805, 0.005092383861541748, 0.005178463935852051, 0.005093311786651612, 0.005112703800201416, 0.005137407779693603, 0.005197824001312256, 0.005134335994720459, 0.005159776210784912, 0.00517632007598877, 0.005090208053588867, 0.005224448204040527, 0.005195775985717774, 0.0051047677993774415, 0.0050800638198852536, 0.00510975980758667, 0.005148672103881836, 0.005107711791992187, 0.005090303897857666, 0.0051701760292053225, 0.005122047901153564, 0.0051138558387756345, 0.00516096019744873, 0.005147583961486816, 0.005321728229522705, 0.005131231784820557, 0.005178368091583252, 0.005165056228637695, 0.005149695873260498, 0.005216256141662597, 0.005164031982421875, 0.005167103767395019, 0.005203968048095703, 0.0052070398330688475, 0.00515993595123291, 0.00510975980758667, 0.00515993595123291, 0.005105663776397705, 0.005096447944641113, 0.005181536197662353, 0.005146624088287354, 0.005127168178558349, 0.00511078405380249, 0.005235712051391602, 0.005100543975830078, 0.005092351913452148, 0.005196735858917236, 0.0051435518264770505, 0.005111807823181152, 0.005108736038208008, 0.005145503997802735, 0.005094431877136231, 0.005074944019317627, 0.005158912181854248, 0.005098495960235596, 0.005066751956939697, 0.005073823928833008, 0.005109856128692627, 0.005079040050506592, 0.00508512020111084, 0.005134208202362061, 0.005111743927001953, 0.0050657281875610355, 0.005111807823181152, 0.005172351837158203, 0.005099520206451416, 0.005102591991424561, 0.005286911964416504, 0.005172224044799805, 0.005104640007019043, 0.005251071929931641, 0.005478400230407715, 0.005532671928405761, 0.005179391860961914, 0.00511897611618042, 0.005113759994506836, 0.005127168178558349, 0.005185535907745361, 0.005101568222045898, 0.005145599842071533, 0.005224448204040527, 0.005125152111053467, 0.005119999885559082, 0.005130239963531494, 0.005261312007904053, 0.005149695873260498, 0.005124095916748047, 0.0051773438453674315, 0.005144576072692871, 0.005128287792205811, 0.005126143932342529, 0.005149695873260498, 0.0050954241752624516, 0.00516096019744873, 0.005197824001312256, 0.005116928100585938, 0.005323775768280029, 0.005526527881622314, 0.005348351955413819, 0.005161983966827393, 0.005179391860961914, 0.005137407779693603 ], "count": 193, "total": 0.9950230393409732, "mean": 0.005155559789331466, "p50": 0.005134335994720459, "p90": 0.005233868885040283, "p95": 0.00530268144607544, "p99": 0.00552701940536499, "stdev": 8.635575393756454e-05, "stdev_": 1.675002472403923 }, "throughput": { "unit": "samples/s", "value": 193.9653579557599 }, "energy": { "unit": "kWh", "cpu": 5.950355146527484e-08, "ram": 3.23898757215789e-08, "gpu": 3.4167388445000004e-07, "total": 4.335673116368538e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2306446.9418247505 } } } }