{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.6.0.dev20240917+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.224-212.876.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.2", "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.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 853.393408, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.6045478515625, "mean": 8.6045478515625, "stdev": 0.0, "p50": 8.6045478515625, "p90": 8.6045478515625, "p95": 8.6045478515625, "p99": 8.6045478515625, "values": [ 8.6045478515625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5046291881996393e-06, "ram": 8.05442962786546e-07, "gpu": 3.529447268002528e-06, "total": 5.839519418988713e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1058.648064, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 186, "total": 0.9973839359283451, "mean": 0.005362279225421208, "stdev": 0.0002168692162540814, "p50": 0.005291007995605469, "p90": 0.005619712114334107, "p95": 0.005772288084030151, "p99": 0.006270361590385437, "values": [ 0.005773312091827393, 0.005628896236419678, 0.005769216060638428, 0.0057292799949646, 0.005700672149658203, 0.005701632022857666, 0.005643263816833496, 0.005726208209991455, 0.005601215839385987, 0.006198272228240966, 0.005153791904449463, 0.005017600059509277, 0.005025792121887207, 0.005035007953643799, 0.005310463905334473, 0.0054241280555725096, 0.005320703983306885, 0.005274623870849609, 0.005306367874145508, 0.0053340158462524415, 0.005310463905334473, 0.005294079780578613, 0.00530944013595581, 0.005277696132659912, 0.005286911964416504, 0.005307392120361328, 0.0052971520423889164, 0.005277760028839111, 0.005806079864501953, 0.005444608211517334, 0.005331967830657959, 0.005346303939819336, 0.005332992076873779, 0.00537497615814209, 0.005274623870849609, 0.005178271770477295, 0.0052674560546875, 0.005288959980010987, 0.005274623870849609, 0.005272575855255127, 0.005321728229522705, 0.005264383792877197, 0.005261312007904053, 0.005275648117065429, 0.005268479824066162, 0.005272575855255127, 0.005298175811767578, 0.005251071929931641, 0.0052705278396606445, 0.005276671886444092, 0.00527452802658081, 0.005259263992309571, 0.005337088108062744, 0.005244927883148193, 0.005279744148254394, 0.005282815933227539, 0.005280767917633057, 0.0052899842262268066, 0.0052705278396606445, 0.0052501120567321775, 0.005272575855255127, 0.005285952091217041, 0.005248000144958496, 0.005265408039093018, 0.005486591815948487, 0.005249023914337158, 0.005256192207336426, 0.005264383792877197, 0.005272575855255127, 0.005268479824066162, 0.0052971520423889164, 0.005306367874145508, 0.005253119945526123, 0.005298175811767578, 0.005386240005493164, 0.005241856098175048, 0.005302271842956543, 0.0052633600234985355, 0.005276671886444092, 0.005275680065155029, 0.005255167961120606, 0.005278719902038574, 0.005287936210632324, 0.005272575855255127, 0.005239808082580567, 0.005291007995605469, 0.005285888195037842, 0.005263296127319336, 0.005265408039093018, 0.005281792163848877, 0.005307392120361328, 0.005291007995605469, 0.005307392120361328, 0.005289023876190186, 0.005303296089172363, 0.005277696132659912, 0.005264383792877197, 0.005315584182739258, 0.005275648117065429, 0.0052633600234985355, 0.005274623870849609, 0.005275648117065429, 0.00535859203338623, 0.005532512187957764, 0.005612544059753418, 0.005356575965881348, 0.005414912223815918, 0.006120448112487793, 0.00547430419921875, 0.0053688640594482424, 0.005288959980010987, 0.005332992076873779, 0.005298175811767578, 0.005280767917633057, 0.005320703983306885, 0.005269504070281982, 0.005278719902038574, 0.005280767917633057, 0.005302271842956543, 0.005280735969543457, 0.005318655967712403, 0.005342207908630371, 0.005289023876190186, 0.005315584182739258, 0.0052971520423889164, 0.005281792163848877, 0.0053012480735778805, 0.005353504180908203, 0.005298175811767578, 0.00536575984954834, 0.005275648117065429, 0.005281792163848877, 0.005296127796173096, 0.005215231895446777, 0.005216256141662597, 0.005174272060394287, 0.005188608169555664, 0.005352447986602784, 0.005452799797058106, 0.005297056198120117, 0.005326848030090332, 0.00530944013595581, 0.005275648117065429, 0.005262335777282715, 0.005285888195037842, 0.005273600101470947, 0.005322751998901368, 0.00532480001449585, 0.005355519771575928, 0.005254144191741943, 0.005283840179443359, 0.005419007778167725, 0.0060405759811401364, 0.006176767826080322, 0.006209536075592041, 0.006301695823669433, 0.00633132791519165, 0.006264832019805908, 0.005626880168914795, 0.005479423999786377, 0.005598207950592041, 0.005700607776641845, 0.005326848030090332, 0.0053309440612792965, 0.0053309440612792965, 0.0052367358207702636, 0.005311488151550293, 0.005344255924224854, 0.005298175811767578, 0.00530944013595581, 0.005294079780578613, 0.005287903785705567, 0.005285888195037842, 0.005303328037261963, 0.005303296089172363, 0.005398528099060058, 0.00530841588973999, 0.005287968158721924, 0.005273600101470947, 0.005284863948822022, 0.005251071929931641, 0.005259263992309571, 0.005286911964416504, 0.005272575855255127, 0.0052847681045532224, 0.005307392120361328 ] }, "throughput": { "unit": "samples/s", "value": 186.48786420133686 }, "energy": { "unit": "kWh", "cpu": 5.843648234952492e-08, "ram": 3.1872973440652656e-08, "gpu": 3.2392727439213266e-07, "total": 4.1423673018231027e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2414078.5380376307 } } } }