{ "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.1", "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.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 719.699968, "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.203986328125, "mean": 7.203986328125, "stdev": 0.0, "p50": 7.203986328125, "p90": 7.203986328125, "p95": 7.203986328125, "p99": 7.203986328125, "values": [ 7.203986328125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0517976350254485e-06, "ram": 5.607520473280185e-07, "gpu": 1.9144459760004826e-06, "total": 3.5269956583539496e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.30208, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 153, "total": 0.9953256325721742, "mean": 0.0065053962913213985, "stdev": 0.00023626207551548755, "p50": 0.006469696044921875, "p90": 0.00682024974822998, "p95": 0.006878451251983643, "p99": 0.007005552711486816, "values": [ 0.007035903930664063, 0.007054336071014404, 0.006953983783721924, 0.0069253120422363285, 0.006869056224822998, 0.006909952163696289, 0.006892543792724609, 0.006825984001159668, 0.0067420158386230465, 0.006718463897705078, 0.006770688056945801, 0.006759424209594727, 0.006681600093841553, 0.006638559818267822, 0.006696959972381592, 0.006707200050354004, 0.006831103801727295, 0.006789120197296142, 0.006848512172698974, 0.006842368125915528, 0.0067276802062988285, 0.0066877121925354, 0.006765567779541016, 0.0068249602317810056, 0.0067358717918396, 0.006781951904296875, 0.006501376152038574, 0.006508480072021485, 0.006472703933715821, 0.006502399921417237, 0.006481919765472412, 0.006503424167633057, 0.006492127895355224, 0.006402048110961914, 0.0063805441856384275, 0.006348800182342529, 0.006384640216827392, 0.006388735771179199, 0.006463488101959228, 0.006456319808959961, 0.006425600051879882, 0.006475776195526123, 0.006601727962493896, 0.006490111827850342, 0.006575104236602783, 0.006633471965789795, 0.00653926420211792, 0.006495232105255127, 0.006760447978973389, 0.006774784088134766, 0.006781951904296875, 0.006732800006866455, 0.006750207901000976, 0.006737919807434082, 0.006650879859924317, 0.006977536201477051, 0.006725632190704346, 0.006757343769073486, 0.006908927917480469, 0.006658048152923584, 0.0067276802062988285, 0.006739967823028564, 0.00662937593460083, 0.0066304001808166506, 0.006664127826690674, 0.006654911994934082, 0.006801407814025879, 0.006833151817321777, 0.0067573761940002445, 0.006650879859924317, 0.006556704044342041, 0.0064737281799316405, 0.006474751949310303, 0.006469632148742676, 0.006404096126556396, 0.006456319808959961, 0.006469696044921875, 0.006397952079772949, 0.0063907837867736815, 0.0063201279640197755, 0.006264832019805908, 0.006408192157745361, 0.006305791854858398, 0.0065484800338745115, 0.00643174409866333, 0.00643993616104126, 0.006574048042297363, 0.006515711784362793, 0.006696959972381592, 0.006666240215301514, 0.006718463897705078, 0.0067717118263244626, 0.0068689918518066405, 0.0066078720092773435, 0.006498303890228272, 0.006436895847320556, 0.006358016014099121, 0.006115263938903809, 0.006094848155975342, 0.00608460807800293, 0.006109183788299561, 0.006205440044403076, 0.006085631847381592, 0.006081535816192627, 0.006054912090301514, 0.006206463813781738, 0.0060999679565429685, 0.006082560062408447, 0.006094848155975342, 0.0060661759376525876, 0.006154240131378174, 0.006044672012329101, 0.006060031890869141, 0.00603545618057251, 0.006095871925354004, 0.0061224961280822755, 0.006464511871337891, 0.006391808032989502, 0.006378496170043945, 0.006404096126556396, 0.006416384220123291, 0.006376448154449463, 0.0064102401733398436, 0.006341631889343262, 0.006369279861450195, 0.006384640216827392, 0.006368256092071533, 0.006359039783477783, 0.006415359973907471, 0.006378496170043945, 0.00638259220123291, 0.006474751949310303, 0.0064133119583129885, 0.006368256092071533, 0.006404096126556396, 0.006359039783477783, 0.006392831802368164, 0.006359039783477783, 0.006391808032989502, 0.006404032230377197, 0.006385663986206055, 0.0063907837867736815, 0.006411263942718506, 0.00636518383026123, 0.006409215927124024, 0.006345727920532227, 0.006363103866577149, 0.0064174079895019534, 0.006295551776885986, 0.006261760234832763, 0.006302720069885254, 0.006326272010803223, 0.006376448154449463 ] }, "throughput": { "unit": "samples/s", "value": 153.71853692204147 }, "energy": { "unit": "kWh", "cpu": 7.279464783275217e-08, "ram": 3.980050170468462e-08, "gpu": 1.4530686471165728e-07, "total": 2.579020142490941e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3877441.604756728 } } } }