{ "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": {}, "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": 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.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "forward": { "memory": { "unit": "MB", "max_ram": 909.811712, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 135, "total": 1.0028717117309573, "mean": 0.007428679346155238, "stdev": 0.0003249979956216023, "p50": 0.00723145580291748, "p90": 0.007838105583190917, "p95": 0.007900988864898682, "p99": 0.00830083059310913, "values": [ 0.008390656471252441, 0.007913472175598145, 0.007863296031951903, 0.007844927787780762, 0.00821350383758545, 0.007805952072143555, 0.00830361557006836, 0.007813119888305664, 0.00773632001876831, 0.007788544178009033, 0.007905312061309814, 0.007874559879302979, 0.00781004810333252, 0.0077844481468200685, 0.007844863891601562, 0.007831552028656007, 0.0077578239440917966, 0.007899136066436767, 0.007758912086486817, 0.007704576015472412, 0.007679999828338623, 0.007729152202606201, 0.007775231838226319, 0.007802879810333252, 0.007881728172302246, 0.00780185604095459, 0.007705599784851074, 0.008295424461364746, 0.007732223987579345, 0.007677951812744141, 0.007764992237091065, 0.007792640209197998, 0.007725056171417236, 0.007704576015472412, 0.007724031925201416, 0.0077281279563903805, 0.007841792106628418, 0.007911424160003662, 0.007832575798034667, 0.007769087791442871, 0.0077547521591186525, 0.007787519931793213, 0.007648255825042725, 0.0076902399063110355, 0.0075335679054260255, 0.007679999828338623, 0.007535615921020508, 0.007321599960327148, 0.0073134078979492185, 0.007414783954620361, 0.007572480201721191, 0.0075642881393432615, 0.007549952030181885, 0.007615488052368164, 0.007674880027770996, 0.007565311908721924, 0.007746560096740723, 0.00771888017654419, 0.007508992195129394, 0.007458816051483155, 0.00729702377319336, 0.0072120318412780765, 0.007121920108795166, 0.007292928218841553, 0.007207935810089112, 0.007165919780731201, 0.007169023990631103, 0.007131135940551757, 0.007110655784606934, 0.007143424034118652, 0.007225344181060791, 0.0071792640686035155, 0.007120895862579346, 0.007136288166046142, 0.007163871765136718, 0.007155680179595948, 0.007156735897064209, 0.00753766393661499, 0.007194623947143554, 0.007173120021820068, 0.007155712127685547, 0.007164927959442138, 0.007154687881469727, 0.0071495361328125, 0.007112703800201416, 0.007136256217956543, 0.007124991893768311, 0.007085055828094483, 0.007131135940551757, 0.007121952056884766, 0.007123968124389648, 0.007144447803497315, 0.007076831817626953, 0.0071188158988952635, 0.007144447803497315, 0.007163904190063477, 0.00714137601852417, 0.007121920108795166, 0.007161856174468994, 0.007144447803497315, 0.007147520065307617, 0.007139328002929687, 0.007117824077606201, 0.007147520065307617, 0.0071209602355957035, 0.007122943878173828, 0.007077888011932373, 0.00713318395614624, 0.007172095775604248, 0.0071905279159545895, 0.007204864025115967, 0.007169023990631103, 0.007193600177764893, 0.007211008071899414, 0.007185408115386963, 0.007196671962738037, 0.00714137601852417, 0.00719046401977539, 0.007197696208953858, 0.007208960056304932, 0.007146495819091797, 0.0070860800743103025, 0.007129087924957276, 0.007279615879058838, 0.007139359951019287, 0.007163904190063477, 0.007270400047302246, 0.0072765440940856935, 0.007245823860168457, 0.00723145580291748, 0.0071485438346862796, 0.007138207912445068, 0.007106560230255127, 0.007145472049713135, 0.007144447803497315 ] }, "throughput": { "unit": "samples/s", "value": 134.61342903669097 }, "energy": { "unit": "kWh", "cpu": 8.483185536331601e-08, "ram": 4.637073651823679e-08, "gpu": 1.6616283134285908e-07, "total": 2.973654232244119e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3362865.760103295 } } } }