{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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.33.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": 787.92704, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.4015693359375, "mean": 7.4015693359375, "stdev": 0.0, "p50": 7.4015693359375, "p90": 7.4015693359375, "p95": 7.4015693359375, "p99": 7.4015693359375, "values": [ 7.4015693359375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0798982486108285e-06, "ram": 5.587103481720068e-07, "gpu": 1.74583473000001e-06, "total": 3.384443326782845e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1077.06368, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 142, "total": 1.0014349422454834, "mean": 0.007052358748207629, "stdev": 0.00024274461149162785, "p50": 0.007137280225753785, "p90": 0.007309926509857178, "p95": 0.007418612647056579, "p99": 0.00747407352924347, "values": [ 0.007418975830078125, 0.007478271961212158, 0.007468031883239746, 0.0074414081573486324, 0.00744652795791626, 0.00743936014175415, 0.007411712169647216, 0.007409664154052734, 0.0072499198913574215, 0.00725708818435669, 0.007242623805999756, 0.007228415966033935, 0.007132192134857177, 0.007117824077606201, 0.007132160186767578, 0.007169023990631103, 0.007164927959442138, 0.007226367950439453, 0.007250944137573242, 0.007227456092834473, 0.0072254080772399904, 0.0071905279159545895, 0.007142399787902832, 0.007310336112976074, 0.007209983825683594, 0.00727347183227539, 0.007300096035003662, 0.007226367950439453, 0.007169023990631103, 0.007160672187805176, 0.007162879943847656, 0.0071792640686035155, 0.007178271770477295, 0.0074629120826721195, 0.0071691198348999025, 0.007107583999633789, 0.007164927959442138, 0.007174143791198731, 0.007134208202362061, 0.007204895973205567, 0.007180287837982178, 0.007204703807830811, 0.007305215835571289, 0.0073062400817871095, 0.007201791763305664, 0.007275519847869873, 0.007263232231140137, 0.007182240009307861, 0.007185408115386963, 0.0072120318412780765, 0.0073768959045410155, 0.007158783912658692, 0.007193600177764893, 0.007259136199951172, 0.007101439952850342, 0.007095295906066895, 0.007179232120513916, 0.007156735897064209, 0.007275519847869873, 0.007135231971740722, 0.007136256217956543, 0.007154687881469727, 0.007218175888061523, 0.007135231971740722, 0.007157760143280029, 0.0071495680809020995, 0.007185408115386963, 0.00723967981338501, 0.00739737606048584, 0.007229440212249756, 0.007185408115386963, 0.007279551982879638, 0.007394303798675537, 0.007717887878417969, 0.007225344181060791, 0.007155712127685547, 0.007129087924957276, 0.007180287837982178, 0.007107583999633789, 0.007138304233551026, 0.006999040126800537, 0.006985727787017822, 0.007171072006225586, 0.00698367977142334, 0.006799359798431396, 0.006816768169403077, 0.0068986878395080565, 0.007054336071014404, 0.007105535984039306, 0.007106560230255127, 0.007082943916320801, 0.0071792640686035155, 0.00733081579208374, 0.006988800048828125, 0.006769792079925537, 0.006840320110321045, 0.006753407955169678, 0.006736959934234619, 0.006797311782836914, 0.006810624122619629, 0.00672051191329956, 0.006816768169403077, 0.006819839954376221, 0.006807551860809326, 0.006814720153808594, 0.00672764778137207, 0.00675328016281128, 0.006793216228485107, 0.006746111869812011, 0.006724607944488525, 0.0067849278450012205, 0.006788095951080322, 0.006762495994567871, 0.0067870721817016606, 0.0067573761940002445, 0.006780992031097412, 0.006813695907592773, 0.0067420158386230465, 0.00672051191329956, 0.006779903888702392, 0.0066979842185974124, 0.006729728221893311, 0.006732736110687256, 0.006680575847625733, 0.0067041277885437015, 0.006690815925598144, 0.006711359977722168, 0.0067041277885437015, 0.006788095951080322, 0.006723584175109864, 0.006705056190490723, 0.006710303783416748, 0.0067717118263244626, 0.006723584175109864, 0.006716415882110595, 0.006782911777496338, 0.006676479816436768, 0.006730751991271973, 0.006732800006866455, 0.00672764778137207, 0.0067051520347595215, 0.006811647891998291 ] }, "throughput": { "unit": "samples/s", "value": 141.7965301685981 }, "energy": { "unit": "kWh", "cpu": 7.942035782870407e-08, "ram": 4.342402370057432e-08, "gpu": 1.4471678244000012e-07, "total": 2.675611639692785e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3737463.184734913 } } } }