{ "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": 902.672384, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 153, "total": 1.0008238391876219, "mean": 0.0065413322822720395, "stdev": 0.00028195042852689344, "p50": 0.006617087841033936, "p90": 0.006861209583282471, "p95": 0.006946611213684082, "p99": 0.007187169303894043, "values": [ 0.007207935810089112, 0.0068351998329162595, 0.0070891518592834475, 0.0068618240356445315, 0.006858751773834228, 0.006821887969970703, 0.006799359798431396, 0.006817791938781738, 0.006699007987976074, 0.0066406397819519045, 0.006729728221893311, 0.0066406397819519045, 0.006627327919006347, 0.006638591766357422, 0.006864895820617676, 0.006852608203887939, 0.006806528091430664, 0.006760447978973389, 0.006748159885406494, 0.006681600093841553, 0.006726655960083008, 0.006747136116027832, 0.0067123198509216305, 0.006738944053649902, 0.006732800006866455, 0.006673408031463623, 0.006702079772949219, 0.006716415882110595, 0.006675456047058105, 0.00676966381072998, 0.006813695907592773, 0.006831103801727295, 0.00673689603805542, 0.006707200050354004, 0.006715392112731934, 0.006688767910003662, 0.006816768169403077, 0.0067686400413513184, 0.006761472225189209, 0.006760447978973389, 0.006889472007751465, 0.006731776237487793, 0.006848544120788574, 0.006939648151397705, 0.006918144226074219, 0.006847487926483154, 0.006849535942077637, 0.0068986878395080565, 0.006953983783721924, 0.006650879859924317, 0.006690815925598144, 0.006680607795715332, 0.006670335769653321, 0.006659071922302246, 0.00669593620300293, 0.006709248065948486, 0.00673689603805542, 0.006791168212890625, 0.006941696166992187, 0.006849535942077637, 0.007011328220367432, 0.006760447978973389, 0.006757311820983887, 0.006632448196411133, 0.006606847763061524, 0.006493184089660644, 0.006393919944763184, 0.006591487884521485, 0.006556672096252441, 0.006411263942718506, 0.006309887886047363, 0.006300672054290772, 0.006359072208404541, 0.0063201279640197755, 0.006458367824554443, 0.006651904106140137, 0.00681990385055542, 0.0069253120422363285, 0.00698367977142334, 0.006990848064422607, 0.006763519763946534, 0.006796288013458252, 0.0067645440101623535, 0.007472127914428711, 0.006683648109436035, 0.006492159843444824, 0.007168000221252442, 0.006685696125030518, 0.006617087841033936, 0.006397952079772949, 0.0062566399574279785, 0.006273024082183838, 0.006239232063293457, 0.006289408206939697, 0.006250495910644531, 0.0062044157981872555, 0.006254591941833496, 0.006257631778717041, 0.006316031932830811, 0.006247424125671387, 0.006296576023101807, 0.006277120113372803, 0.006252543926239014, 0.006281184196472168, 0.0062259202003479, 0.006244351863861084, 0.006208447933197021, 0.006258687973022461, 0.006385695934295654, 0.006218751907348633, 0.00641644811630249, 0.006231040000915527, 0.0062873601913452145, 0.0062197761535644535, 0.006250495910644531, 0.006276095867156982, 0.006253568172454834, 0.00623308801651001, 0.006199295997619629, 0.0062341117858886715, 0.006205440044403076, 0.006247424125671387, 0.00622489595413208, 0.00623308801651001, 0.006260735988616943, 0.0062341117858886715, 0.006240255832672119, 0.006211584091186524, 0.006243264198303223, 0.006199295997619629, 0.006277120113372803, 0.0062494721412658695, 0.006272960186004639, 0.006408192157745361, 0.0063201279640197755, 0.006255648136138916, 0.00622489595413208, 0.006214655876159668, 0.006230016231536865, 0.00622489595413208, 0.0062576642036437985, 0.006250495910644531, 0.006284287929534912, 0.006203392028808594, 0.006243328094482422, 0.006239232063293457, 0.00622489595413208, 0.0062638077735900875, 0.006201344013214111, 0.0062494721412658695, 0.006211584091186524, 0.006261760234832763, 0.00620851182937622 ] }, "throughput": { "unit": "samples/s", "value": 152.87405636159858 }, "energy": { "unit": "kWh", "cpu": 7.480878895766914e-08, "ram": 4.090243479782753e-08, "gpu": 1.4317446813836692e-07, "total": 2.588856918938636e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3862708.6444390058 } } } }