{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "library": "transformers", "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, "latency": true, "memory": 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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.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": { "forward": { "memory": { "unit": "MB", "max_ram": 909.361152, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 135, "total": 0.9973826532363892, "mean": 0.007388019653602883, "stdev": 0.0004794804618270296, "p50": 0.007331840038299561, "p90": 0.00768860149383545, "p95": 0.007779839944839478, "p99": 0.009955901241302486, "values": [ 0.010729472160339355, 0.010292223930358887, 0.00930303955078125, 0.007864319801330566, 0.007775231838226319, 0.007675903797149658, 0.007407551765441895, 0.007412735939025879, 0.007434144020080567, 0.007415808200836181, 0.007402495861053467, 0.0073820161819458, 0.007417856216430664, 0.007473152160644531, 0.007428095817565918, 0.007400447845458984, 0.007400447845458984, 0.008461312294006347, 0.007790592193603516, 0.00769324779510498, 0.007718912124633789, 0.007337984085083008, 0.007448575973510742, 0.007452672004699707, 0.007398399829864502, 0.007349247932434082, 0.007303167819976806, 0.007543807983398438, 0.0073175039291381834, 0.007365664005279541, 0.007366655826568603, 0.007432191848754883, 0.007436319828033448, 0.00743936014175415, 0.007384064197540283, 0.0073062400817871095, 0.007425024032592774, 0.007407616138458252, 0.007421919822692871, 0.007326720237731933, 0.007331840038299561, 0.007700479984283447, 0.007711743831634522, 0.00733900785446167, 0.007463935852050781, 0.007374847888946533, 0.007351295948028564, 0.007349247932434082, 0.007357439994812012, 0.007464863777160644, 0.007613440036773681, 0.007419904232025146, 0.00742195177078247, 0.007396351814270019, 0.007401472091674805, 0.007362559795379638, 0.007329823970794677, 0.0072468481063842774, 0.007218143939971924, 0.007443456172943115, 0.007624703884124756, 0.007583744049072265, 0.0073820161819458, 0.00728166389465332, 0.007352320194244385, 0.007686143875122071, 0.0076902399063110355, 0.007640063762664795, 0.0077608962059021, 0.007832575798034667, 0.007568384170532226, 0.007395328044891358, 0.007361536026000977, 0.007309311866760254, 0.007259136199951172, 0.007285823822021484, 0.007290847778320312, 0.007391232013702393, 0.007282688140869141, 0.0072499198913574215, 0.007208960056304932, 0.007303135871887207, 0.007236576080322266, 0.00729702377319336, 0.007243775844573975, 0.007231488227844239, 0.007228415966033935, 0.007014400005340577, 0.006989823818206787, 0.006982656002044678, 0.006936575889587402, 0.006998015880584717, 0.007004159927368164, 0.0069928960800170895, 0.006947840213775635, 0.00714035177230835, 0.007267327785491944, 0.00724889612197876, 0.007278592109680176, 0.007226367950439453, 0.0072427520751953125, 0.007269375801086426, 0.007262207984924316, 0.007255040168762207, 0.007237631797790528, 0.007242688179016113, 0.007242688179016113, 0.007256063938140869, 0.007268352031707764, 0.007331840038299561, 0.007222271919250488, 0.007178239822387696, 0.006980607986450196, 0.006969344139099121, 0.006954944133758545, 0.006971392154693603, 0.006970367908477783, 0.006991903781890869, 0.006956031799316406, 0.007004159927368164, 0.006974463939666748, 0.006960127830505371, 0.006949888229370117, 0.00710041618347168, 0.007261184215545655, 0.007250944137573242, 0.0072765440940856935, 0.007067647933959961, 0.00694271993637085, 0.006964223861694336, 0.006970367908477783, 0.00743833589553833, 0.00724783992767334, 0.0072724480628967286, 0.007250944137573242 ] }, "throughput": { "unit": "samples/s", "value": 135.35426905806003 }, "energy": { "unit": "kWh", "cpu": 8.800046311484444e-08, "ram": 4.8108157542967015e-08, "gpu": 1.6541577019259273e-07, "total": 3.015243908504042e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3316481.2875656607 } } } }