{ "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", "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", "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.1", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 908.353536, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 136, "total": 1.0017927684783936, "mean": 0.007366123297635247, "stdev": 0.00026709037432654973, "p50": 0.007221776008605957, "p90": 0.007710720062255859, "p95": 0.007831039905548096, "p99": 0.008297676992416384, "values": [ 0.00810086441040039, 0.007712768077850342, 0.00786636781692505, 0.007795711994171142, 0.007781343936920166, 0.007796735763549805, 0.008393728256225585, 0.0074332160949707035, 0.007196671962738037, 0.007253024101257324, 0.007223296165466309, 0.007193600177764893, 0.007186431884765625, 0.007166975975036621, 0.007197696208953858, 0.007193600177764893, 0.007178239822387696, 0.007180287837982178, 0.007170048236846924, 0.007194623947143554, 0.00719974422454834, 0.007192575931549072, 0.0071198720932006835, 0.007150591850280762, 0.007117824077606201, 0.007177216053009033, 0.007202816009521484, 0.0072202558517456055, 0.007186431884765625, 0.007174143791198731, 0.007186431884765625, 0.0071833600997924804, 0.0074301438331604, 0.007168000221252442, 0.0071905279159545895, 0.007158783912658692, 0.007172095775604248, 0.007164927959442138, 0.007111680030822754, 0.007130112171173096, 0.007081984043121338, 0.007110655784606934, 0.007358463764190673, 0.007428160190582275, 0.007437312126159668, 0.007485439777374267, 0.007528448104858398, 0.0074997758865356446, 0.0074629120826721195, 0.007408639907836914, 0.007394303798675537, 0.00739737606048584, 0.007410751819610596, 0.007384064197540283, 0.007397439956665039, 0.007708672046661377, 0.007819263935089112, 0.008058879852294922, 0.008474623680114746, 0.0077199358940124516, 0.007493631839752197, 0.0076912641525268555, 0.007520256042480469, 0.007482367992401123, 0.007379968166351319, 0.007412767887115478, 0.008119296073913575, 0.007524352073669433, 0.0075345921516418455, 0.007544832229614258, 0.007529471874237061, 0.007528448104858398, 0.007520224094390869, 0.007518208026885987, 0.007436287879943848, 0.007408671855926514, 0.007414783954620361, 0.007412735939025879, 0.007400447845458984, 0.007388160228729248, 0.007402495861053467, 0.007485504150390625, 0.007651328086853027, 0.007632895946502686, 0.007481344223022461, 0.007505951881408691, 0.007230463981628418, 0.007155712127685547, 0.007102464199066162, 0.007205887794494629, 0.007241727828979493, 0.0076277761459350585, 0.007525375843048096, 0.007490560054779053, 0.0074997758865356446, 0.007452640056610107, 0.007490560054779053, 0.00780291223526001, 0.00765337610244751, 0.008041472434997558, 0.007614463806152344, 0.007328767776489258, 0.007151616096496582, 0.007155712127685547, 0.007138239860534668, 0.007159840106964111, 0.007178239822387696, 0.007154687881469727, 0.007155712127685547, 0.007116799831390381, 0.007176191806793213, 0.007169023990631103, 0.007169023990631103, 0.007200767993927002, 0.007146495819091797, 0.007198719978332519, 0.0071792640686035155, 0.007175168037414551, 0.007194591999053955, 0.007166975975036621, 0.007168000221252442, 0.0071495680809020995, 0.007163904190063477, 0.007172095775604248, 0.007143424034118652, 0.007187456130981445, 0.007178239822387696, 0.007176224231719971, 0.007143424034118652, 0.007135231971740722, 0.007154623985290528, 0.0071485438346862796, 0.007131135940551757, 0.007165952205657959, 0.0071198720932006835, 0.007163904190063477 ] }, "throughput": { "unit": "samples/s", "value": 135.7566198112691 }, "energy": { "unit": "kWh", "cpu": 8.701522806651788e-08, "ram": 4.755494025836267e-08, "gpu": 1.5051512446715494e-07, "total": 2.850852927920355e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3507722.163449104 } } } }