{ "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.3", "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.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 719.781888, "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.19267626953125, "mean": 7.19267626953125, "stdev": 0.0, "p50": 7.19267626953125, "p90": 7.19267626953125, "p95": 7.19267626953125, "p99": 7.19267626953125, "values": [ 7.19267626953125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0674781269497342e-06, "ram": 5.692090455025323e-07, "gpu": 1.6952791340001105e-06, "total": 3.3319663064523774e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.912384, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 147, "total": 0.9973217930793761, "mean": 0.006784501993737253, "stdev": 0.00020936148192198306, "p50": 0.006874015808105469, "p90": 0.007008255958557129, "p95": 0.007053823900222778, "p99": 0.0071790183067321775, "values": [ 0.00719974422454834, 0.007205887794494629, 0.007121920108795166, 0.007154687881469727, 0.007124991893768311, 0.007109632015228271, 0.006923264026641846, 0.006976511955261231, 0.006925343990325928, 0.006958079814910889, 0.006968319892883301, 0.006952960014343262, 0.006808576107025147, 0.006833151817321777, 0.0068577280044555666, 0.006947840213775635, 0.006985695838928223, 0.007008255958557129, 0.006973440170288086, 0.006980607986450196, 0.006918047904968262, 0.00695091199874878, 0.006961152076721191, 0.007005184173583984, 0.006959104061126709, 0.006938623905181885, 0.007007232189178467, 0.006969344139099121, 0.006967296123504638, 0.006996960163116455, 0.006874015808105469, 0.006930431842803955, 0.006876160144805908, 0.00687718391418457, 0.0068884482383728025, 0.006985727787017822, 0.006879231929779053, 0.006897664070129395, 0.006956031799316406, 0.006946815967559815, 0.0071157760620117185, 0.0070553598403930665, 0.007008255958557129, 0.007027711868286133, 0.006923264026641846, 0.006938528060913086, 0.006922239780426025, 0.0069847040176391605, 0.006961152076721191, 0.006924287796020508, 0.006944767951965332, 0.006931456089019775, 0.006900735855102539, 0.006899712085723877, 0.006905856132507324, 0.00692633581161499, 0.006887423992156983, 0.006795263767242431, 0.00692633581161499, 0.006930431842803955, 0.0069508800506591795, 0.006897664070129395, 0.007008255958557129, 0.007050240039825439, 0.007009280204772949, 0.007008255958557129, 0.007015423774719238, 0.007049215793609619, 0.006929408073425293, 0.006922239780426025, 0.006977536201477051, 0.006872064113616944, 0.006915071964263916, 0.006852608203887939, 0.006848512172698974, 0.006762495994567871, 0.0066641921997070315, 0.006860799789428711, 0.006822912216186523, 0.006638591766357422, 0.0065484800338745115, 0.00657919979095459, 0.006592512130737305, 0.006796288013458252, 0.006890495777130127, 0.006933504104614257, 0.006890495777130127, 0.006975488185882568, 0.007029759883880615, 0.00669593620300293, 0.00658022403717041, 0.006576064109802246, 0.00658022403717041, 0.0064737281799316405, 0.006540287971496582, 0.006524928092956543, 0.007004159927368164, 0.006555552005767822, 0.006505472183227539, 0.006584320068359375, 0.006519807815551758, 0.006529024124145508, 0.006551551818847656, 0.006604800224304199, 0.0064767999649047855, 0.006536191940307618, 0.006474751949310303, 0.006479936122894287, 0.006524735927581787, 0.0064202880859375, 0.0065669121742248536, 0.0065177597999572755, 0.006524928092956543, 0.006542399883270263, 0.006533120155334473, 0.006516704082489014, 0.006550528049468994, 0.006505472183227539, 0.006481919765472412, 0.006688640117645263, 0.0065443840026855465, 0.00657203197479248, 0.006582272052764892, 0.006533152103424073, 0.006567935943603515, 0.006567935943603515, 0.006540287971496582, 0.006554624080657959, 0.006562816143035889, 0.0065372161865234375, 0.006548416137695312, 0.006576128005981445, 0.006534143924713135, 0.006565887928009034, 0.006554624080657959, 0.006535168170928955, 0.0065812478065490725, 0.006576128005981445, 0.006565887928009034, 0.006575104236602783, 0.006555647850036621, 0.006594560146331787, 0.006590464115142822, 0.006543360233306885, 0.006597631931304931, 0.0065669121742248536, 0.006526976108551025 ] }, "throughput": { "unit": "samples/s", "value": 147.39475364928717 }, "energy": { "unit": "kWh", "cpu": 7.244278664188334e-08, "ram": 3.9610050650367155e-08, "gpu": 1.3518303497560656e-07, "total": 2.4723587226785706e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4044720.496371146 } } } }