{ "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_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": {}, "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, "memory": true, "latency": 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.1", "optimum_benchmark_commit": "bc977b19adf337e8eb02985f3cceb35e1a783a1c", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 900.378624, "max_global_vram": 841.76896, "max_process_vram": 45158.928384, "max_reserved": 555.74528, "max_allocated": 499.376128 }, "latency": { "unit": "s", "count": 1, "total": 7.3461826171875, "mean": 7.3461826171875, "stdev": 0.0, "p50": 7.3461826171875, "p90": 7.3461826171875, "p95": 7.3461826171875, "p99": 7.3461826171875, "values": [ 7.3461826171875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1014.136832, "max_global_vram": 897.093632, "max_process_vram": 235058.909184, "max_reserved": 555.74528, "max_allocated": 499.4432 }, "latency": { "unit": "s", "count": 135, "total": 0.9981891474723811, "mean": 0.007393993684980605, "stdev": 0.000399735675018889, "p50": 0.007244318008422851, "p90": 0.007975773620605468, "p95": 0.008084094047546387, "p99": 0.008224948291778564, "values": [ 0.008241758346557618, 0.008192317008972168, 0.008163198471069336, 0.008101117134094239, 0.008109758377075196, 0.00807679843902588, 0.008035676956176758, 0.008160477638244628, 0.008428636550903321, 0.008074398040771485, 0.008006397247314454, 0.00798351812362671, 0.007978077888488769, 0.00790351676940918, 0.007916478157043457, 0.00793711805343628, 0.007882876873016358, 0.00781871795654297, 0.007855038166046142, 0.007860796928405762, 0.007848797798156738, 0.007856798171997071, 0.007834396839141845, 0.007855517864227295, 0.007835358142852784, 0.007819197177886962, 0.00795999813079834, 0.007869597911834716, 0.007903357028961182, 0.007987678050994873, 0.007899678230285645, 0.007972317218780518, 0.007888318061828613, 0.007954876899719238, 0.007467837810516358, 0.007033597946166992, 0.007029438018798828, 0.007020637989044189, 0.007035518169403076, 0.007043198108673095, 0.007005437850952149, 0.007095357894897461, 0.007032957077026367, 0.007082558155059814, 0.007244318008422851, 0.007165118217468262, 0.007033917903900146, 0.007063518047332764, 0.00708607816696167, 0.007056317806243897, 0.007011678218841553, 0.007270397186279297, 0.007445598125457763, 0.007262877941131592, 0.007270718097686767, 0.007258718013763428, 0.007259838104248047, 0.007057436943054199, 0.007027997970581055, 0.0070638380050659175, 0.007060798168182373, 0.007073118209838867, 0.007048317909240723, 0.007093438148498535, 0.007027038097381592, 0.007052958011627197, 0.007042238235473633, 0.007265437126159668, 0.0071036782264709475, 0.007108798027038574, 0.007088637828826904, 0.007093438148498535, 0.007074557781219483, 0.007096638202667236, 0.00707023811340332, 0.007064157962799072, 0.0070094380378723144, 0.00705775785446167, 0.007065117835998535, 0.007049918174743652, 0.007238237857818603, 0.007071037769317627, 0.007051517963409424, 0.007065278053283691, 0.007033438205718994, 0.007049757957458496, 0.007048956871032715, 0.007047838211059571, 0.0070185580253601075, 0.007022558212280273, 0.007011037826538086, 0.007060157775878906, 0.007023677825927734, 0.006996478080749512, 0.007072638034820557, 0.007031998157501221, 0.007042078018188477, 0.007049437046051025, 0.007170557975769043, 0.007050878047943116, 0.007024797916412353, 0.007071358203887939, 0.007846397876739502, 0.007904797077178956, 0.007939037799835204, 0.0077531180381774905, 0.007467196941375732, 0.0074620780944824215, 0.0074191980361938475, 0.007385278224945068, 0.007323678016662598, 0.007348476886749267, 0.007388798236846924, 0.007442877769470215, 0.007559038162231445, 0.0070705580711364745, 0.007549437046051025, 0.00790271806716919, 0.007889277935028076, 0.007736317157745361, 0.007276477813720703, 0.007343038082122803, 0.007421438217163086, 0.007359998226165771, 0.007404317855834961, 0.007399356842041015, 0.007407358169555664, 0.0073028779029846195, 0.007160798072814941, 0.006978878021240234, 0.007167357921600342, 0.007052637100219726, 0.0070158371925354, 0.007041597843170166, 0.007033438205718994 ] }, "throughput": { "unit": "samples/s", "value": 135.24490858455786 }, "energy": null, "efficiency": null } } }