{ "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", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "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.0", "optimum_benchmark_commit": "4aa72a2fd35e7d46a674935ffaf335b1c0795600", "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1010.93376, "max_global_vram": 897.163264, "max_process_vram": 210205.937664, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 134, "total": 0.9998656764030455, "mean": 0.007461684152261534, "stdev": 0.0004971610932721274, "p50": 0.007251110076904297, "p90": 0.008070372867584228, "p95": 0.008212717008590697, "p99": 0.008652484025955198, "values": [ 0.008701587677001953, 0.008023029327392578, 0.00796782922744751, 0.008363987922668457, 0.008552788734436035, 0.008267667770385742, 0.007786870002746582, 0.008210868835449218, 0.008378868103027343, 0.008140949249267579, 0.008052788734436035, 0.007751988887786865, 0.00821614933013916, 0.008136149406433105, 0.008067349433898925, 0.008062708854675292, 0.00804750919342041, 0.00807166862487793, 0.008074069023132324, 0.008085589408874511, 0.00801310920715332, 0.008011988639831543, 0.008034388542175292, 0.007435989856719971, 0.007881749153137206, 0.00803278923034668, 0.007793108940124512, 0.007811349868774414, 0.009252786636352539, 0.008112309455871582, 0.007854548931121827, 0.007867029190063476, 0.007838389873504638, 0.007853909015655518, 0.007838549137115479, 0.007836470127105713, 0.007861749172210693, 0.007874069213867187, 0.007872148990631104, 0.00788366985321045, 0.007862390041351319, 0.007912629127502442, 0.007921908855438232, 0.007911828994750977, 0.007915668964385987, 0.007911509990692138, 0.007882069110870362, 0.007879828929901123, 0.007912949085235595, 0.007843830108642579, 0.0071681499481201175, 0.0070206298828125, 0.007468629837036133, 0.007204629898071289, 0.0069887909889221195, 0.006999989986419678, 0.006991829872131348, 0.007037590980529785, 0.00703423023223877, 0.007021591186523437, 0.007230390071868897, 0.006961430072784424, 0.006951991081237793, 0.0069883098602294925, 0.006951190948486328, 0.007661909103393555, 0.0070159912109375, 0.007008470058441162, 0.00700623083114624, 0.006959031105041504, 0.007019989967346192, 0.006951190948486328, 0.0069713501930236815, 0.007011190891265869, 0.0072398300170898435, 0.006979350090026855, 0.006980950832366943, 0.0069670300483703615, 0.00703295087814331, 0.0069951901435852054, 0.0069771108627319335, 0.007005589962005615, 0.006970070838928223, 0.007000790119171142, 0.007006549835205078, 0.0069771108627319335, 0.006999189853668213, 0.006976150989532471, 0.007016149997711182, 0.007013751029968262, 0.006991030216217041, 0.006967191219329834, 0.0071831908226013185, 0.006999670028686523, 0.007016150951385498, 0.006987349987030029, 0.006972630977630615, 0.006997591018676758, 0.007007190227508545, 0.007006711006164551, 0.007033909797668457, 0.007462230205535889, 0.007902389049530029, 0.007867029190063476, 0.007865270137786866, 0.007862548828125, 0.007875188827514649, 0.007354229927062988, 0.007215670108795166, 0.007325109958648682, 0.007425749778747558, 0.0073607897758483885, 0.007344629764556885, 0.007335669994354248, 0.00726239013671875, 0.007338550090789795, 0.007361589908599853, 0.007187349796295166, 0.007116469860076904, 0.007132630825042724, 0.007115509986877442, 0.00711614990234375, 0.007158390045166016, 0.007093111038208008, 0.007021749973297119, 0.006983191013336182, 0.007006071090698242, 0.006997109889984131, 0.006982710838317871, 0.006969268798828125, 0.006981270790100098, 0.007048789978027344, 0.006977910995483398, 0.007018710136413574 ] }, "throughput": { "unit": "samples/s", "value": 134.01800178005576 }, "energy": null, "efficiency": null } } }