{ "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": {}, "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, "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.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 717.955072, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.376128 }, "latency": { "unit": "s", "count": 1, "total": 7.21063037109375, "mean": 7.21063037109375, "stdev": 0.0, "p50": 7.21063037109375, "p90": 7.21063037109375, "p95": 7.21063037109375, "p99": 7.21063037109375, "values": [ 7.21063037109375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0611620214250353e-06, "ram": 5.459222181686604e-07, "gpu": 1.693612465999885e-06, "total": 3.300696705593581e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 910.831616, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 153, "total": 0.9961605744361883, "mean": 0.006510853427687502, "stdev": 0.00025298610910665066, "p50": 0.006436927795410156, "p90": 0.006770483207702637, "p95": 0.006923673534393311, "p99": 0.007645020217895506, "values": [ 0.007069695949554444, 0.006673408031463623, 0.006719488143920899, 0.006944767951965332, 0.006915071964263916, 0.006988800048828125, 0.006923264026641846, 0.006791168212890625, 0.0067358717918396, 0.006688767910003662, 0.006761472225189209, 0.006500351905822754, 0.006394879817962646, 0.006433792114257812, 0.00659660816192627, 0.006763519763946534, 0.006751232147216797, 0.006508543968200684, 0.006518784046173095, 0.006508543968200684, 0.006436927795410156, 0.006416384220123291, 0.006455296039581298, 0.006510591983795166, 0.0065669121742248536, 0.006455232143402099, 0.0064471039772033695, 0.006511616230010986, 0.006456352233886718, 0.0064471039772033695, 0.006457344055175781, 0.006460415840148926, 0.0065146880149841305, 0.00643993616104126, 0.00633955192565918, 0.006366208076477051, 0.006360064029693604, 0.006669312000274658, 0.0064542717933654785, 0.006388735771179199, 0.006425600051879882, 0.006416384220123291, 0.00657919979095459, 0.006546432018280029, 0.0065064959526062015, 0.006525951862335205, 0.0065136637687683106, 0.006429696083068847, 0.006403071880340576, 0.006458367824554443, 0.0064839677810668945, 0.006462463855743408, 0.0066344962120056155, 0.006776832103729248, 0.006707200050354004, 0.006924287796020508, 0.006711296081542969, 0.006766592025756836, 0.006711296081542969, 0.006741983890533447, 0.006673439979553223, 0.006656000137329102, 0.006609920024871826, 0.006684671878814697, 0.006675456047058105, 0.006436863899230957, 0.006479872226715088, 0.00676966381072998, 0.006807551860809326, 0.006801407814025879, 0.006754303932189941, 0.0064849920272827145, 0.006490111827850342, 0.006450175762176514, 0.0064471039772033695, 0.00638976001739502, 0.006403071880340576, 0.006489120006561279, 0.006362112045288086, 0.006432767868041992, 0.0062197761535644535, 0.0062341117858886715, 0.006405119895935059, 0.006529024124145508, 0.006339583873748779, 0.006359039783477783, 0.0063610877990722655, 0.006397952079772949, 0.006386688232421875, 0.0064440321922302245, 0.0067758398056030275, 0.006675456047058105, 0.0066713600158691405, 0.0075673599243164065, 0.007729152202606201, 0.007738368034362793, 0.007288832187652588, 0.006419456005096436, 0.006408192157745361, 0.0064522562026977535, 0.006391808032989502, 0.006395904064178467, 0.006310912132263183, 0.006319104194641113, 0.006346784114837647, 0.006313983917236328, 0.006363135814666748, 0.006329343795776367, 0.006305791854858398, 0.006329343795776367, 0.006299647808074951, 0.006315008163452148, 0.006339583873748779, 0.00638259220123291, 0.006319104194641113, 0.0063272957801818845, 0.006325247764587402, 0.006284287929534912, 0.006402048110961914, 0.006345727920532227, 0.006299647808074951, 0.0066375679969787596, 0.006313983917236328, 0.006363135814666748, 0.0063753600120544434, 0.006313983917236328, 0.006362112045288086, 0.0062873601913452145, 0.006335487842559814, 0.006319104194641113, 0.006278143882751465, 0.006333439826965332, 0.0062904319763183595, 0.006315008163452148, 0.00633241605758667, 0.006322175979614258, 0.006296576023101807, 0.006302720069885254, 0.0063272957801818845, 0.006295551776885986, 0.006338560104370118, 0.0063272957801818845, 0.006316031932830811, 0.006322175979614258, 0.006289408206939697, 0.006396992206573486, 0.006405119895935059, 0.006765567779541016, 0.006770688056945801, 0.0062904319763183595, 0.006230976104736328, 0.006277120113372803, 0.006213632106781006 ] }, "throughput": { "unit": "samples/s", "value": 153.58969620595127 }, "energy": { "unit": "kWh", "cpu": 7.47448659959496e-08, "ram": 4.075430794799962e-08, "gpu": 1.4082995193710562e-07, "total": 2.5632912588105484e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3901234.385920049 } } } }