{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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": 910.077952, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 134, "total": 0.9968701138496396, "mean": 0.007439329207833133, "stdev": 0.00039553367656039207, "p50": 0.0076364800930023196, "p90": 0.007809126424789429, "p95": 0.007873945784568787, "p99": 0.00829670275688171, "values": [ 0.008426495552062988, 0.007903232097625732, 0.008033184051513672, 0.00800051212310791, 0.007970816135406494, 0.007928832054138184, 0.007855103969573975, 0.00773529577255249, 0.007710720062255859, 0.007726079940795898, 0.007738368034362793, 0.007724031925201416, 0.007654399871826172, 0.007632895946502686, 0.007634943962097168, 0.007708672046661377, 0.007779327869415284, 0.007790592193603516, 0.007760928153991699, 0.007740416049957275, 0.007838719844818116, 0.0076912641525268555, 0.007777279853820801, 0.007748608112335205, 0.0077506561279296875, 0.007775231838226319, 0.007689216136932373, 0.007748608112335205, 0.007790592193603516, 0.007778304100036621, 0.007723008155822754, 0.007858176231384278, 0.007702527999877929, 0.007681024074554443, 0.007673855781555176, 0.007688191890716553, 0.0076943678855896, 0.007702527999877929, 0.00774348783493042, 0.00783462381362915, 0.007731200218200684, 0.007758848190307617, 0.007674880027770996, 0.007676928043365478, 0.007762944221496582, 0.007741439819335938, 0.007734272003173828, 0.007738399982452393, 0.00765337610244751, 0.0076308479309082035, 0.0076902399063110355, 0.007650303840637207, 0.007708672046661377, 0.0077209601402282715, 0.007576576232910156, 0.007641088008880615, 0.007638016223907471, 0.007665664196014404, 0.007661568164825439, 0.007824384212493896, 0.007697408199310303, 0.007758848190307617, 0.00781004810333252, 0.007745535850524903, 0.007518208026885987, 0.007398431777954102, 0.007356416225433349, 0.00734822416305542, 0.007325695991516113, 0.007476223945617676, 0.007277567863464355, 0.007153632164001465, 0.007037951946258545, 0.007098368167877197, 0.007160831928253173, 0.007510015964508057, 0.007321599960327148, 0.007288832187652588, 0.007575488090515137, 0.0076912641525268555, 0.007562240123748779, 0.007629824161529541, 0.00764518404006958, 0.007839744091033935, 0.00764518404006958, 0.007613440036773681, 0.008488960266113281, 0.007582719802856445, 0.007787519931793213, 0.0076308479309082035, 0.007045119762420654, 0.006960127830505371, 0.006980607986450196, 0.006958079814910889, 0.006922239780426025, 0.006944767951965332, 0.00694374418258667, 0.006910975933074951, 0.006919167995452881, 0.006919167995452881, 0.006937600135803222, 0.006912000179290771, 0.006918144226074219, 0.0068915200233459475, 0.006912000179290771, 0.006900735855102539, 0.006912032127380371, 0.006938623905181885, 0.00693452787399292, 0.006904831886291504, 0.006887455940246582, 0.006923200130462647, 0.0069212160110473635, 0.006920191764831543, 0.00687820816040039, 0.006952960014343262, 0.0069550080299377445, 0.006959072113037109, 0.0069324798583984375, 0.00693452787399292, 0.006892543792724609, 0.006907904148101806, 0.006897727966308594, 0.006931456089019775, 0.0069283838272094726, 0.006896639823913574, 0.006922239780426025, 0.006931456089019775, 0.006915071964263916, 0.006909952163696289, 0.006933504104614257, 0.00693452787399292, 0.006929408073425293, 0.007806975841522217 ] }, "throughput": { "unit": "samples/s", "value": 134.42072155471553 }, "energy": { "unit": "kWh", "cpu": 8.556403749757153e-08, "ram": 4.6774106680550825e-08, "gpu": 1.550780617122294e-07, "total": 2.8741620589035176e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3479274.931287265 } } } }