{ "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", "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": "c1d0b062e90b79e7705510c58cea731c0d90da8a", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1008.939008, "max_global_vram": 1877.512192, "max_process_vram": 204130.578432, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 147, "total": 1.0016516270637514, "mean": 0.006813956646692185, "stdev": 0.00022733697910165202, "p50": 0.006718729019165039, "p90": 0.007058217239379883, "p95": 0.007279194688796997, "p99": 0.007630459051132202, "values": [ 0.00808673095703125, 0.006698568820953369, 0.006675209045410156, 0.006651689052581787, 0.006655688762664795, 0.0068094501495361325, 0.006671049118041992, 0.0066553688049316405, 0.006686570167541504, 0.00669904899597168, 0.006706249237060547, 0.006888169765472412, 0.006755528926849365, 0.006701129913330078, 0.006718729019165039, 0.006695689201354981, 0.0067267298698425295, 0.006857608795166016, 0.006724809169769287, 0.006900329113006592, 0.006700328826904297, 0.006730090141296387, 0.006939689159393311, 0.007000490188598633, 0.006722569942474365, 0.006926088809967041, 0.006736810207366943, 0.006739048957824707, 0.006993929862976075, 0.006768969058990479, 0.006720008850097656, 0.006701609134674072, 0.006728969097137451, 0.006744009971618652, 0.006877129077911377, 0.006719688892364502, 0.006720008850097656, 0.006701448917388916, 0.006732490062713623, 0.006696808815002442, 0.006965610027313232, 0.006683369159698486, 0.006694249153137207, 0.006733930110931397, 0.006708008766174316, 0.006686408996582031, 0.006891530036926269, 0.006855050086975098, 0.006702569007873535, 0.006695528984069824, 0.006708489894866943, 0.0066854491233825685, 0.006738089084625244, 0.006802410125732422, 0.006691689014434814, 0.006714408874511719, 0.006696489810943604, 0.006707048892974853, 0.006747048854827881, 0.007204649925231933, 0.006867208957672119, 0.00667664909362793, 0.006920169830322265, 0.0067068891525268555, 0.006706890106201172, 0.00671536922454834, 0.006708488941192627, 0.0074288110733032224, 0.007113609790802002, 0.006724809169769287, 0.006733768939971923, 0.006703529834747314, 0.0067307291030883785, 0.00677488899230957, 0.0068614501953125, 0.006711849212646484, 0.006722249984741211, 0.006688329219818115, 0.0067073688507080075, 0.006687689781188965, 0.006704809188842774, 0.006681768894195556, 0.006728169918060303, 0.006697128772735596, 0.006690729141235352, 0.006686570167541504, 0.00669136905670166, 0.006666728973388672, 0.006702569961547852, 0.006692328929901123, 0.00669904899597168, 0.006690729141235352, 0.006715209007263184, 0.006688649177551269, 0.006690568923950195, 0.006675048828125, 0.006688808917999268, 0.006668488979339599, 0.006687049865722656, 0.006669609069824218, 0.006884329795837403, 0.006887848854064941, 0.007007530212402344, 0.006673929214477539, 0.006720170021057129, 0.006703369140625, 0.006928329944610596, 0.00691408920288086, 0.006691530227661133, 0.006696329116821289, 0.006681609153747559, 0.007266089916229248, 0.007633770942687988, 0.007626571178436279, 0.007625770092010498, 0.007619851112365723, 0.007321770191192627, 0.00711536979675293, 0.007138090133666992, 0.0071200098991394045, 0.007021288871765136, 0.007143848896026611, 0.007284811019897461, 0.006918088912963867, 0.006722569942474365, 0.006682249069213867, 0.006716649055480957, 0.006915050029754639, 0.006745449066162109, 0.006867209911346436, 0.00671808910369873, 0.006738409042358399, 0.006720169067382813, 0.0067481689453125, 0.006776490211486816, 0.006936169147491455, 0.006996490001678467, 0.0067086491584777835, 0.0066932888031005855, 0.006696969032287598, 0.006707529067993164, 0.0067024102210998535, 0.006892329216003418, 0.006679369926452637, 0.006693929195404053, 0.006698568820953369, 0.0066883301734924315 ] }, "throughput": { "unit": "samples/s", "value": 146.75761115760062 }, "energy": null, "efficiency": null } } }