{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 787.877888, "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.443525390625, "mean": 7.443525390625, "stdev": 0.0, "p50": 7.443525390625, "p90": 7.443525390625, "p95": 7.443525390625, "p99": 7.443525390625, "values": [ 7.443525390625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0760707458336092e-06, "ram": 5.739359421818895e-07, "gpu": 1.6411124239999395e-06, "total": 3.2911191120154385e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.10816, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 145, "total": 0.9958564805984499, "mean": 0.0068679757282651705, "stdev": 0.0001646651721230309, "p50": 0.006825952053070068, "p90": 0.007149977684020996, "p95": 0.007197708606719971, "p99": 0.007278305149078369, "values": [ 0.0070256638526916505, 0.007138304233551026, 0.007062528133392334, 0.007039999961853028, 0.0070225920677185055, 0.0069632000923156735, 0.006867968082427979, 0.006870016098022461, 0.00684441614151001, 0.006889472007751465, 0.006852543830871582, 0.007371776103973389, 0.0072837119102478025, 0.007165952205657959, 0.00709939193725586, 0.007127039909362793, 0.006864895820617676, 0.006823935985565186, 0.006884352207183838, 0.00687718391418457, 0.0068986878395080565, 0.006871039867401123, 0.006841343879699707, 0.0067686400413513184, 0.006809599876403808, 0.006917119979858399, 0.006847487926483154, 0.0068700799942016605, 0.00682700777053833, 0.0068853759765625, 0.006820864200592041, 0.006782976150512696, 0.00688640022277832, 0.0068915200233459475, 0.006859776020050049, 0.0068351998329162595, 0.006793216228485107, 0.006732800006866455, 0.006729728221893311, 0.0068055038452148435, 0.006789120197296142, 0.006834176063537598, 0.006783999919891357, 0.006792191982269287, 0.00684441614151001, 0.007271423816680909, 0.007181375980377197, 0.007168000221252442, 0.007218175888061523, 0.006862847805023193, 0.00677785587310791, 0.0067983360290527345, 0.006871039867401123, 0.006888512134552002, 0.006785024166107178, 0.006842336177825928, 0.006818816184997558, 0.006789120197296142, 0.006738944053649902, 0.006804480075836182, 0.006779903888702392, 0.006783999919891357, 0.006875135898590088, 0.00683622407913208, 0.006799295902252197, 0.0072202239036560055, 0.007169023990631103, 0.007151616096496582, 0.007127039909362793, 0.00708512020111084, 0.007147520065307617, 0.0072120318412780765, 0.00694271993637085, 0.006894591808319092, 0.00688640022277832, 0.006896639823913574, 0.006881279945373535, 0.0068392958641052244, 0.006851583957672119, 0.006912000179290771, 0.006750207901000976, 0.00682700777053833, 0.006779903888702392, 0.0067686400413513184, 0.006690815925598144, 0.0065627841949462895, 0.006636544227600098, 0.006756351947784424, 0.006614016056060791, 0.006482944011688232, 0.006604800224304199, 0.006505472183227539, 0.006590464115142822, 0.0070594558715820314, 0.007128064155578613, 0.007103487968444824, 0.007178239822387696, 0.007201791763305664, 0.007243775844573975, 0.006968319892883301, 0.006813695907592773, 0.006746111869812011, 0.00679423999786377, 0.006776832103729248, 0.006791168212890625, 0.006756351947784424, 0.006802432060241699, 0.006803455829620361, 0.006782976150512696, 0.006814720153808594, 0.006782976150512696, 0.006833151817321777, 0.00673689603805542, 0.006737919807434082, 0.0067645440101623535, 0.006747136116027832, 0.006747136116027832, 0.00673795223236084, 0.006751232147216797, 0.00677785587310791, 0.006754303932189941, 0.006725632190704346, 0.007165952205657959, 0.006825952053070068, 0.006833087921142578, 0.006785024166107178, 0.0068689918518066405, 0.00678607988357544, 0.0070974078178405765, 0.006851583957672119, 0.006814720153808594, 0.006745120048522949, 0.006666240215301514, 0.006697951793670654, 0.0066826238632202144, 0.0067645440101623535, 0.00676966381072998, 0.006779903888702392, 0.006799359798431396, 0.006758399963378906, 0.006748159885406494, 0.00676966381072998, 0.006749184131622315, 0.006789120197296142, 0.006774784088134766 ] }, "throughput": { "unit": "samples/s", "value": 145.6033101404971 }, "energy": { "unit": "kWh", "cpu": 7.950081106450314e-08, "ram": 4.346539499425196e-08, "gpu": 1.441686462818819e-07, "total": 2.6713485234063696e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3743427.67796113 } } } }