{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.0", "optimum_benchmark_commit": null, "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 910.024704, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 133, "total": 1.0008544297218323, "mean": 0.007525221276104002, "stdev": 0.0002476853412951605, "p50": 0.007588863849639893, "p90": 0.007734067249298096, "p95": 0.00789278736114502, "p99": 0.008292515945434571, "values": [ 0.008353792190551757, 0.007953407764434815, 0.007986176013946533, 0.007933951854705811, 0.007885824203491211, 0.007869440078735352, 0.007864319801330566, 0.007753727912902832, 0.007677951812744141, 0.007664639949798584, 0.007675903797149658, 0.007665664196014404, 0.007734272003173828, 0.007607295989990235, 0.007686143875122071, 0.007647232055664062, 0.007708672046661377, 0.007740416049957275, 0.007675903797149658, 0.007682047843933106, 0.007642111778259277, 0.007663584232330322, 0.0077209601402282715, 0.007658495903015137, 0.007673855781555176, 0.007703551769256592, 0.0076902399063110355, 0.007614463806152344, 0.007641088008880615, 0.0076605439186096195, 0.007658495903015137, 0.007864319801330566, 0.007570432186126709, 0.007618559837341309, 0.007615488052368164, 0.007711711883544922, 0.00765235185623169, 0.0076605439186096195, 0.007903232097625732, 0.007733248233795166, 0.007684095859527588, 0.007681024074554443, 0.007625728130340576, 0.007588863849639893, 0.007633920192718506, 0.007636991977691651, 0.007631872177124023, 0.00764521598815918, 0.007634943962097168, 0.007549952030181885, 0.007732223987579345, 0.007606272220611572, 0.007640063762664795, 0.007710720062255859, 0.007569407939910889, 0.007554048061370849, 0.007581727981567383, 0.00758784008026123, 0.00758784008026123, 0.007569407939910889, 0.007662591934204102, 0.007650303840637207, 0.0077199358940124516, 0.007721983909606934, 0.008373248100280761, 0.007692287921905518, 0.0076605439186096195, 0.007623616218566894, 0.007700479984283447, 0.0077311677932739254, 0.007616511821746826, 0.007517183780670166, 0.007367680072784424, 0.00754585599899292, 0.007542719841003418, 0.007307263851165771, 0.007200767993927002, 0.007238656044006348, 0.007419904232025146, 0.007531519889831543, 0.007576576232910156, 0.007621632099151611, 0.007729152202606201, 0.008162303924560547, 0.007624703884124756, 0.007373824119567871, 0.007327775955200195, 0.007356416225433349, 0.007383039951324463, 0.007322624206542969, 0.007558144092559814, 0.0073062400817871095, 0.0072427520751953125, 0.007217152118682861, 0.007204864025115967, 0.007190591812133789, 0.007211008071899414, 0.007222271919250488, 0.007208960056304932, 0.007256063938140869, 0.007208960056304932, 0.0072540159225463864, 0.0072499198913574215, 0.007236671924591064, 0.007250944137573242, 0.00719974422454834, 0.007251967906951904, 0.007236608028411865, 0.007362495899200439, 0.007280640125274658, 0.0072427520751953125, 0.007180287837982178, 0.007227392196655274, 0.0072202239036560055, 0.007176191806793213, 0.007268352031707764, 0.007269375801086426, 0.007237631797790528, 0.007237631797790528, 0.0072499198913574215, 0.00728879976272583, 0.007267327785491944, 0.0073359360694885255, 0.00728985595703125, 0.007211008071899414, 0.0071905279159545895, 0.007318528175354004, 0.007225344181060791, 0.007187456130981445, 0.007307263851165771, 0.007193600177764893, 0.007192575931549072, 0.007207935810089112 ] }, "throughput": { "unit": "samples/s", "value": 132.88645786077475 }, "energy": { "unit": "kWh", "cpu": 8.245901561077731e-08, "ram": 4.507784238209448e-08, "gpu": 1.5219726681944202e-07, "total": 2.797341248123138e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3574823.0598284886 } } } }