{ "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": "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.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.183104, "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.41536669921875, "mean": 7.41536669921875, "stdev": 0.0, "p50": 7.41536669921875, "p90": 7.41536669921875, "p95": 7.41536669921875, "p99": 7.41536669921875, "values": [ 7.41536669921875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4623932666666741e-06, "ram": 7.857277092212291e-07, "gpu": 1.6861124599995211e-06, "total": 3.934233435887424e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.591104, "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.9988413429260252, "mean": 0.005341397555754147, "stdev": 0.0002582077652714088, "p50": 0.005278719902038574, "p90": 0.005624179267883301, "p95": 0.005669580745697021, "p99": 0.005930987462997428, "values": [ 0.005789696216583252, 0.0056360640525817875, 0.005649407863616943, 0.00568012809753418, 0.005624832153320313, 0.005660672187805176, 0.00561356782913208, 0.005591040134429932, 0.005563392162322998, 0.005555232048034668, 0.005585919857025146, 0.005586944103240967, 0.006687744140625, 0.005831679821014404, 0.006465536117553711, 0.005519392013549805, 0.005480447769165039, 0.005404672145843506, 0.005420032024383545, 0.005534719944000244, 0.005573631763458252, 0.005661695957183838, 0.005583871841430664, 0.005566463947296142, 0.005598207950592041, 0.0055623679161071774, 0.005683199882507324, 0.0055511040687561035, 0.0054906878471374515, 0.0056217598915100095, 0.005561344146728516, 0.005843967914581299, 0.005566463947296142, 0.005605375766754151, 0.005581823825836182, 0.005532671928405761, 0.005543935775756836, 0.005519360065460205, 0.005548031806945801, 0.005530623912811279, 0.005242879867553711, 0.005272575855255127, 0.005126143932342529, 0.005061632156372071, 0.005048319816589355, 0.00511078405380249, 0.005184512138366699, 0.005158847808837891, 0.005248000144958496, 0.0052008957862854, 0.005186560153961181, 0.0051968002319335935, 0.005186560153961181, 0.005268479824066162, 0.0052715520858764645, 0.00530841588973999, 0.0052705278396606445, 0.005288959980010987, 0.005264383792877197, 0.00521727991104126, 0.005179391860961914, 0.005189631938934326, 0.005405695915222168, 0.005322751998901368, 0.005278719902038574, 0.0052971520423889164, 0.005369855880737305, 0.005325823783874512, 0.005254144191741943, 0.005117951869964599, 0.005124095916748047, 0.005144576072692871, 0.005172224044799805, 0.005192704200744629, 0.005600255966186523, 0.005658624172210694, 0.0054988799095153805, 0.005472256183624268, 0.0055203518867492675, 0.005494783878326416, 0.005603328227996827, 0.005500927925109863, 0.005475327968597412, 0.005493760108947754, 0.005518335819244385, 0.005540863990783691, 0.005634047985076904, 0.005608448028564453, 0.005623744010925293, 0.005668863773345947, 0.005567488193511963, 0.005593088150024414, 0.0055203838348388675, 0.005578752040863037, 0.005532639980316162, 0.005440512180328369, 0.005469183921813964, 0.005554175853729248, 0.005560319900512695, 0.005398528099060058, 0.005398528099060058, 0.00537395191192627, 0.005318655967712403, 0.005311488151550293, 0.005470208168029785, 0.005405695915222168, 0.005216256141662597, 0.005208064079284668, 0.005231616020202637, 0.005159967899322509, 0.005244927883148193, 0.005404607772827148, 0.00536678409576416, 0.005471231937408447, 0.005419007778167725, 0.00542310380935669, 0.005529600143432617, 0.005553152084350586, 0.005646336078643799, 0.005321728229522705, 0.005740543842315674, 0.005181439876556396, 0.005005311965942383, 0.004984831809997559, 0.0049725441932678225, 0.004989952087402344, 0.00496230411529541, 0.004975615978240967, 0.005142528057098389, 0.005294079780578613, 0.005194752216339111, 0.005167103767395019, 0.005174335956573487, 0.00510975980758667, 0.005111839771270752, 0.005096447944641113, 0.005142528057098389, 0.005148672103881836, 0.005115903854370117, 0.005154816150665284, 0.005138432025909424, 0.005129216194152832, 0.005157887935638428, 0.005121024131774903, 0.0051333122253417966, 0.005127168178558349, 0.005163008213043213, 0.005161983966827393, 0.005119999885559082, 0.005132287979125977, 0.005125120162963868, 0.005124095916748047, 0.00515177583694458, 0.0051435518264770505, 0.005121024131774903, 0.005294079780578613, 0.005195775985717774, 0.005783552169799804, 0.005141503810882568, 0.005174272060394287, 0.005131264209747314, 0.005127168178558349, 0.005255167961120606, 0.005669888019561768, 0.005112832069396973, 0.005179391860961914, 0.005220352172851562, 0.0051159682273864745, 0.005123072147369385, 0.005161983966827393, 0.0051404800415039064, 0.0051660799980163576, 0.005165056228637695, 0.005142528057098389, 0.005221375942230225, 0.005183487892150879, 0.005122047901153564, 0.0050206718444824215, 0.004924416065216064, 0.0049387521743774416, 0.004999167919158935, 0.0050135040283203125, 0.004890624046325683, 0.004907008171081543, 0.004899839878082276, 0.004918272018432617, 0.005087232112884522 ] }, "throughput": { "unit": "samples/s", "value": 187.21692020896785 }, "energy": { "unit": "kWh", "cpu": 6.081135487535421e-08, "ram": 3.324696003934473e-08, "gpu": 3.3389627851282307e-07, "total": 4.27954593427522e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2336696.4985488798 } } } }