{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_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": {}, "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": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 789.291008, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.38912158203125, "mean": 7.38912158203125, "stdev": 0.0, "p50": 7.38912158203125, "p90": 7.38912158203125, "p95": 7.38912158203125, "p99": 7.38912158203125, "values": [ 7.38912158203125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.049587779861088e-06, "ram": 5.592527948891558e-07, "gpu": 1.6505568759994822e-06, "total": 3.259397450749726e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.31296, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 148, "total": 1.0007703661918643, "mean": 0.006761961933728812, "stdev": 0.00013780381666324038, "p50": 0.00674508810043335, "p90": 0.006891097402572632, "p95": 0.006938470458984375, "p99": 0.007230442624092103, "values": [ 0.007201791763305664, 0.007030816078186035, 0.006924287796020508, 0.006953983783721924, 0.006994944095611572, 0.006870975971221924, 0.006923264026641846, 0.0072039680480957035, 0.006873087882995605, 0.006829055786132812, 0.007388160228729248, 0.006613984107971192, 0.00648089599609375, 0.0064849920272827145, 0.0064778242111206055, 0.006495232105255127, 0.006770688056945801, 0.006759424209594727, 0.00673689603805542, 0.0067358717918396, 0.0067337918281555175, 0.006759583950042725, 0.006887423992156983, 0.006883327960968018, 0.006738944053649902, 0.006717567920684815, 0.00672051191329956, 0.00674508810043335, 0.00677785587310791, 0.006677279949188233, 0.0067358717918396, 0.006710271835327148, 0.0067358717918396, 0.006725632190704346, 0.00674508810043335, 0.006692863941192627, 0.006692863941192627, 0.006726528167724609, 0.006897664070129395, 0.006708223819732666, 0.006740992069244385, 0.0066641921997070315, 0.006910975933074951, 0.00668559980392456, 0.006651904106140137, 0.006744063854217529, 0.006751232147216797, 0.0067123198509216305, 0.0067123198509216305, 0.006720416069030762, 0.006747136116027832, 0.006676479816436768, 0.006737919807434082, 0.0069324798583984375, 0.006676479816436768, 0.006700032234191895, 0.0069027838706970214, 0.006676640033721924, 0.006829055786132812, 0.0066109437942504885, 0.006699903964996338, 0.006689792156219483, 0.006727615833282471, 0.006796288013458252, 0.006665184020996094, 0.006738944053649902, 0.00676032018661499, 0.006673408031463623, 0.006691840171813965, 0.006767648220062256, 0.006715392112731934, 0.006702079772949219, 0.006729728221893311, 0.006854656219482422, 0.006675456047058105, 0.006862847805023193, 0.006730559825897217, 0.006654975891113281, 0.006690815925598144, 0.006691840171813965, 0.006672383785247803, 0.006718463897705078, 0.006725632190704346, 0.006717440128326416, 0.006680575847625733, 0.006696959972381592, 0.006716415882110595, 0.006676511764526367, 0.006716415882110595, 0.006672383785247803, 0.006845376014709473, 0.0068351998329162595, 0.0066979842185974124, 0.006686880111694336, 0.00675328016281128, 0.006723584175109864, 0.00672051191329956, 0.006436863899230957, 0.006433792114257812, 0.006490111827850342, 0.006496255874633789, 0.006391808032989502, 0.006415359973907471, 0.0067420158386230465, 0.006817791938781738, 0.006854656219482422, 0.007253920078277588, 0.006864895820617676, 0.006851424217224121, 0.00688640022277832, 0.0068895998001098635, 0.006794079780578614, 0.00679423999786377, 0.006804480075836182, 0.0068249602317810056, 0.006766592025756836, 0.006776832103729248, 0.0068055038452148435, 0.00679423999786377, 0.006874112129211426, 0.006815743923187256, 0.006941696166992187, 0.006767615795135498, 0.006758399963378906, 0.006873087882995605, 0.006738944053649902, 0.006816768169403077, 0.006778880119323731, 0.0067338237762451176, 0.006751232147216797, 0.006795263767242431, 0.006792191982269287, 0.006746111869812011, 0.006788000106811524, 0.006809599876403808, 0.006744991779327392, 0.006821887969970703, 0.006776832103729248, 0.0067686400413513184, 0.0068884482383728025, 0.006894591808319092, 0.006758399963378906, 0.00675929594039917, 0.006836128234863281, 0.006832064151763916, 0.006767615795135498, 0.006813695907592773, 0.006818816184997558 ] }, "throughput": { "unit": "samples/s", "value": 147.88607356867516 }, "energy": { "unit": "kWh", "cpu": 7.821538636695773e-08, "ram": 4.276253765806461e-08, "gpu": 1.4190069831579036e-07, "total": 2.628786223408127e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3804036.977580991 } } } }