{ "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": "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": {}, "hub_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, "latency": true, "memory": 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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.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": { "forward": { "memory": { "unit": "MB", "max_ram": 907.288576, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 141, "total": 1.0006780786514282, "mean": 0.007097007650010129, "stdev": 0.0002338848176203482, "p50": 0.0069959678649902345, "p90": 0.007264256000518799, "p95": 0.007320576190948487, "p99": 0.00794398717880249, "values": [ 0.00884224033355713, 0.007526400089263916, 0.007320576190948487, 0.007120895862579346, 0.006979584217071533, 0.006967296123504638, 0.006980607986450196, 0.007072768211364746, 0.007333888053894043, 0.007253920078277588, 0.007244800090789795, 0.0072765440940856935, 0.00722431993484497, 0.007236608028411865, 0.0072130560874938965, 0.007202816009521484, 0.007201791763305664, 0.007189504146575928, 0.007233535766601563, 0.007196671962738037, 0.006977536201477051, 0.0069959678649902345, 0.006951935768127441, 0.006999008178710938, 0.007005184173583984, 0.00698367977142334, 0.00695091199874878, 0.007005184173583984, 0.007000063896179199, 0.007073791980743408, 0.007202816009521484, 0.00723967981338501, 0.007264256000518799, 0.007234560012817383, 0.007227392196655274, 0.00724783992767334, 0.007207935810089112, 0.007226367950439453, 0.007202816009521484, 0.007200767993927002, 0.007220160007476806, 0.007185408115386963, 0.007209983825683594, 0.007180287837982178, 0.007203839778900147, 0.007200767993927002, 0.007169023990631103, 0.007169023990631103, 0.0069703998565673825, 0.006974400043487549, 0.006951935768127441, 0.0070891518592834475, 0.007211008071899414, 0.007173120021820068, 0.007250944137573242, 0.0071823358535766605, 0.007199776172637939, 0.007202816009521484, 0.007207935810089112, 0.006966271877288818, 0.006969344139099121, 0.006987775802612305, 0.007032832145690918, 0.006955967903137207, 0.006939583778381347, 0.006970367908477783, 0.006990848064422607, 0.007001088142395019, 0.0069632000923156735, 0.007030784130096435, 0.006966271877288818, 0.006986752033233643, 0.006949888229370117, 0.007233535766601563, 0.00719974422454834, 0.007197696208953858, 0.007124991893768311, 0.007223296165466309, 0.007307263851165771, 0.007301119804382325, 0.00728166389465332, 0.007271423816680909, 0.007871488094329833, 0.007899136066436767, 0.007336959838867187, 0.00797388792037964, 0.007161856174468994, 0.006952960014343262, 0.006980607986450196, 0.006970367908477783, 0.00692633581161499, 0.0069959678649902345, 0.007005184173583984, 0.006998015880584717, 0.006956031799316406, 0.0069621758460998535, 0.006970367908477783, 0.007017471790313721, 0.0069253120422363285, 0.006947840213775635, 0.006960127830505371, 0.006938623905181885, 0.00693452787399292, 0.006974463939666748, 0.006945792198181152, 0.006951935768127441, 0.0069283838272094726, 0.006944767951965332, 0.006936575889587402, 0.006912000179290771, 0.006937600135803222, 0.006938623905181885, 0.007299071788787842, 0.006945792198181152, 0.006931456089019775, 0.006947840213775635, 0.006953983783721924, 0.006933504104614257, 0.006966271877288818, 0.00694374418258667, 0.0069550080299377445, 0.006924287796020508, 0.006941696166992187, 0.006961152076721191, 0.006937632083892822, 0.00695091199874878, 0.006949888229370117, 0.006941696166992187, 0.006956031799316406, 0.006927360057830811, 0.006940671920776367, 0.006956031799316406, 0.006964223861694336, 0.006931456089019775, 0.006957056045532227, 0.006976511955261231, 0.0069847040176391605, 0.006947840213775635, 0.006989823818206787, 0.006960127830505371, 0.006927360057830811 ] }, "throughput": { "unit": "samples/s", "value": 140.90445569670095 }, "energy": { "unit": "kWh", "cpu": 8.274560311326275e-08, "ram": 4.523847167050055e-08, "gpu": 1.5610737797221714e-07, "total": 2.840914527559804e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3519993.2637851913 } } } }