{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.43.1", "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.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 718.737408, "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.15227734375, "mean": 7.15227734375, "stdev": 0.0, "p50": 7.15227734375, "p90": 7.15227734375, "p95": 7.15227734375, "p99": 7.15227734375, "values": [ 7.15227734375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.723600043190851e-07, "ram": 4.625771281693384e-07, "gpu": 1.7938903240002219e-06, "total": 3.1288274564886453e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 918.552576, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 137, "total": 0.9990058236122131, "mean": 0.007292013311038051, "stdev": 0.00023965583075015787, "p50": 0.00734611177444458, "p90": 0.0075855742454528806, "p95": 0.007654809474945069, "p99": 0.007751966876983642, "values": [ 0.007701504230499268, 0.007682047843933106, 0.007602176189422607, 0.007571455955505371, 0.0075980801582336424, 0.007565311908721924, 0.007678976058959961, 0.007570432186126709, 0.007417856216430664, 0.007366655826568603, 0.007394303798675537, 0.007327744007110596, 0.00723967981338501, 0.007310272216796875, 0.007584767818450928, 0.007656447887420655, 0.007525375843048096, 0.007606272220611572, 0.00758678388595581, 0.007400447845458984, 0.007360511779785156, 0.007485439777374267, 0.007364607810974121, 0.0073173117637634275, 0.007328735828399658, 0.007346144199371338, 0.00734611177444458, 0.007654399871826172, 0.00753766393661499, 0.007363584041595459, 0.0074486398696899415, 0.007393280029296875, 0.007370751857757568, 0.007318528175354004, 0.0073768959045410155, 0.007299071788787842, 0.007356416225433349, 0.007407616138458252, 0.007388160228729248, 0.00744652795791626, 0.0074291200637817386, 0.007484416007995606, 0.007521279811859131, 0.0073768959045410155, 0.007575551986694336, 0.0075939841270446775, 0.007444479942321777, 0.007385087966918945, 0.0073697280883789065, 0.00743936014175415, 0.007307263851165771, 0.007327744007110596, 0.00734822416305542, 0.007393280029296875, 0.007498752117156982, 0.007320576190948487, 0.007361504077911377, 0.00734716796875, 0.007380000114440918, 0.007522304058074952, 0.0073134078979492185, 0.007350272178649903, 0.007445504188537597, 0.007477248191833496, 0.007427072048187256, 0.007482367992401123, 0.007444543838500977, 0.007346176147460938, 0.007407584190368652, 0.007408639907836914, 0.007270400047302246, 0.007337984085083008, 0.007322624206542969, 0.007285759925842285, 0.007178239822387696, 0.007113728046417236, 0.007320576190948487, 0.00709119987487793, 0.006918144226074219, 0.006913983821868896, 0.006972415924072266, 0.007147520065307617, 0.007521279811859131, 0.007565311908721924, 0.007540736198425293, 0.0076277761459350585, 0.007780352115631104, 0.0074670081138610836, 0.007281631946563721, 0.007207935810089112, 0.0072325119972229, 0.0071905279159545895, 0.007216127872467041, 0.007105535984039306, 0.0070830078125, 0.007164927959442138, 0.0069283838272094726, 0.006951935768127441, 0.006906879901885986, 0.006970367908477783, 0.006974463939666748, 0.006944767951965332, 0.006912000179290771, 0.006916096210479736, 0.006883327960968018, 0.006903808116912841, 0.006896639823913574, 0.006890495777130127, 0.006908927917480469, 0.007286784172058106, 0.007139328002929687, 0.007172095775604248, 0.007162879943847656, 0.007670783996582031, 0.007858176231384278, 0.007177216053009033, 0.00714137601852417, 0.007094272136688232, 0.007159808158874512, 0.007076863765716553, 0.007515135765075683, 0.00704204797744751, 0.006916096210479736, 0.007081984043121338, 0.007464960098266602, 0.007085055828094483, 0.007032832145690918, 0.00709119987487793, 0.007068672180175781, 0.00694374418258667, 0.006873087882995605, 0.0068853759765625, 0.006890495777130127, 0.006887423992156983, 0.0068670082092285156, 0.006875135898590088, 0.006874112129211426 ] }, "throughput": { "unit": "samples/s", "value": 137.13633770885772 }, "energy": { "unit": "kWh", "cpu": 8.209003799263089e-08, "ram": 4.48778291232931e-08, "gpu": 1.636399776551744e-07, "total": 2.906078447710984e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3441063.3367026444 } } } }