{ "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.285632, "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": 719.269888, "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.206826171875, "mean": 7.206826171875, "stdev": 0.0, "p50": 7.206826171875, "p90": 7.206826171875, "p95": 7.206826171875, "p99": 7.206826171875, "values": [ 7.206826171875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0554172926478916e-06, "ram": 5.591923242945995e-07, "gpu": 1.7866680959988113e-06, "total": 3.401277712941302e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.543744, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 154, "total": 0.9976634221076968, "mean": 0.006478333909790237, "stdev": 0.00022804686814317581, "p50": 0.006462463855743408, "p90": 0.006783078384399414, "p95": 0.006843596696853638, "p99": 0.0070320741558074955, "values": [ 0.006978559970855713, 0.007004159927368164, 0.006980607986450196, 0.006650879859924317, 0.006593535900115967, 0.006576128005981445, 0.0065771517753601075, 0.006474751949310303, 0.006494239807128906, 0.0064624958038330075, 0.006512639999389648, 0.006516736030578613, 0.006779903888702392, 0.006462399959564209, 0.006807551860809326, 0.006766592025756836, 0.0065259838104248045, 0.006542335987091064, 0.006510591983795166, 0.006834176063537598, 0.00653107213973999, 0.006435840129852295, 0.00643071985244751, 0.006496255874633789, 0.006490111827850342, 0.006501376152038574, 0.00652185583114624, 0.007187456130981445, 0.0068351998329162595, 0.006766592025756836, 0.0067123198509216305, 0.006751232147216797, 0.006518784046173095, 0.006490111827850342, 0.006456352233886718, 0.006384640216827392, 0.00638259220123291, 0.006452223777770996, 0.006797311782836914, 0.00643993616104126, 0.0065064959526062015, 0.006418496131896973, 0.006628352165222168, 0.006756351947784424, 0.0068392958641052244, 0.006778880119323731, 0.006808576107025147, 0.006479872226715088, 0.0068618240356445315, 0.006652927875518798, 0.006897664070129395, 0.006758399963378906, 0.006754303932189941, 0.006515711784362793, 0.006471680164337158, 0.006408192157745361, 0.006423552036285401, 0.006555647850036621, 0.006596543788909912, 0.0067051520347595215, 0.006684671878814697, 0.006780928134918213, 0.006496255874633789, 0.006421504020690918, 0.006437888145446777, 0.00642252779006958, 0.006475776195526123, 0.006494207859039307, 0.006531136035919189, 0.0065771517753601075, 0.006552576065063476, 0.006524928092956543, 0.0065279359817504885, 0.006699007987976074, 0.006711296081542969, 0.006490047931671143, 0.006411168098449707, 0.0064737281799316405, 0.006415359973907471, 0.006344672203063965, 0.00628223991394043, 0.0062228479385375976, 0.006311935901641846, 0.006390751838684082, 0.006253664016723633, 0.006102015972137451, 0.006085631847381592, 0.006221824169158936, 0.0061296639442443845, 0.006690815925598144, 0.00667955207824707, 0.006830080032348633, 0.006730751991271973, 0.006783999919891357, 0.006851583957672119, 0.006642687797546387, 0.006552576065063476, 0.006504447937011719, 0.0064471039772033695, 0.006462431907653808, 0.007063551902770996, 0.006372352123260498, 0.006218751907348633, 0.006296576023101807, 0.006278143882751465, 0.006131711959838867, 0.006468607902526856, 0.00611737585067749, 0.006124544143676758, 0.006149119853973388, 0.006103040218353272, 0.0061634559631347655, 0.006105088233947754, 0.006107103824615478, 0.006088704109191895, 0.006095871925354004, 0.006104063987731933, 0.006102015972137451, 0.006097887992858887, 0.00612556791305542, 0.006145023822784424, 0.006162432193756104, 0.006329343795776367, 0.006231040000915527, 0.006090752124786377, 0.006090752124786377, 0.006432767868041992, 0.006418432235717773, 0.006392799854278565, 0.006340608119964599, 0.0063201279640197755, 0.0063508481979370115, 0.00638976001739502, 0.006341536045074463, 0.0063508481979370115, 0.006352896213531494, 0.006406144142150879, 0.006423552036285401, 0.006518847942352295, 0.006659071922302246, 0.006371327877044678, 0.006415359973907471, 0.006472703933715821, 0.006377471923828125, 0.0063805441856384275, 0.006390687942504883, 0.006405119895935059, 0.006369279861450195, 0.006355967998504639, 0.00633241605758667, 0.006325247764587402, 0.006460415840148926, 0.006400000095367431, 0.006445055961608887 ] }, "throughput": { "unit": "samples/s", "value": 154.36067574238066 }, "energy": { "unit": "kWh", "cpu": 7.273270796169289e-08, "ram": 3.9750260190414316e-08, "gpu": 1.4516371531289152e-07, "total": 2.5764668346499877e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3881284.193343206 } } } }