{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.0+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": "warn", "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": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 827.203584, "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.45931884765625, "mean": 7.45931884765625, "stdev": 0.0, "p50": 7.45931884765625, "p90": 7.45931884765625, "p95": 7.45931884765625, "p99": 7.45931884765625, "values": [ 7.45931884765625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4593769944441863e-06, "ram": 7.818880516978839e-07, "gpu": 1.6347235300010268e-06, "total": 3.875988576143097e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.877824, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 187, "total": 0.9967654714584356, "mean": 0.0053302966388151605, "stdev": 0.0001731948554606014, "p50": 0.0052930560111999515, "p90": 0.005595545768737793, "p95": 0.005633843421936035, "p99": 0.00592828420639038, "values": [ 0.005635072231292724, 0.0056258559226989744, 0.005620736122131348, 0.005605375766754151, 0.005436416149139404, 0.005436416149139404, 0.005390336036682129, 0.005404672145843506, 0.0053350400924682614, 0.005479423999786377, 0.005348351955413819, 0.005355519771575928, 0.0053821439743042, 0.0053002238273620605, 0.005292031764984131, 0.0053862080574035645, 0.005336063861846924, 0.005281792163848877, 0.0053043198585510255, 0.005182464122772217, 0.00520908784866333, 0.0053002238273620605, 0.00526643180847168, 0.005295104026794434, 0.005404672145843506, 0.005348351955413819, 0.00532480001449585, 0.005375999927520752, 0.005302271842956543, 0.00526643180847168, 0.005278719902038574, 0.005292031764984131, 0.005368832111358642, 0.005356544017791748, 0.005325823783874512, 0.0053647360801696775, 0.005379072189331055, 0.005310463905334473, 0.00532480001449585, 0.005307392120361328, 0.005270495891571045, 0.005323775768280029, 0.005352447986602784, 0.0053002238273620605, 0.005345280170440674, 0.0052295360565185545, 0.00515174388885498, 0.005153791904449463, 0.0052367358207702636, 0.005202943801879883, 0.005251071929931641, 0.005254144191741943, 0.005259263992309571, 0.005313471794128418, 0.005278719902038574, 0.0052899842262268066, 0.005336063861846924, 0.005379072189331055, 0.0053125438690185545, 0.005320703983306885, 0.0053534722328186036, 0.005305344104766845, 0.005326848030090332, 0.005303296089172363, 0.005234687805175781, 0.005313536167144775, 0.005534719944000244, 0.0053534722328186036, 0.005635072231292724, 0.0056258559226989744, 0.005583871841430664, 0.0055920639038085935, 0.005468160152435303, 0.005486591815948487, 0.005342207908630371, 0.005220352172851562, 0.0053227200508117675, 0.0054241280555725096, 0.005283840179443359, 0.005305344104766845, 0.005260287761688232, 0.005362656116485596, 0.0052930560111999515, 0.005246975898742676, 0.005213183879852295, 0.005252128124237061, 0.005582848072052002, 0.005535744190216065, 0.005661695957183838, 0.00563097620010376, 0.005616640090942383, 0.005607423782348633, 0.0055808000564575196, 0.005635072231292724, 0.005543935775756836, 0.005543935775756836, 0.005370880126953125, 0.005322751998901368, 0.005239808082580567, 0.005197824001312256, 0.005336063861846924, 0.005254144191741943, 0.005202943801879883, 0.005173247814178467, 0.00515177583694458, 0.005061632156372071, 0.00505241584777832, 0.005180416107177735, 0.005235712051391602, 0.005070847988128662, 0.00501145601272583, 0.004986879825592041, 0.005288959980010987, 0.005243904113769531, 0.0053043198585510255, 0.005398528099060058, 0.005407743930816651, 0.006355967998504639, 0.005746687889099121, 0.005646336078643799, 0.005607423782348633, 0.005955584049224853, 0.005593088150024414, 0.005599232196807862, 0.005923840045928955, 0.005442463874816895, 0.005395391941070557, 0.00531660795211792, 0.005279744148254394, 0.005319680213928223, 0.005280767917633057, 0.005243904113769531, 0.005210112094879151, 0.005320703983306885, 0.0052008957862854, 0.005215231895446777, 0.005256256103515625, 0.005234687805175781, 0.0052070398330688475, 0.005273600101470947, 0.005202911853790283, 0.005206016063690186, 0.005234687805175781, 0.00522649621963501, 0.005195775985717774, 0.005235712051391602, 0.005241856098175048, 0.005463039875030518, 0.005282815933227539, 0.005222400188446045, 0.00521830415725708, 0.005243904113769531, 0.005256127834320068, 0.005202943801879883, 0.005213183879852295, 0.00522649621963501, 0.005238783836364746, 0.005196832180023194, 0.005305344104766845, 0.005202943801879883, 0.005237760066986084, 0.005214208126068115, 0.005223423957824707, 0.005728256225585937, 0.005282815933227539, 0.005189631938934326, 0.005215231895446777, 0.005299200057983398, 0.0052306241989135745, 0.005197824001312256, 0.005260287761688232, 0.005224448204040527, 0.005194752216339111, 0.005235712051391602, 0.00521727991104126, 0.0052408318519592285, 0.005221375942230225, 0.0052367358207702636, 0.005293087959289551, 0.005223423957824707, 0.005146624088287354, 0.005121024131774903, 0.0051036162376403805, 0.0051660799980163576, 0.005124095916748047, 0.005121024131774903, 0.0051968002319335935 ] }, "throughput": { "unit": "samples/s", "value": 187.6068196126293 }, "energy": { "unit": "kWh", "cpu": 6.047997501062832e-08, "ram": 3.3066318109464306e-08, "gpu": 3.219092711326497e-07, "total": 4.1545556425274234e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2406996.2856283956 } } } }