{ "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.654912, "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.23199267578125, "mean": 7.23199267578125, "stdev": 0.0, "p50": 7.23199267578125, "p90": 7.23199267578125, "p95": 7.23199267578125, "p99": 7.23199267578125, "values": [ 7.23199267578125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0558423068788317e-06, "ram": 5.631416661117329e-07, "gpu": 1.7994458840018407e-06, "total": 3.418429856992405e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.7936, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 150, "total": 1.0006260156631468, "mean": 0.0066708401044209805, "stdev": 0.00037418831853537783, "p50": 0.006792223930358887, "p90": 0.0069850080013275145, "p95": 0.007109683084487914, "p99": 0.007894511494636535, "values": [ 0.007114751815795899, 0.007074816226959229, 0.007027679920196533, 0.007103487968444824, 0.007024640083312988, 0.0069212160110473635, 0.007027711868286133, 0.006974463939666748, 0.00695091199874878, 0.006965248107910156, 0.006959104061126709, 0.006961184024810791, 0.007028736114501953, 0.006930431842803955, 0.006831103801727295, 0.0069253120422363285, 0.006906879901885986, 0.007024608135223389, 0.00694268798828125, 0.00690176010131836, 0.006833151817321777, 0.006811647891998291, 0.006980607986450196, 0.00684441614151001, 0.006875135898590088, 0.006966271877288818, 0.006851583957672119, 0.006636544227600098, 0.006853631973266602, 0.006840320110321045, 0.006833151817321777, 0.006899712085723877, 0.006874080181121826, 0.006756351947784424, 0.006763519763946534, 0.006796288013458252, 0.0067686400413513184, 0.0067686400413513184, 0.006814720153808594, 0.006815743923187256, 0.006807551860809326, 0.0068392958641052244, 0.0068986878395080565, 0.00690176010131836, 0.006903808116912841, 0.006822912216186523, 0.00683622407913208, 0.0067983360290527345, 0.0068351998329162595, 0.0069325118064880375, 0.006851583957672119, 0.006793216228485107, 0.006869984149932861, 0.006790143966674805, 0.0067983360290527345, 0.00683622407913208, 0.006872064113616944, 0.0068986878395080565, 0.006791168212890625, 0.006808576107025147, 0.00682700777053833, 0.006792255878448486, 0.006841343879699707, 0.0066447358131408694, 0.006791168212890625, 0.006900735855102539, 0.006924287796020508, 0.0069027838706970214, 0.006872064113616944, 0.006892543792724609, 0.006796288013458252, 0.006847424030303955, 0.006881279945373535, 0.006729728221893311, 0.006855679988861084, 0.006801407814025879, 0.007265279769897461, 0.0067358717918396, 0.006627327919006347, 0.006680575847625733, 0.006799359798431396, 0.006628352165222168, 0.006433792114257812, 0.006465536117553711, 0.006761472225189209, 0.00780185604095459, 0.007868415832519531, 0.007919583797454834, 0.00795750379562378, 0.007633920192718506, 0.006889440059661865, 0.007327744007110596, 0.006792191982269287, 0.006387712001800537, 0.0064440321922302245, 0.006441984176635742, 0.0063805441856384275, 0.006498303890228272, 0.006367231845855713, 0.006407167911529541, 0.006412320137023926, 0.006366208076477051, 0.0064133119583129885, 0.006406144142150879, 0.0062228479385375976, 0.006205440044403076, 0.006173696041107178, 0.006196224212646485, 0.006243328094482422, 0.0062044157981872555, 0.006195199966430664, 0.006228960037231445, 0.006211584091186524, 0.006191103935241699, 0.006214655876159668, 0.006188032150268555, 0.006202367782592774, 0.006221824169158936, 0.006350815773010254, 0.006231040000915527, 0.006214655876159668, 0.006239232063293457, 0.006189055919647217, 0.00623308801651001, 0.0062197761535644535, 0.006199295997619629, 0.006181888103485108, 0.006262784004211426, 0.006232063770294189, 0.006270976066589356, 0.006254591941833496, 0.006262784004211426, 0.006292479991912842, 0.00623308801651001, 0.006202400207519531, 0.006166528224945069, 0.006194176197052002, 0.006411263942718506, 0.0064204797744750975, 0.006315008163452148, 0.006284287929534912, 0.006315008163452148, 0.006325247764587402, 0.006462463855743408, 0.0062863359451293946, 0.006251520156860352, 0.006157311916351318, 0.006136832237243653, 0.006155263900756836, 0.006293504238128662 ] }, "throughput": { "unit": "samples/s", "value": 149.90615639809263 }, "energy": { "unit": "kWh", "cpu": 7.306292080748393e-08, "ram": 3.994540459524925e-08, "gpu": 1.4522988298765194e-07, "total": 2.5823820839038507e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3872393.6563572935 } } } }