{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.43.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 718.753792, "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.1955986328125, "mean": 7.1955986328125, "stdev": 0.0, "p50": 7.1955986328125, "p90": 7.1955986328125, "p95": 7.1955986328125, "p99": 7.1955986328125, "values": [ 7.1955986328125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.873058689965143e-07, "ram": 4.7052349766895913e-07, "gpu": 1.8261125720002436e-06, "total": 3.183941938665717e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 918.544384, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 140, "total": 1.0024989738464356, "mean": 0.007160706956045968, "stdev": 0.0003639833126390555, "p50": 0.007008255958557129, "p90": 0.007494656085968018, "p95": 0.007657727766036982, "p99": 0.008675829925537108, "values": [ 0.00759500789642334, 0.007561215877532959, 0.007583744049072265, 0.007588863849639893, 0.007489535808563232, 0.0074926080703735356, 0.007526400089263916, 0.007488512039184571, 0.007390207767486572, 0.007513088226318359, 0.007473152160644531, 0.007357439994812012, 0.007364607810974121, 0.007993343830108643, 0.007230463981628418, 0.006971392154693603, 0.006972415924072266, 0.007001088142395019, 0.006956031799316406, 0.006930431842803955, 0.006940671920776367, 0.006977536201477051, 0.006972415924072266, 0.006959104061126709, 0.006953983783721924, 0.006905856132507324, 0.006958079814910889, 0.0068884482383728025, 0.006923264026641846, 0.006910975933074951, 0.006927360057830811, 0.0069918718338012695, 0.006973440170288086, 0.007037951946258545, 0.006949888229370117, 0.0068997440338134765, 0.006894591808319092, 0.0069324798583984375, 0.006941696166992187, 0.0069324798583984375, 0.006914048194885254, 0.006914048194885254, 0.006905856132507324, 0.006906879901885986, 0.006915071964263916, 0.006940671920776367, 0.006892543792724609, 0.0068986878395080565, 0.006922239780426025, 0.0069324798583984375, 0.006971392154693603, 0.006914048194885254, 0.006907904148101806, 0.00693452787399292, 0.006970367908477783, 0.006915071964263916, 0.006923232078552246, 0.006978559970855713, 0.007015423774719238, 0.006936575889587402, 0.0069253120422363285, 0.006870016098022461, 0.006883327960968018, 0.006948863983154297, 0.006912000179290771, 0.006899648189544678, 0.006886367797851563, 0.007203839778900147, 0.006948863983154297, 0.00690176010131836, 0.006907904148101806, 0.006947840213775635, 0.006976511955261231, 0.006920191764831543, 0.007268383979797364, 0.0071792640686035155, 0.0069632000923156735, 0.006913023948669434, 0.006892543792724609, 0.006916096210479736, 0.006900735855102539, 0.006890495777130127, 0.006918144226074219, 0.0069324798583984375, 0.006923264026641846, 0.00687718391418457, 0.006924287796020508, 0.006903840065002441, 0.0069253120422363285, 0.007233535766601563, 0.007386112213134765, 0.008061951637268066, 0.008679424285888672, 0.00885043239593506, 0.008648703575134278, 0.008670207977294921, 0.008340479850769043, 0.007478271961212158, 0.007260159969329834, 0.007264256000518799, 0.007208960056304932, 0.007200767993927002, 0.007208960056304932, 0.0072540159225463864, 0.007264256000518799, 0.007216063976287842, 0.007214079856872559, 0.007219200134277344, 0.007208960056304932, 0.007202816009521484, 0.007261184215545655, 0.007238656044006348, 0.007165952205657959, 0.007245823860168457, 0.00723967981338501, 0.007194623947143554, 0.007160831928253173, 0.007202816009521484, 0.00723967981338501, 0.007177216053009033, 0.007640063762664795, 0.007256063938140869, 0.007164896011352539, 0.007226367950439453, 0.007202816009521484, 0.0072724480628967286, 0.007080992221832275, 0.007124991893768311, 0.00709939193725586, 0.00692633581161499, 0.007097343921661377, 0.007074816226959229, 0.007093247890472412, 0.007177216053009033, 0.007259136199951172, 0.007222271919250488, 0.007233535766601563, 0.007223296165466309, 0.007267327785491944, 0.007236608028411865 ] }, "throughput": { "unit": "samples/s", "value": 139.65101576397765 }, "energy": { "unit": "kWh", "cpu": 8.221236115068566e-08, "ram": 4.4942511873324546e-08, "gpu": 1.6346463694444369e-07, "total": 2.9061950996845386e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3440925.2156145605 } } } }