{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 903.72096, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 149, "total": 0.9965657258033752, "mean": 0.00668836057586158, "stdev": 0.00025833911110298164, "p50": 0.006617087841033936, "p90": 0.00708403205871582, "p95": 0.007191142463684082, "p99": 0.007355842418670654, "values": [ 0.007540736198425293, 0.007188479900360107, 0.007378943920135498, 0.00733081579208374, 0.007259136199951172, 0.007263232231140137, 0.00719155216217041, 0.007137279987335205, 0.007201791763305664, 0.0071905279159545895, 0.007238656044006348, 0.007130112171173096, 0.00714035177230835, 0.007110655784606934, 0.0070266880989074704, 0.0069621758460998535, 0.0069847040176391605, 0.007031807899475098, 0.007081984043121338, 0.007060480117797851, 0.00709222412109375, 0.007057407855987549, 0.0070348801612854, 0.007030784130096435, 0.007049215793609619, 0.007035903930664063, 0.007080959796905518, 0.007066624164581299, 0.007081984043121338, 0.00703385591506958, 0.007035903930664063, 0.007060480117797851, 0.006643712043762207, 0.006808576107025147, 0.006703104019165039, 0.006504447937011719, 0.006534143924713135, 0.006617087841033936, 0.006601727962493896, 0.006512639999389648, 0.00658739185333252, 0.0066078720092773435, 0.006657023906707763, 0.00673689603805542, 0.006682591915130615, 0.006658048152923584, 0.006772640228271484, 0.006670335769653321, 0.006618112087249756, 0.006652927875518798, 0.00668668794631958, 0.006654975891113281, 0.006634463787078857, 0.006649856090545654, 0.0066109437942504885, 0.006602752208709717, 0.006633471965789795, 0.00661407995223999, 0.00658739185333252, 0.006628352165222168, 0.006692863941192627, 0.006590464115142822, 0.006534143924713135, 0.006688704013824463, 0.006685696125030518, 0.0066375679969787596, 0.006618112087249756, 0.006625279903411865, 0.006591487884521485, 0.006611936092376709, 0.006773759841918945, 0.006756351947784424, 0.006651904106140137, 0.006702079772949219, 0.006672383785247803, 0.006628352165222168, 0.006648831844329834, 0.006649856090545654, 0.006623231887817383, 0.006568960189819336, 0.0065177597999572755, 0.006463488101959228, 0.006366208076477051, 0.006478847980499268, 0.0065781760215759275, 0.006399968147277832, 0.0062863359451293946, 0.006284287929534912, 0.006393856048583985, 0.006583295822143555, 0.006622208118438721, 0.006708255767822266, 0.006605823993682861, 0.006732800006866455, 0.0067420158386230465, 0.0067645440101623535, 0.006599711894989014, 0.0065771517753601075, 0.0066744318008422855, 0.0068618240356445315, 0.006686719894409179, 0.006532095909118653, 0.006524928092956543, 0.006512639999389648, 0.006469632148742676, 0.0065474557876586915, 0.006504447937011719, 0.0064880638122558594, 0.006486015796661377, 0.0062791681289672855, 0.006258687973022461, 0.00624128007888794, 0.006252543926239014, 0.0064204797744750975, 0.006515711784362793, 0.006505472183227539, 0.006533120155334473, 0.006499328136444092, 0.0064849920272827145, 0.006511616230010986, 0.006503424167633057, 0.006525951862335205, 0.0065413122177124024, 0.006532095909118653, 0.0065177597999572755, 0.006489120006561279, 0.0064921917915344235, 0.006515711784362793, 0.006461440086364746, 0.00652288007736206, 0.006510591983795166, 0.006461440086364746, 0.006467584133148193, 0.006481919765472412, 0.006540224075317382, 0.006499328136444092, 0.006504447937011719, 0.006681600093841553, 0.00658022403717041, 0.006503359794616699, 0.00652185583114624, 0.006520832061767578, 0.006524928092956543, 0.006604800224304199, 0.006471648216247559, 0.006658048152923584, 0.006486015796661377, 0.0064880638122558594, 0.006526976108551025 ] }, "throughput": { "unit": "samples/s", "value": 149.51347025293745 }, "energy": { "unit": "kWh", "cpu": 7.438486131529013e-08, "ram": 4.061797779399967e-08, "gpu": 1.4741852071249252e-07, "total": 2.624213598217823e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3810665.41488516 } } } }