{ "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.3.0", "optimum_benchmark_commit": "19eeac52e408e408898ac1fac3d9abefced0131b", "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": 1009.393664, "max_global_vram": 897.155072, "max_process_vram": 175295.279104, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 145, "total": 0.9993726477622985, "mean": 0.00689222515698137, "stdev": 0.0003432149083098388, "p50": 0.006838057041168213, "p90": 0.007138376140594482, "p95": 0.0072429518699646, "p99": 0.007652927398681641, "values": [ 0.007162536144256592, 0.006762857913970947, 0.006767177104949952, 0.006804296970367432, 0.006828776836395264, 0.006796936988830566, 0.006830377101898193, 0.006798057079315185, 0.006792616844177246, 0.0067489371299743655, 0.0067052578926086424, 0.006725417137145996, 0.006710217952728271, 0.00672285795211792, 0.006689416885375977, 0.00667757797241211, 0.006712777137756348, 0.006720297813415528, 0.006712296962738037, 0.006720936775207519, 0.0067210979461669925, 0.006707976818084717, 0.006667977809906006, 0.006717896938323974, 0.006732616901397705, 0.00670477819442749, 0.006702376842498779, 0.00678205680847168, 0.006735177993774414, 0.0067518181800842285, 0.006741897106170654, 0.006750057220458985, 0.006728298187255859, 0.006681897163391113, 0.0066862177848815915, 0.0067002978324890135, 0.006695497035980225, 0.0067052578926086424, 0.006804137229919433, 0.00684477710723877, 0.006845097064971924, 0.00675341796875, 0.0067303781509399415, 0.006729257106781006, 0.00671901798248291, 0.01045100498199463, 0.007064136981964111, 0.006782537937164307, 0.006773097038269043, 0.006864616870880127, 0.0068057370185852055, 0.006820937156677246, 0.006844936847686767, 0.006830697059631348, 0.00685789680480957, 0.006838216781616211, 0.0068252568244934085, 0.006853257179260254, 0.006835018157958984, 0.006840618133544922, 0.007033257007598877, 0.0068614168167114254, 0.006848297119140625, 0.006837897777557373, 0.006888936996459961, 0.006834856986999512, 0.006836616992950439, 0.0068252568244934085, 0.006873096942901611, 0.006867816925048828, 0.006843496799468994, 0.006839177131652832, 0.006798057079315185, 0.006807977199554443, 0.0068154969215393066, 0.006859976768493653, 0.00681037712097168, 0.0068014168739318846, 0.006873416900634766, 0.00682509708404541, 0.006816297054290771, 0.0068540568351745604, 0.00683549690246582, 0.0068631768226623535, 0.006848456859588623, 0.006838057041168213, 0.006827657222747803, 0.006833897113800049, 0.006821897029876709, 0.006832457065582275, 0.006810856819152832, 0.006842377185821533, 0.00683709716796875, 0.00684317684173584, 0.006853096961975098, 0.006815337181091309, 0.00684093713760376, 0.006845097064971924, 0.0070615758895874025, 0.007608455181121826, 0.007275176048278808, 0.007201576232910156, 0.007613413810729981, 0.007683973789215088, 0.007296774864196777, 0.007191495895385742, 0.00720573616027832, 0.007208295822143555, 0.00711021614074707, 0.007110536098480225, 0.007224135875701905, 0.007293735027313232, 0.007247655868530273, 0.007156936168670655, 0.00693501615524292, 0.006840776920318603, 0.006876936912536621, 0.006884777069091797, 0.0068388571739196775, 0.006838376998901367, 0.006838376998901367, 0.006839817047119141, 0.00687149715423584, 0.006865577220916748, 0.006849576950073242, 0.006853897094726563, 0.006837417125701904, 0.006854217052459716, 0.0068362970352172855, 0.006796456813812256, 0.006876296997070312, 0.006905577182769775, 0.006930215835571289, 0.006921417236328125, 0.006881577014923096, 0.006890216827392578, 0.006850377082824707, 0.006853256225585937, 0.006835816860198974, 0.00685085678100586, 0.0068594970703125, 0.006865256786346435, 0.00688573694229126, 0.0068559770584106445, 0.006904777050018311 ] }, "throughput": { "unit": "samples/s", "value": 145.09102317806114 }, "energy": null, "efficiency": null } } }