{ "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_type": "roberta", "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": {}, "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, "memory": true, "latency": 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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.43.2", "transformers_commit": null, "accelerate_version": "0.33.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": { "load": { "memory": { "unit": "MB", "max_ram": 718.639104, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.17621240234375, "mean": 7.17621240234375, "stdev": 0.0, "p50": 7.17621240234375, "p90": 7.17621240234375, "p95": 7.17621240234375, "p99": 7.17621240234375, "values": [ 7.17621240234375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.744963341289097e-07, "ram": 4.6382053213297544e-07, "gpu": 0.0, "total": 1.3383168662618852e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 917.62688, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 141, "total": 1.0003369622230527, "mean": 0.007094588384560659, "stdev": 0.00036541200455002335, "p50": 0.007095232009887696, "p90": 0.007226367950439453, "p95": 0.007426047801971435, "p99": 0.008576832389831538, "values": [ 0.010285056114196778, 0.008913920402526856, 0.007571455955505371, 0.007640063762664795, 0.007697408199310303, 0.008071200370788574, 0.007113728046417236, 0.006892543792724609, 0.006912000179290771, 0.0068853759765625, 0.006923264026641846, 0.006894591808319092, 0.006898655891418457, 0.0068853759765625, 0.006863872051239014, 0.007560192108154297, 0.007166975975036621, 0.007100448131561279, 0.007168896198272705, 0.007159743785858154, 0.007136256217956543, 0.007176191806793213, 0.007154687881469727, 0.007163936138153076, 0.007151679992675781, 0.007123968124389648, 0.007113728046417236, 0.007138304233551026, 0.007127039909362793, 0.007098368167877197, 0.007138304233551026, 0.0071188478469848635, 0.007130112171173096, 0.007117856025695801, 0.007079936027526855, 0.007108607769012451, 0.007096320152282715, 0.007109632015228271, 0.007128064155578613, 0.007111584186553955, 0.00708403205871582, 0.007120895862579346, 0.007121920108795166, 0.007107583999633789, 0.007105535984039306, 0.007111680030822754, 0.007090176105499267, 0.007079936027526855, 0.007074816226959229, 0.00707583999633789, 0.007098368167877197, 0.0071495680809020995, 0.007123968124389648, 0.007079936027526855, 0.007064576148986816, 0.007088128089904785, 0.0071495361328125, 0.007095295906066895, 0.007113728046417236, 0.007093152046203613, 0.0070563840866088865, 0.007050240039825439, 0.0070553598403930665, 0.0070984640121459965, 0.00742195177078247, 0.007264256000518799, 0.007070720195770264, 0.006943808078765869, 0.006986752033233643, 0.007023615837097168, 0.007426047801971435, 0.007096320152282715, 0.007120895862579346, 0.007081952095031738, 0.007044095993041993, 0.00709222412109375, 0.007103487968444824, 0.007113728046417236, 0.0070829758644104, 0.00725708818435669, 0.007065599918365479, 0.007129087924957276, 0.007131135940551757, 0.007186431884765625, 0.0068618240356445315, 0.00679423999786377, 0.006917119979858399, 0.007094272136688232, 0.006885407924652099, 0.006875135898590088, 0.0072130560874938965, 0.007226367950439453, 0.007243775844573975, 0.007235583782196045, 0.007169023990631103, 0.007194623947143554, 0.00724886417388916, 0.007188479900360107, 0.007159808158874512, 0.007156735897064209, 0.007181312084197998, 0.007146495819091797, 0.007168000221252442, 0.0071198720932006835, 0.007095232009887696, 0.007121984004974365, 0.0068915200233459475, 0.006834176063537598, 0.006842368125915528, 0.0068321280479431154, 0.0068576960563659665, 0.0067758078575134275, 0.0068249602317810056, 0.006872064113616944, 0.00683622407913208, 0.006830080032348633, 0.006865920066833496, 0.006889440059661865, 0.006855679988861084, 0.006852608203887939, 0.0072202239036560055, 0.006862847805023193, 0.006831103801727295, 0.00687820816040039, 0.006864895820617676, 0.006847487926483154, 0.006837247848510742, 0.006848512172698974, 0.006898655891418457, 0.006821887969970703, 0.006883327960968018, 0.006873087882995605, 0.006856704235076904, 0.006754240036010742, 0.0068055038452148435, 0.006803391933441162, 0.006837247848510742, 0.006866943836212158, 0.006821887969970703, 0.0068689918518066405, 0.006837183952331543 ] }, "throughput": { "unit": "samples/s", "value": 140.95250433079582 }, "energy": { "unit": "kWh", "cpu": 8.142506150894515e-08, "ram": 4.452090119016427e-08, "gpu": 1.5717288068493214e-07, "total": 2.8311884338404156e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3532085.6360080997 } } } }