{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_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": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 909.979648, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 166, "total": 0.9951713624000545, "mean": 0.005995008207229247, "stdev": 0.00019188055179377396, "p50": 0.006012415885925293, "p90": 0.006193664073944092, "p95": 0.006246399879455566, "p99": 0.00652349429130554, "values": [ 0.006388735771179199, 0.005963776111602783, 0.006902751922607422, 0.006258687973022461, 0.006194176197052002, 0.0062494721412658695, 0.006707200050354004, 0.006240255832672119, 0.006322175979614258, 0.006195199966430664, 0.006248447895050049, 0.006146048069000244, 0.0064245758056640625, 0.006171648025512695, 0.006158336162567139, 0.006182911872863769, 0.006136832237243653, 0.006009920120239258, 0.006007743835449219, 0.0060804481506347655, 0.0060405759811401364, 0.006195199966430664, 0.006124544143676758, 0.006172639846801758, 0.0061265921592712404, 0.006159359931945801, 0.006094848155975342, 0.0060999679565429685, 0.006089727878570556, 0.006132736206054688, 0.006182943820953369, 0.006109183788299561, 0.0061562881469726565, 0.006147071838378906, 0.006173727989196777, 0.006080512046813965, 0.006146048069000244, 0.006144000053405762, 0.006131711959838867, 0.00616755199432373, 0.006032383918762207, 0.00597811222076416, 0.005987391948699951, 0.00607539176940918, 0.006085631847381592, 0.006011903762817383, 0.006012928009033203, 0.006096896171569824, 0.006112256050109863, 0.006189055919647217, 0.0061296639442443845, 0.0061972479820251464, 0.006158336162567139, 0.006131711959838867, 0.0061337599754333495, 0.006093823909759521, 0.006115327835083008, 0.006116352081298828, 0.006171648025512695, 0.0060364799499511715, 0.005912576198577881, 0.0059770879745483394, 0.006073344230651856, 0.005990399837493897, 0.006090752124786377, 0.006071296215057373, 0.00612556791305542, 0.006062079906463623, 0.006231040000915527, 0.0060590081214904785, 0.006021120071411133, 0.006037439823150635, 0.006022143840789795, 0.006060031890869141, 0.006055935859680176, 0.006085631847381592, 0.0060590081214904785, 0.006100992202758789, 0.00614086389541626, 0.0061931519508361815, 0.006146048069000244, 0.006180863857269287, 0.0061634559631347655, 0.006207488059997559, 0.006109183788299561, 0.0061265921592712404, 0.00608460807800293, 0.0059996161460876465, 0.006209536075592041, 0.006054912090301514, 0.005987328052520752, 0.005882880210876465, 0.0058388481140136715, 0.00602726411819458, 0.006003712177276611, 0.005844992160797119, 0.005783552169799804, 0.005752831935882568, 0.005796864032745362, 0.005807104110717773, 0.0058716158866882326, 0.005944320201873779, 0.005894144058227539, 0.005933055877685547, 0.005900288105010986, 0.006007808208465576, 0.006011903762817383, 0.006260735988616943, 0.006044672012329101, 0.0058716158866882326, 0.005785600185394287, 0.005830656051635743, 0.005803008079528809, 0.005823488235473633, 0.005788671970367432, 0.005851136207580566, 0.00577129602432251, 0.005807104110717773, 0.005761023998260498, 0.005787648200988769, 0.005781504154205322, 0.005764095783233642, 0.005805056095123291, 0.005745664119720459, 0.005795839786529541, 0.005750783920288086, 0.005784639835357666, 0.005767168045043946, 0.0058726401329040525, 0.0057497601509094234, 0.00577023983001709, 0.005743616104125977, 0.005750815868377685, 0.005766143798828125, 0.005743616104125977, 0.005772287845611572, 0.005799935817718506, 0.005805056095123291, 0.005766208171844482, 0.005769216060638428, 0.005760000228881836, 0.005727231979370117, 0.005780479907989502, 0.005753856182098388, 0.005830656051635743, 0.005736447811126709, 0.005784575939178467, 0.0058388481140136715, 0.005765120029449463, 0.005753856182098388, 0.005798912048339844, 0.0057712640762329105, 0.005761023998260498, 0.0058429441452026365, 0.005756927967071533, 0.005948416233062744, 0.005832704067230224, 0.005894144058227539, 0.005764063835144043, 0.005776383876800537, 0.005879807949066162, 0.005849088191986084, 0.005786623954772949, 0.005958655834197998, 0.005804031848907471, 0.005853184223175049 ] }, "throughput": { "unit": "samples/s", "value": 166.80544303410997 }, "energy": { "unit": "kWh", "cpu": 6.883993398311527e-08, "ram": 3.7637134960806536e-08, "gpu": 3.657044269302345e-07, "total": 4.721814958741563e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2117829.7089950247 } } } }