{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": 903.00416, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 153, "total": 0.9959239044189453, "mean": 0.006509306564829708, "stdev": 0.00014909741188190776, "p50": 0.006483935832977295, "p90": 0.00668037109375, "p95": 0.006747519969940186, "p99": 0.00713048048019409, "values": [ 0.007053311824798584, 0.006680575847625733, 0.00678604793548584, 0.006801407814025879, 0.006729663848876953, 0.006694911956787109, 0.00674508810043335, 0.006756351947784424, 0.006631423950195312, 0.007214079856872559, 0.006455296039581298, 0.006245376110076905, 0.006396927833557129, 0.006242303848266601, 0.006207488059997559, 0.006229983806610107, 0.006190080165863037, 0.006230016231536865, 0.0062197761535644535, 0.0062679038047790524, 0.006284287929534912, 0.006237184047698975, 0.006463424205780029, 0.00667955207824707, 0.006525951862335205, 0.006489088058471679, 0.006460415840148926, 0.006491136074066162, 0.006469632148742676, 0.006491136074066162, 0.006482944011688232, 0.006483935832977295, 0.0065771517753601075, 0.0065413122177124024, 0.006492159843444824, 0.0065064959526062015, 0.0065146880149841305, 0.006453248023986816, 0.006510591983795166, 0.006508543968200684, 0.006470655918121338, 0.0064767999649047855, 0.006435840129852295, 0.006489088058471679, 0.006500351905822754, 0.006658112049102783, 0.006503424167633057, 0.006491136074066162, 0.006474815845489502, 0.006494207859039307, 0.0064849920272827145, 0.006509568214416504, 0.0064778242111206055, 0.006432767868041992, 0.006489088058471679, 0.00648089599609375, 0.006423552036285401, 0.00648089599609375, 0.006472703933715821, 0.006476863861083985, 0.0065064959526062015, 0.00643993616104126, 0.006545407772064209, 0.006487040042877197, 0.0064542717933654785, 0.00648089599609375, 0.006445055961608887, 0.006468607902526856, 0.006474751949310303, 0.006429696083068847, 0.006500351905822754, 0.006479872226715088, 0.0064357762336730955, 0.0064778242111206055, 0.006448128223419189, 0.006495232105255127, 0.0064767999649047855, 0.006440959930419922, 0.006482944011688232, 0.006493184089660644, 0.006478847980499268, 0.006498303890228272, 0.006451200008392334, 0.006487040042877197, 0.0064778242111206055, 0.0066826238632202144, 0.0065771517753601075, 0.006557695865631104, 0.006542335987091064, 0.00675116777420044, 0.00662227201461792, 0.006651904106140137, 0.0065823040008544925, 0.00653004789352417, 0.006471680164337158, 0.006501376152038574, 0.006462463855743408, 0.006562816143035889, 0.006489088058471679, 0.006432767868041992, 0.006487040042877197, 0.006497280120849609, 0.006512639999389648, 0.006479872226715088, 0.0064542717933654785, 0.00643993616104126, 0.006505472183227539, 0.00643891191482544, 0.006448128223419189, 0.006462463855743408, 0.0065064959526062015, 0.006460415840148926, 0.006460415840148926, 0.006433792114257812, 0.006509568214416504, 0.007014400005340577, 0.007308288097381592, 0.0067358717918396, 0.006552576065063476, 0.006470655918121338, 0.006524928092956543, 0.0065771517753601075, 0.006452191829681397, 0.006711296081542969, 0.006702079772949219, 0.0064440321922302245, 0.006516704082489014, 0.006467584133148193, 0.006540224075317382, 0.006496255874633789, 0.006452223777770996, 0.006459392070770263, 0.006486015796661377, 0.006407167911529541, 0.006470655918121338, 0.006405216217041015, 0.006467584133148193, 0.006501376152038574, 0.006446080207824707, 0.006469632148742676, 0.0064737281799316405, 0.00643993616104126, 0.006494207859039307, 0.006467584133148193, 0.006591487884521485, 0.006498303890228272, 0.00643174409866333, 0.006463488101959228, 0.006526976108551025, 0.0064849920272827145, 0.006497280120849609, 0.006457344055175781, 0.006481919765472412 ] }, "throughput": { "unit": "samples/s", "value": 153.6261950547971 }, "energy": { "unit": "kWh", "cpu": 7.761074804965362e-08, "ram": 4.2433602843409016e-08, "gpu": 1.4254731810457495e-07, "total": 2.6259166899763756e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3808193.930208032 } } } }