{ "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_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": 719.376384, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.1734384765625, "mean": 7.1734384765625, "stdev": 0.0, "p50": 7.1734384765625, "p90": 7.1734384765625, "p95": 7.1734384765625, "p99": 7.1734384765625, "values": [ 7.1734384765625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0702364974551731e-06, "ram": 5.704030835519802e-07, "gpu": 0.0, "total": 1.6406395810071533e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 911.818752, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 149, "total": 0.9999084458351132, "mean": 0.006710794938490695, "stdev": 0.00035573202414574816, "p50": 0.006848512172698974, "p90": 0.007100672054290771, "p95": 0.007149363040924073, "p99": 0.0073032831954956065, "values": [ 0.00742195177078247, 0.007237631797790528, 0.007247871875762939, 0.007225344181060791, 0.007144447803497315, 0.007094272136688232, 0.0069632000923156735, 0.006972415924072266, 0.006964223861694336, 0.0070256638526916505, 0.006970367908477783, 0.007158783912658692, 0.00689356803894043, 0.006964191913604736, 0.006930431842803955, 0.006946815967559815, 0.007004159927368164, 0.0071311678886413574, 0.007142399787902832, 0.006972415924072266, 0.0069212160110473635, 0.006979584217071533, 0.007069695949554444, 0.00704307222366333, 0.006996992111206054, 0.007065599918365479, 0.007354432106018066, 0.007010303974151612, 0.006960192203521729, 0.007016448020935059, 0.007050240039825439, 0.006883327960968018, 0.006879231929779053, 0.006908927917480469, 0.006951935768127441, 0.006920191764831543, 0.0069959678649902345, 0.006949888229370117, 0.0070225920677185055, 0.007039999961853028, 0.006987775802612305, 0.0069928960800170895, 0.00703385591506958, 0.006953983783721924, 0.006848512172698974, 0.006961152076721191, 0.007096320152282715, 0.007101439952850342, 0.006986752033233643, 0.00692633581161499, 0.007063551902770996, 0.006884352207183838, 0.0069283838272094726, 0.006847487926483154, 0.007071743965148926, 0.006970367908477783, 0.006964223861694336, 0.00690176010131836, 0.007019519805908203, 0.006974463939666748, 0.006989823818206787, 0.006949888229370117, 0.007156735897064209, 0.007100480079650879, 0.0071198720932006835, 0.007057407855987549, 0.00704307222366333, 0.007003136157989502, 0.007103487968444824, 0.007004159927368164, 0.006879231929779053, 0.0069816322326660156, 0.006890495777130127, 0.0068403840065002445, 0.0067358717918396, 0.006750207901000976, 0.006894591808319092, 0.006760447978973389, 0.006608895778656006, 0.006670335769653321, 0.0065781760215759275, 0.006598656177520752, 0.006746111869812011, 0.006553599834442139, 0.006694911956787109, 0.006715392112731934, 0.006782976150512696, 0.00683516788482666, 0.006662144184112549, 0.006515679836273193, 0.006586368083953857, 0.0065965762138366696, 0.006523903846740723, 0.006582272052764892, 0.006585343837738037, 0.006452223777770996, 0.006526976108551025, 0.006460415840148926, 0.006501344203948975, 0.006515711784362793, 0.006446080207824707, 0.00647276782989502, 0.006363135814666748, 0.006120448112487793, 0.006164480209350586, 0.006114304065704346, 0.006157311916351318, 0.006203392028808594, 0.006214655876159668, 0.00618393611907959, 0.00623308801651001, 0.006231040000915527, 0.0062044157981872555, 0.006220799922943115, 0.006213632106781006, 0.006236159801483154, 0.006199295997619629, 0.0062494721412658695, 0.006237184047698975, 0.006205440044403076, 0.006228991985321045, 0.006210559844970703, 0.006223872184753418, 0.006203392028808594, 0.006223872184753418, 0.006188032150268555, 0.006264800071716308, 0.006205440044403076, 0.006196224212646485, 0.006211584091186524, 0.006187007904052734, 0.0062146239280700686, 0.0061972479820251464, 0.00623308801651001, 0.006194176197052002, 0.006205440044403076, 0.006200255870819092, 0.006179840087890625, 0.00621670389175415, 0.00618393611907959, 0.006231040000915527, 0.0071526398658752445, 0.00714137601852417, 0.006563839912414551, 0.006529024124145508, 0.006469632148742676, 0.006525951862335205, 0.006487040042877197, 0.006467616081237793 ] }, "throughput": { "unit": "samples/s", "value": 149.01364281962503 }, "energy": { "unit": "kWh", "cpu": 7.56745516164058e-08, "ram": 4.119350230823336e-08, "gpu": 1.365911781898671e-07, "total": 2.5345923211450627e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3945407.6762460405 } } } }