{ "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": "cc9b50765eac8085269af1a207e20c6a9b260b67", "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": 1011.073024, "max_global_vram": 897.155072, "max_process_vram": 190474.371072, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 129, "total": 0.9999100217819213, "mean": 0.007751240478929624, "stdev": 0.0004963902160614615, "p50": 0.007478538990020752, "p90": 0.008387433052062987, "p95": 0.008412105178833007, "p99": 0.00855179084777832, "values": [ 0.008597576141357421, 0.008429256439208985, 0.008434057235717773, 0.00841085720062256, 0.008398056983947754, 0.008365896224975586, 0.008375336647033691, 0.008364776611328124, 0.008385255813598632, 0.008304137229919434, 0.008319976806640626, 0.008318857192993164, 0.008335495948791504, 0.00839565658569336, 0.008374056816101073, 0.008349736213684083, 0.008352617263793945, 0.008332297325134278, 0.008371335983276367, 0.00838621711730957, 0.00841293716430664, 0.008395816802978516, 0.008419496536254883, 0.008229737281799316, 0.00792045783996582, 0.007921098232269287, 0.007821739196777344, 0.007353899002075196, 0.007620459079742432, 0.007800457954406738, 0.008344616889953613, 0.008340296745300292, 0.00812781810760498, 0.008103337287902832, 0.007756138801574707, 0.007740299224853516, 0.007868778228759766, 0.010907170295715331, 0.008179336547851563, 0.007899337768554688, 0.008426217079162598, 0.007963657855987549, 0.007404778957366943, 0.00732174015045166, 0.007361098766326905, 0.007614058971405029, 0.007368618965148926, 0.007534379005432129, 0.007432459831237793, 0.007482059955596924, 0.007357419013977051, 0.007478538990020752, 0.0074050998687744144, 0.00765133810043335, 0.007527819156646728, 0.00767181921005249, 0.007344298839569092, 0.007498058795928955, 0.007384779930114746, 0.007321259021759033, 0.007362539768218994, 0.007347019195556641, 0.007335020065307617, 0.0073551788330078124, 0.007355179786682129, 0.007428298950195313, 0.00736814022064209, 0.007356460094451904, 0.007361258983612061, 0.007379819869995117, 0.007380458831787109, 0.0073433399200439455, 0.00736509895324707, 0.007319019794464111, 0.007328458786010742, 0.007366219997406006, 0.00733453893661499, 0.00732829999923706, 0.007386058807373047, 0.007345580101013184, 0.007361739158630371, 0.007375339984893799, 0.007379179000854492, 0.007396139144897461, 0.007693099021911621, 0.008328936576843261, 0.008363495826721192, 0.00839229679107666, 0.007989418029785157, 0.007753098011016845, 0.007752937793731689, 0.007747659206390381, 0.007773417949676514, 0.007770058155059815, 0.007815019130706787, 0.007633578777313232, 0.007429900169372558, 0.007424459934234619, 0.0074182190895080566, 0.007384300231933594, 0.007440619945526123, 0.007429099082946778, 0.0073638191223144535, 0.0074094200134277345, 0.007367499828338623, 0.007409258842468262, 0.007413259983062744, 0.007401258945465088, 0.007443978786468506, 0.007381899833679199, 0.0074167799949645995, 0.007402059078216553, 0.007396460056304932, 0.007390379905700684, 0.007399659156799316, 0.0074199800491333, 0.007433899879455566, 0.00743005895614624, 0.00778013801574707, 0.007455019950866699, 0.007418378829956055, 0.007458858966827393, 0.00743437910079956, 0.007461739063262939, 0.007438859939575195, 0.007759657859802246, 0.007414699077606201, 0.007888937950134277, 0.008407496452331542 ] }, "throughput": { "unit": "samples/s", "value": 129.0116082346204 }, "energy": null, "efficiency": null } } }