{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": false, "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 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.236096, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.2.1", "optimum_benchmark_commit": "dd02f26cb819965cbf86e16d9ce013cddc3b86af", "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": 1010.118656, "max_global_vram": 897.150976, "max_process_vram": 178329.726976, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 135, "total": 0.9989598951339719, "mean": 0.007399702926918312, "stdev": 0.00041655773679716496, "p50": 0.007324312210083008, "p90": 0.007802520847320556, "p95": 0.007813289022445678, "p99": 0.007865096940994262, "values": [ 0.007301912784576416, 0.006994393825531006, 0.007037593841552735, 0.007069272994995117, 0.007035513877868652, 0.007098873138427734, 0.007038074016571045, 0.007054234027862549, 0.007015192985534668, 0.007029273986816406, 0.007004794120788574, 0.007084633827209473, 0.007027833938598633, 0.007109113216400146, 0.007115193843841553, 0.007133273124694825, 0.00715519380569458, 0.007179032802581787, 0.0070878338813781736, 0.007009432792663574, 0.006974234104156494, 0.007129434108734131, 0.006993432998657226, 0.007220314025878906, 0.007027352809906006, 0.007039993762969971, 0.0070067138671875, 0.006999353885650635, 0.0070518341064453125, 0.00703359317779541, 0.006984953880310059, 0.006976953983306885, 0.006967992782592774, 0.006999993801116943, 0.006978874206542969, 0.010242230415344238, 0.00730527400970459, 0.006959193229675293, 0.006946874141693115, 0.0071582341194152835, 0.007176154136657715, 0.0072433528900146486, 0.007045753955841064, 0.007417273044586181, 0.00762431287765503, 0.0073227138519287105, 0.00745279312133789, 0.0075399928092956545, 0.007662073135375976, 0.007434553146362305, 0.007328154087066651, 0.007467672824859619, 0.007358073234558105, 0.007534553050994873, 0.007803352832794189, 0.007640472888946533, 0.007488953113555908, 0.007636952877044678, 0.007526073932647705, 0.0075915131568908695, 0.007645913124084473, 0.007478872776031494, 0.0069166340827941895, 0.006914553165435791, 0.0069881539344787596, 0.006931513786315918, 0.00705167293548584, 0.007275993824005127, 0.006941432952880859, 0.006930553913116455, 0.006943833827972412, 0.007829273223876953, 0.007773433208465576, 0.0077694330215454105, 0.007780473232269287, 0.007801272869110107, 0.007745593070983887, 0.007774073123931885, 0.007758392810821533, 0.007779353141784668, 0.0077596731185913086, 0.007768952846527099, 0.00778959321975708, 0.00780767297744751, 0.0077646331787109375, 0.007763513088226318, 0.007739192962646484, 0.007784313201904297, 0.007782073020935059, 0.007808312892913818, 0.007770233154296875, 0.007772472858428955, 0.00778223180770874, 0.007764153003692627, 0.007811673164367676, 0.007799353122711182, 0.007770873069763183, 0.007811832904815674, 0.007827672958374023, 0.007797112941741943, 0.007785593032836914, 0.007865912914276123, 0.007809272766113281, 0.0077700729370117185, 0.007753433227539063, 0.007754552841186524, 0.007798552989959717, 0.007812952995300293, 0.007751352787017822, 0.007785752773284912, 0.007814073085784912, 0.00696959400177002, 0.006952473163604736, 0.006968634128570557, 0.006919194221496582, 0.006936633110046387, 0.006945754051208496, 0.006943833827972412, 0.007364152908325195, 0.007816792964935303, 0.007781912803649902, 0.007863512992858887, 0.007656952857971191, 0.007318552970886231, 0.007356472969055176, 0.007307034015655517, 0.007208152770996094, 0.007233754158020019, 0.007301113128662109, 0.007314713001251221, 0.007344473838806152, 0.007332313060760498, 0.007235672950744629, 0.007284153938293457, 0.007324312210083008 ] }, "throughput": { "unit": "samples/s", "value": 135.14056035442238 }, "energy": null, "efficiency": null } } }