{ "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": 909.561856, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 132, "total": 0.9972408618927, "mean": 0.007554855014338638, "stdev": 0.0004547228849520727, "p50": 0.007432192087173462, "p90": 0.007883974361419677, "p95": 0.00801090567111969, "p99": 0.009978367986679074, "values": [ 0.010854399681091309, 0.010406911849975586, 0.00902451229095459, 0.008085503578186035, 0.008054783821105957, 0.008037376403808593, 0.007989247798919678, 0.007887872219085693, 0.007816192150115966, 0.007862271785736084, 0.007896063804626464, 0.007799808025360107, 0.007904255867004394, 0.007797760009765625, 0.007802879810333252, 0.007925759792327881, 0.007885824203491211, 0.007847936153411865, 0.007837696075439453, 0.007490560054779053, 0.007456831932067871, 0.007876543998718262, 0.007561215877532959, 0.00754585599899292, 0.007511040210723877, 0.007536640167236328, 0.007415808200836181, 0.0074332160949707035, 0.007445504188537597, 0.00748748779296875, 0.0074301438331604, 0.007416863918304443, 0.007378943920135498, 0.0074024639129638675, 0.007375872135162354, 0.007302144050598145, 0.007367680072784424, 0.0074065918922424315, 0.007489535808563232, 0.007531519889831543, 0.007479296207427978, 0.007518208026885987, 0.0074301438331604, 0.0074065918922424315, 0.007420928001403809, 0.007485439777374267, 0.00744652795791626, 0.007444543838500977, 0.007435264110565186, 0.007373824119567871, 0.007333888053894043, 0.007393280029296875, 0.007376863956451416, 0.007478271961212158, 0.0074741759300231934, 0.00734822416305542, 0.007362559795379638, 0.007314432144165039, 0.007349247932434082, 0.007372799873352051, 0.00738918399810791, 0.007409664154052734, 0.007456768035888672, 0.007512063980102539, 0.0074926080703735356, 0.0074670081138610836, 0.00820633602142334, 0.0074700798988342285, 0.007472095966339111, 0.007425024032592774, 0.007404543876647949, 0.007395328044891358, 0.007363584041595459, 0.007208960056304932, 0.0072202239036560055, 0.007364640235900879, 0.007247871875762939, 0.0070677118301391605, 0.007012351989746094, 0.007095295906066895, 0.007067647933959961, 0.0075642881393432615, 0.007723008155822754, 0.007844863891601562, 0.00788479995727539, 0.007831552028656007, 0.007755775928497314, 0.007650303840637207, 0.0074926080703735356, 0.007478271961212158, 0.007448575973510742, 0.007460864067077637, 0.007456768035888672, 0.007452672004699707, 0.007422976016998291, 0.007479296207427978, 0.007363584041595459, 0.0074403839111328125, 0.007426047801971435, 0.007460864067077637, 0.007457791805267334, 0.007426015853881836, 0.0074291200637817386, 0.0073768959045410155, 0.007417856216430664, 0.007431168079376221, 0.007408639907836914, 0.007416831970214844, 0.007420928001403809, 0.00742195177078247, 0.00743936014175415, 0.007411712169647216, 0.007427040100097656, 0.007409664154052734, 0.007408639907836914, 0.007414783954620361, 0.007413760185241699, 0.007436287879943848, 0.007396351814270019, 0.007435264110565186, 0.007394303798675537, 0.0074106879234313965, 0.007402495861053467, 0.007358463764190673, 0.007404543876647949, 0.007356416225433349, 0.007412735939025879, 0.007362559795379638, 0.007414783954620361, 0.007385087966918945, 0.007366655826568603, 0.007361536026000977 ] }, "throughput": { "unit": "samples/s", "value": 132.3652139057683 }, "energy": { "unit": "kWh", "cpu": 8.651608750767952e-08, "ram": 4.7295611546320476e-08, "gpu": 1.632057266715306e-07, "total": 2.970174257255306e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3366805.8281674194 } } } }