{ "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.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.634432, "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.153474609375, "mean": 7.153474609375, "stdev": 0.0, "p50": 7.153474609375, "p90": 7.153474609375, "p95": 7.153474609375, "p99": 7.153474609375, "values": [ 7.153474609375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.028934121131897e-06, "ram": 5.481143732956183e-07, "gpu": 1.7122235920000173e-06, "total": 3.2892720864275324e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 913.05984, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 159, "total": 0.9981080980300899, "mean": 0.006277409421572895, "stdev": 0.00019289725512852105, "p50": 0.006180863857269287, "p90": 0.006509772968292236, "p95": 0.006555955076217652, "p99": 0.0068294246196746785, "values": [ 0.007012351989746094, 0.006684671878814697, 0.006696959972381592, 0.006673408031463623, 0.006616064071655273, 0.0066416640281677245, 0.007127039909362793, 0.006319104194641113, 0.006196224212646485, 0.006158368110656738, 0.006212607860565185, 0.006187007904052734, 0.0061634559631347655, 0.0061931519508361815, 0.006130688190460205, 0.006173696041107178, 0.006127615928649902, 0.0061859841346740725, 0.0061562881469726565, 0.006089759826660156, 0.006064127922058105, 0.00608358383178711, 0.00608460807800293, 0.006074336051940918, 0.0060999679565429685, 0.006057983875274659, 0.006098944187164307, 0.006054912090301514, 0.006090752124786377, 0.006052864074707031, 0.006136832237243653, 0.006115327835083008, 0.006153215885162353, 0.006126527786254883, 0.00632422399520874, 0.006113279819488526, 0.006149119853973388, 0.006162432193756104, 0.006119423866271972, 0.006154240131378174, 0.00612556791305542, 0.006155263900756836, 0.0061265921592712404, 0.006173696041107178, 0.006106112003326416, 0.006135839939117432, 0.006073344230651856, 0.006091775894165039, 0.006045695781707764, 0.006056960105895996, 0.0062576642036437985, 0.006074368000030517, 0.0061337599754333495, 0.006085631847381592, 0.006159359931945801, 0.0060702719688415525, 0.006119423866271972, 0.006076416015625, 0.006120480060577392, 0.0060661759376525876, 0.006103040218353272, 0.006074368000030517, 0.00612556791305542, 0.006067200183868408, 0.006136832237243653, 0.006144000053405762, 0.006178815841674804, 0.0062044157981872555, 0.006142975807189942, 0.006213632106781006, 0.006164480209350586, 0.00617574405670166, 0.006141952037811279, 0.006213632106781006, 0.00616864013671875, 0.006179840087890625, 0.0061972479820251464, 0.006151167869567871, 0.006200319766998291, 0.006119423866271972, 0.00619212818145752, 0.006136832237243653, 0.006194176197052002, 0.006165503978729248, 0.006162432193756104, 0.006160384178161621, 0.006132736206054688, 0.006180863857269287, 0.006124576091766357, 0.006171648025512695, 0.006147071838378906, 0.00617574405670166, 0.006119423866271972, 0.00617574405670166, 0.0061521921157836916, 0.006160384178161621, 0.006158336162567139, 0.0061337599754333495, 0.006184959888458252, 0.006135807991027832, 0.006149119853973388, 0.006111231803894043, 0.006169600009918213, 0.006258656024932861, 0.006268896102905273, 0.00652185583114624, 0.006479872226715088, 0.006558720111846924, 0.006474751949310303, 0.006510591983795166, 0.006465536117553711, 0.006342656135559082, 0.00643993616104126, 0.006400991916656494, 0.006372352123260498, 0.0064297599792480465, 0.006374368190765381, 0.006392831802368164, 0.006400000095367431, 0.006362112045288086, 0.006437888145446777, 0.006384640216827392, 0.0064143362045288085, 0.0064061121940612795, 0.0063907837867736815, 0.006404032230377197, 0.0064091839790344236, 0.00638156795501709, 0.006435840129852295, 0.006358016014099121, 0.006394879817962646, 0.006335487842559814, 0.0065443840026855465, 0.006493184089660644, 0.006461440086364746, 0.0065136637687683106, 0.006550528049468994, 0.006463488101959228, 0.006481919765472412, 0.0064767999649047855, 0.006486015796661377, 0.006504447937011719, 0.006487040042877197, 0.006509568214416504, 0.0065136637687683106, 0.006459392070770263, 0.006491136074066162, 0.0064430079460144046, 0.006472703933715821, 0.006510591983795166, 0.006474751949310303, 0.006500351905822754, 0.006509568214416504, 0.006479872226715088, 0.006555647850036621, 0.006494207859039307, 0.006452223777770996, 0.006501376152038574, 0.006455296039581298 ] }, "throughput": { "unit": "samples/s", "value": 159.3013825995494 }, "energy": { "unit": "kWh", "cpu": 7.34908192000762e-08, "ram": 4.0178607116965287e-08, "gpu": 1.3984579088889173e-07, "total": 2.535152172059332e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3944536.3912324402 } } } }