{ "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": "56d026bf244c6516d8cb780280ce7cc6505f270e", "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.033792, "max_global_vram": 1877.512192, "max_process_vram": 228414.99648, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 131, "total": 0.996338135242462, "mean": 0.007605634620171466, "stdev": 0.0005082020193778567, "p50": 0.007525771141052246, "p90": 0.008147532463073731, "p95": 0.00831673240661621, "p99": 0.008529164695739746, "values": [ 0.007401610851287842, 0.007713771820068359, 0.0077513718605041505, 0.008456811904907227, 0.008551532745361329, 0.008476972579956055, 0.008422093391418457, 0.008287692070007324, 0.008345772743225097, 0.008139052391052247, 0.008065611839294433, 0.008046412467956543, 0.008033132553100586, 0.008017292022705078, 0.00806689167022705, 0.008031532287597657, 0.008071051597595216, 0.008080012321472168, 0.008107692718505859, 0.008033612251281737, 0.008109771728515625, 0.008126252174377442, 0.008112172126770019, 0.008091373443603516, 0.008140172004699707, 0.008152812004089356, 0.00818513298034668, 0.008126412391662598, 0.008111532211303712, 0.008285452842712402, 0.00835233211517334, 0.008231372833251953, 0.008147532463073731, 0.00813825225830078, 0.008182732582092286, 0.00812801170349121, 0.008090412139892578, 0.008037132263183594, 0.00809409236907959, 0.007727692127227783, 0.007310571193695069, 0.007629611968994141, 0.007610570907592773, 0.0073563318252563474, 0.007341290950775146, 0.007399371147155762, 0.010656975746154785, 0.007297451019287109, 0.0071350507736206055, 0.007131370067596435, 0.007159050941467285, 0.0071302509307861325, 0.007235371112823487, 0.00744865083694458, 0.007552812099456787, 0.0071507301330566405, 0.007456171989440918, 0.00714976978302002, 0.007181130886077881, 0.00714785099029541, 0.0071388912200927735, 0.007150570869445801, 0.0071414499282836915, 0.007128971099853516, 0.007120171070098877, 0.007111530780792236, 0.007179850101470947, 0.008022573471069336, 0.007205289840698242, 0.007198891162872314, 0.007165451049804688, 0.007168331146240234, 0.00715713119506836, 0.007144330024719238, 0.007155690193176269, 0.00715169095993042, 0.007114891052246094, 0.0070996909141540524, 0.007193930149078369, 0.007102731227874756, 0.007136170864105225, 0.0071656107902526855, 0.007145450115203857, 0.007151529788970947, 0.007135691165924073, 0.007167050838470459, 0.007181291103363037, 0.0071462497711181645, 0.007335691928863525, 0.007122089862823486, 0.007114090919494629, 0.007109130859375, 0.0071076898574829106, 0.007103370189666748, 0.007142411231994629, 0.0073595309257507326, 0.007360011100769043, 0.007358090877532959, 0.007412651062011719, 0.007575691223144531, 0.007568330764770508, 0.007662092208862305, 0.007993931770324708, 0.008013611793518066, 0.007838252067565919, 0.00748305082321167, 0.007559051990509033, 0.007695850849151612, 0.007534091949462891, 0.0075516910552978515, 0.007620331764221192, 0.00779633092880249, 0.008029292106628418, 0.007997131824493409, 0.007948651790618896, 0.007602571010589599, 0.007597772121429444, 0.0076532912254333495, 0.007525771141052246, 0.0075779309272766115, 0.007584331035614014, 0.007594572067260742, 0.007302091121673584, 0.007209610939025879, 0.00711152982711792, 0.007190569877624512, 0.007171531200408935, 0.0071779308319091795, 0.00714017105102539, 0.007115048885345459, 0.007159210205078125 ] }, "throughput": { "unit": "samples/s", "value": 131.48146735156408 }, "energy": null, "efficiency": null } } }