{ "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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4", "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": 719.085568, "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.23118994140625, "mean": 7.23118994140625, "stdev": 0.0, "p50": 7.23118994140625, "p90": 7.23118994140625, "p95": 7.23118994140625, "p99": 7.23118994140625, "values": [ 7.23118994140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.388665201392539e-07, "ram": 4.7748452316967e-07, "gpu": 1.7605569640000499e-06, "total": 3.176908007308974e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 918.781952, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 138, "total": 0.9975210547447205, "mean": 0.007228413440179133, "stdev": 0.000214780645374006, "p50": 0.007236607789993287, "p90": 0.007520256042480469, "p95": 0.007528406453132629, "p99": 0.007595905861854553, "values": [ 0.007520256042480469, 0.007502848148345947, 0.007452672004699707, 0.007427072048187256, 0.007522304058074952, 0.007520256042480469, 0.007379968166351319, 0.007258080005645752, 0.007256063938140869, 0.007255040168762207, 0.007296000003814697, 0.007245823860168457, 0.007131135940551757, 0.007079936027526855, 0.007198719978332519, 0.0074629120826721195, 0.0075673599243164065, 0.007539775848388672, 0.007402431964874267, 0.007227392196655274, 0.007435264110565186, 0.0075222721099853515, 0.0073820161819458, 0.007300096035003662, 0.007259136199951172, 0.007244800090789795, 0.007265279769897461, 0.007456768035888672, 0.007510975837707519, 0.007526400089263916, 0.007517183780670166, 0.007523327827453613, 0.007333888053894043, 0.0073994240760803225, 0.007358463764190673, 0.0073768959045410155, 0.007482367992401123, 0.007455743789672851, 0.007486464023590088, 0.007557119846343994, 0.007571455955505371, 0.007766016006469726, 0.007522304058074952, 0.007451648235321045, 0.007387135982513428, 0.007576511859893799, 0.007513088226318359, 0.007515135765075683, 0.007525375843048096, 0.007468031883239746, 0.00714137601852417, 0.007111680030822754, 0.007206912040710449, 0.007208960056304932, 0.007251967906951904, 0.007137279987335205, 0.007142367839813232, 0.007186431884765625, 0.007266304016113281, 0.00719974422454834, 0.007136256217956543, 0.00719974422454834, 0.007279615879058838, 0.007309311866760254, 0.007282688140869141, 0.007244800090789795, 0.007237631797790528, 0.007204895973205567, 0.0072468481063842774, 0.007235583782196045, 0.007226367950439453, 0.007269375801086426, 0.007209983825683594, 0.007142399787902832, 0.006968319892883301, 0.007007232189178467, 0.007164927959442138, 0.006989823818206787, 0.0070399360656738285, 0.0071188478469848635, 0.007219200134277344, 0.007244800090789795, 0.007299039840698242, 0.0072837119102478025, 0.007388160228729248, 0.007407616138458252, 0.007458816051483155, 0.007303167819976806, 0.007280576229095459, 0.007607295989990235, 0.0073697280883789065, 0.007291903972625732, 0.0072765440940856935, 0.007047167778015137, 0.007176191806793213, 0.007206912040710449, 0.007105535984039306, 0.007130112171173096, 0.007027711868286133, 0.007041024208068848, 0.007032832145690918, 0.007036928176879883, 0.0069632000923156735, 0.007014400005340577, 0.0069816322326660156, 0.0069928960800170895, 0.007001088142395019, 0.006731776237487793, 0.00672870397567749, 0.006685696125030518, 0.006699007987976074, 0.006692863941192627, 0.007020544052124023, 0.0069550080299377445, 0.0069918398857116695, 0.007000063896179199, 0.00695091199874878, 0.007009280204772949, 0.007007264137268067, 0.007017471790313721, 0.007517183780670166, 0.007042079925537109, 0.007018496036529541, 0.007472127914428711, 0.007111711978912354, 0.007087103843688965, 0.007035903930664063, 0.007049215793609619, 0.007031807899475098, 0.007023615837097168, 0.0069764480590820315, 0.0069959678649902345, 0.007029759883880615, 0.007000063896179199, 0.007017471790313721, 0.007116799831390381, 0.0069928960800170895, 0.007019519805908203 ] }, "throughput": { "unit": "samples/s", "value": 138.3429445860831 }, "energy": { "unit": "kWh", "cpu": 8.066658563869878e-08, "ram": 4.410413146914423e-08, "gpu": 1.5704850054421926e-07, "total": 2.8181921765206225e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3548374.0545849265 } } } }