{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "library": "transformers", "model_type": "roberta", "model": "FacebookAI/roberta-base", "processor": "FacebookAI/roberta-base", "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": 788.201472, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.3738916015625, "mean": 7.3738916015625, "stdev": 0.0, "p50": 7.3738916015625, "p90": 7.3738916015625, "p95": 7.3738916015625, "p99": 7.3738916015625, "values": [ 7.3738916015625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.653178263885922e-07, "ram": 4.584137916818688e-07, "gpu": 0.0, "total": 1.3237316180704611e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1084.112896, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 133, "total": 0.9968165755271909, "mean": 0.007494861470129257, "stdev": 0.000339218940209733, "p50": 0.007535615921020508, "p90": 0.007839129734039305, "p95": 0.007880703926086426, "p99": 0.008829561920166018, "values": [ 0.00794316816329956, 0.007880703926086426, 0.007890944004058837, 0.007867392063140868, 0.00774348783493042, 0.0075980801582336424, 0.007864319801330566, 0.007820288181304931, 0.007579648017883301, 0.007610367774963379, 0.0075970239639282225, 0.0077506561279296875, 0.0075335679054260255, 0.0077199358940124516, 0.007766016006469726, 0.007658495903015137, 0.007599040031433106, 0.007623680114746094, 0.007589888095855713, 0.007514111995697022, 0.007543807983398438, 0.007672832012176513, 0.007591936111450195, 0.007610367774963379, 0.007609344005584716, 0.007609344005584716, 0.007584767818450928, 0.007707647800445557, 0.007878655910491944, 0.007868415832519531, 0.007781375885009765, 0.007591936111450195, 0.007498752117156982, 0.007523327827453613, 0.007535615921020508, 0.007535615921020508, 0.007574528217315674, 0.00760319995880127, 0.007639039993286132, 0.007624703884124756, 0.007616511821746826, 0.007600128173828125, 0.007579648017883301, 0.009174015998840332, 0.008943584442138672, 0.00858726406097412, 0.007854080200195313, 0.0077844481468200685, 0.00780083179473877, 0.00774348783493042, 0.007734272003173828, 0.00754585599899292, 0.007615488052368164, 0.007542816162109375, 0.007526400089263916, 0.0075304961204528805, 0.007547904014587403, 0.007544832229614258, 0.007494656085968018, 0.007523263931274414, 0.007576576232910156, 0.007684095859527588, 0.007666687965393066, 0.0076277761459350585, 0.007617536067962646, 0.007573503971099854, 0.007558144092559814, 0.0075632638931274416, 0.007488512039184571, 0.007588831901550293, 0.0074925761222839355, 0.007512063980102539, 0.007391232013702393, 0.007359488010406494, 0.007497727870941162, 0.007372799873352051, 0.007176191806793213, 0.0071905279159545895, 0.007226367950439453, 0.0077506561279296875, 0.007773183822631836, 0.007792640209197998, 0.0078438401222229, 0.007911424160003662, 0.007880703926086426, 0.007517183780670166, 0.007425024032592774, 0.007362559795379638, 0.007411712169647216, 0.007455743789672851, 0.0073062400817871095, 0.007286784172058106, 0.007364607810974121, 0.007729152202606201, 0.007387135982513428, 0.007416831970214844, 0.007153664112091064, 0.00709939193725586, 0.0070860800743103025, 0.007057407855987549, 0.007104512214660645, 0.007109632015228271, 0.0070830078125, 0.007129087924957276, 0.007072703838348389, 0.007074816226959229, 0.0070891518592834475, 0.007094272136688232, 0.007160831928253173, 0.007138304233551026, 0.007174143791198731, 0.007221248149871826, 0.0071485438346862796, 0.007161856174468994, 0.0070850238800048825, 0.0070860800743103025, 0.007098368167877197, 0.007090176105499267, 0.007085055828094483, 0.00713318395614624, 0.007110655784606934, 0.007062528133392334, 0.007108607769012451, 0.007072768211364746, 0.007080959796905518, 0.007078911781311035, 0.007063551902770996, 0.0071157760620117185, 0.0071157760620117185, 0.007131135940551757, 0.007117824077606201, 0.0071188478469848635, 0.007097343921661377 ] }, "throughput": { "unit": "samples/s", "value": 133.42474760680986 }, "energy": { "unit": "kWh", "cpu": 8.852724996890976e-08, "ram": 4.833838955793149e-08, "gpu": 1.6385377950746162e-07, "total": 3.007194190343029e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3325358.911676836 } } } }