{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 757.559296, "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.27643017578125, "mean": 7.27643017578125, "stdev": 0.0, "p50": 7.27643017578125, "p90": 7.27643017578125, "p95": 7.27643017578125, "p99": 7.27643017578125, "values": [ 7.27643017578125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.670114530457391e-06, "ram": 8.996043103762e-07, "gpu": 1.5616679160009028e-06, "total": 4.131386756834493e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 889.872384, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 201, "total": 0.9996350083351141, "mean": 0.004973308499179669, "stdev": 0.00012100893632930808, "p50": 0.004951039791107178, "p90": 0.00506982421875, "p95": 0.005298175811767578, "p99": 0.005407743930816651, "values": [ 0.005407743930816651, 0.005352447986602784, 0.005368800163269043, 0.005388288021087646, 0.005298175811767578, 0.005327871799468994, 0.005310463905334473, 0.005302271842956543, 0.0052941122055053715, 0.005557248115539551, 0.005091328144073487, 0.004868095874786377, 0.004867072105407715, 0.004865024089813232, 0.00487014389038086, 0.00487116813659668, 0.004865024089813232, 0.004863999843597412, 0.004869120121002197, 0.00487014389038086, 0.004869120121002197, 0.004873216152191162, 0.00486297607421875, 0.004865024089813232, 0.004868095874786377, 0.00487014389038086, 0.004868095874786377, 0.00487014389038086, 0.004868095874786377, 0.00487014389038086, 0.004893695831298828, 0.004977663993835449, 0.004951039791107178, 0.004867072105407715, 0.004868095874786377, 0.00487014389038086, 0.004895743846893311, 0.004963327884674072, 0.004960256099700928, 0.005018623828887939, 0.0050165758132934574, 0.0049725441932678225, 0.004959231853485108, 0.005008384227752686, 0.004966400146484375, 0.004956160068511963, 0.004943871974945068, 0.00495411205291748, 0.004940800189971924, 0.004932608127593994, 0.004939775943756103, 0.004971519947052002, 0.004951039791107178, 0.004943871974945068, 0.004939775943756103, 0.004922368049621582, 0.00501145601272583, 0.004929535865783692, 0.00491212797164917, 0.004933631896972656, 0.004959231853485108, 0.0049387521743774416, 0.004931583881378174, 0.004934656143188477, 0.004922368049621582, 0.004958208084106445, 0.00491212797164917, 0.004926464080810547, 0.004929535865783692, 0.005605375766754151, 0.004987904071807861, 0.004981760025024414, 0.004998144149780274, 0.004986879825592041, 0.0049500160217285155, 0.004925439834594727, 0.005035007953643799, 0.004941823959350586, 0.004929535865783692, 0.005029888153076172, 0.0050503678321838375, 0.004944896221160889, 0.005008384227752686, 0.005054463863372802, 0.004974592208862305, 0.004958208084106445, 0.004992000102996826, 0.00497049617767334, 0.004923391819000244, 0.004992000102996826, 0.004930560111999512, 0.00496127986907959, 0.004943871974945068, 0.004973567962646484, 0.004932608127593994, 0.004940800189971924, 0.005051392078399658, 0.0051066880226135255, 0.005089280128479004, 0.005079040050506592, 0.00511897611618042, 0.0053309440612792965, 0.00506982421875, 0.004992000102996826, 0.004992000102996826, 0.004947968006134033, 0.004946944236755371, 0.004973567962646484, 0.005018623828887939, 0.004975615978240967, 0.00496127986907959, 0.004971519947052002, 0.005026815891265869, 0.00496127986907959, 0.004959231853485108, 0.004968480110168457, 0.0050032639503479, 0.00496230411529541, 0.004956192016601563, 0.004952064037322998, 0.004980735778808594, 0.004980735778808594, 0.004999167919158935, 0.004957183837890625, 0.004992000102996826, 0.00496230411529541, 0.004931583881378174, 0.004941823959350586, 0.0049725441932678225, 0.004969471931457519, 0.005252096176147461, 0.0050728960037231445, 0.005040128231048584, 0.005007359981536865, 0.0049827837944030765, 0.005018623828887939, 0.005059584140777588, 0.00501145601272583, 0.00499507188796997, 0.005000192165374756, 0.00506982421875, 0.004956160068511963, 0.00486195182800293, 0.004857855796813965, 0.004860928058624267, 0.004934656143188477, 0.004988927841186524, 0.004944896221160889, 0.004951039791107178, 0.004973567962646484, 0.0049387521743774416, 0.004941823959350586, 0.004930560111999512, 0.0050063362121582035, 0.004932608127593994, 0.004931583881378174, 0.0050094079971313476, 0.005015552043914795, 0.004924416065216064, 0.004931583881378174, 0.004915200233459473, 0.004968448162078858, 0.004952064037322998, 0.004926464080810547, 0.004927487850189209, 0.0049797120094299315, 0.004973567962646484, 0.004951039791107178, 0.0049203200340270994, 0.004922368049621582, 0.00495411205291748, 0.004929535865783692, 0.004915200233459473, 0.00491315221786499, 0.0049500160217285155, 0.004922368049621582, 0.0049162240028381345, 0.004966400146484375, 0.0049428482055664065, 0.004966400146484375, 0.004937727928161621, 0.00495411205291748, 0.0049387521743774416, 0.004859903812408447, 0.004858880043029785, 0.00486297607421875, 0.004857855796813965, 0.004863999843597412, 0.00486297607421875, 0.00486297607421875, 0.004863999843597412, 0.00486195182800293, 0.004865024089813232, 0.004859903812408447, 0.00486195182800293, 0.004863999843597412, 0.00486297607421875, 0.00486297607421875, 0.004865024089813232, 0.00486195182800293, 0.004925439834594727 ] }, "throughput": { "unit": "samples/s", "value": 201.07339011142113 }, "energy": { "unit": "kWh", "cpu": 5.771122586419546e-08, "ram": 3.15545358877763e-08, "gpu": 3.206716625402979e-07, "total": 4.099374242922697e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2439396.6999388626 } } } }