{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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.252864, "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.34.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": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 801.267712, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.82833349609375, "mean": 7.82833349609375, "stdev": 0.0, "p50": 7.82833349609375, "p90": 7.82833349609375, "p95": 7.82833349609375, "p99": 7.82833349609375, "values": [ 7.82833349609375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.050207833329439e-07, "ram": 4.717123487643315e-07, "gpu": 1.7080569219996705e-06, "total": 3.084790054096946e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1097.351168, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 133, "total": 0.9989645781517026, "mean": 0.007511011865802277, "stdev": 0.00021175425462720908, "p50": 0.0074587841033935546, "p90": 0.007718912124633789, "p95": 0.007903641510009765, "p99": 0.008361001358032227, "values": [ 0.008386560440063476, 0.00830668830871582, 0.00787660789489746, 0.007820288181304931, 0.007768064022064209, 0.008170495986938477, 0.008571904182434082, 0.007473152160644531, 0.007234560012817383, 0.007218175888061523, 0.007228415966033935, 0.00723967981338501, 0.007187456130981445, 0.007214079856872559, 0.007228384017944336, 0.007227392196655274, 0.007236608028411865, 0.007491583824157715, 0.0074332160949707035, 0.0074332160949707035, 0.007551936149597168, 0.007433152198791504, 0.00743936014175415, 0.007452672004699707, 0.00743833589553833, 0.007412735939025879, 0.0074106879234313965, 0.007417856216430664, 0.007440288066864014, 0.007527423858642578, 0.007535615921020508, 0.00744755220413208, 0.007473152160644531, 0.00753868818283081, 0.007413760185241699, 0.007461887836456299, 0.0074741759300231934, 0.00749567985534668, 0.007471072196960449, 0.0074414081573486324, 0.0074587841033935546, 0.007418879985809326, 0.007466976165771484, 0.0074926080703735356, 0.007532544136047363, 0.007864319801330566, 0.007506944179534912, 0.0074659519195556644, 0.0074332160949707035, 0.0074106879234313965, 0.007414783954620361, 0.007449535846710205, 0.0074403839111328125, 0.007456768035888672, 0.00744755220413208, 0.0074321279525756834, 0.007425024032592774, 0.007388160228729248, 0.0074065918922424315, 0.00743936014175415, 0.007444479942321777, 0.00742195177078247, 0.007434239864349365, 0.0074291200637817386, 0.00742195177078247, 0.007417856216430664, 0.0074301438331604, 0.007443456172943115, 0.0074711041450500485, 0.0074291200637817386, 0.007455743789672851, 0.007449600219726562, 0.00739737606048584, 0.007445504188537597, 0.0074301438331604, 0.0074414081573486324, 0.007501887798309326, 0.007457791805267334, 0.0074629120826721195, 0.007428095817565918, 0.007404543876647949, 0.00744547176361084, 0.007441376209259033, 0.007483391761779785, 0.00743936014175415, 0.007377920150756836, 0.007414783954620361, 0.007361567974090576, 0.007408576011657715, 0.007360511779785156, 0.008166399955749512, 0.007484416007995606, 0.007341055870056152, 0.007388160228729248, 0.007583744049072265, 0.007628799915313721, 0.007702527999877929, 0.007723008155822754, 0.007663616180419922, 0.008045568466186523, 0.007944191932678223, 0.007638016223907471, 0.007658495903015137, 0.00774451208114624, 0.007642111778259277, 0.007636991977691651, 0.007580671787261963, 0.007576511859893799, 0.007519231796264648, 0.007523327827453613, 0.007521247863769532, 0.007477248191833496, 0.007499711990356445, 0.007502848148345947, 0.007490560054779053, 0.007521279811859131, 0.007508992195129394, 0.007525375843048096, 0.007505919933319092, 0.007163904190063477, 0.0073820161819458, 0.007524352073669433, 0.007483391761779785, 0.007510015964508057, 0.007771135807037354, 0.007526400089263916, 0.007511040210723877, 0.007456768035888672, 0.007566336154937744, 0.007515135765075683, 0.007459839820861816, 0.007532544136047363, 0.007490592002868652 ] }, "throughput": { "unit": "samples/s", "value": 133.13785384270415 }, "energy": { "unit": "kWh", "cpu": 8.807438826131594e-08, "ram": 4.815304910746861e-08, "gpu": 1.624157677925917e-07, "total": 2.9864320516137625e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3348477.322494698 } } } }