{ "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", "library": "transformers", "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.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.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 907.194368, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 130, "total": 0.9976186561584478, "mean": 0.0076739896627572865, "stdev": 0.0002515563151127674, "p50": 0.007631871938705445, "p90": 0.007968665695190431, "p95": 0.008093593692779542, "p99": 0.008206597957611084, "values": [ 0.008586239814758301, 0.008072192192077637, 0.008124416351318359, 0.008111104011535645, 0.008122367858886719, 0.008215488433837891, 0.008128512382507324, 0.00800972843170166, 0.007913472175598145, 0.007910399913787843, 0.007837696075439453, 0.007816224098205567, 0.007861248016357422, 0.008023039817810058, 0.007923711776733398, 0.007950335979461669, 0.007867392063140868, 0.00795136022567749, 0.007918591976165772, 0.007931903839111328, 0.007933951854705811, 0.007912447929382324, 0.00793497610092163, 0.007921664237976075, 0.0077916159629821775, 0.007787519931793213, 0.007798783779144287, 0.007816192150115966, 0.007857151985168457, 0.007896063804626464, 0.007889920234680176, 0.008061951637268066, 0.007922688007354736, 0.007829504013061523, 0.007831552028656007, 0.008017951965332032, 0.00784281587600708, 0.007879680156707763, 0.007828544139862061, 0.00778547191619873, 0.00780083179473877, 0.0079267840385437, 0.007762944221496582, 0.007831615924835205, 0.007817215919494629, 0.007813119888305664, 0.007805984020233154, 0.007839744091033935, 0.007964672088623047, 0.007939072132110595, 0.008004608154296875, 0.007903232097625732, 0.007853119850158692, 0.007820288181304931, 0.007786496162414551, 0.007753727912902832, 0.007634943962097168, 0.007681024074554443, 0.00778547191619873, 0.007628799915313721, 0.007422976016998291, 0.007475200176239013, 0.007517183780670166, 0.007758848190307617, 0.007650271892547607, 0.007575488090515137, 0.00778547191619873, 0.007798783779144287, 0.008184831619262695, 0.007746560096740723, 0.007591872215270996, 0.007579648017883301, 0.0075980801582336424, 0.007521279811859131, 0.0075049281120300295, 0.007472127914428711, 0.00745472002029419, 0.007415808200836181, 0.007435264110565186, 0.007450623989105225, 0.007426047801971435, 0.007428095817565918, 0.00739737606048584, 0.007576576232910156, 0.007391232013702393, 0.007408639907836914, 0.007408639907836914, 0.007482367992401123, 0.007400447845458984, 0.007467999935150147, 0.007401472091674805, 0.0074106879234313965, 0.007366655826568603, 0.00740556812286377, 0.007432191848754883, 0.007412735939025879, 0.007416831970214844, 0.0074301438331604, 0.007457791805267334, 0.007411712169647216, 0.007416768074035645, 0.007450623989105225, 0.007427072048187256, 0.0074629120826721195, 0.007412735939025879, 0.0074414081573486324, 0.007398399829864502, 0.007444511890411377, 0.007453695774078369, 0.007422944068908691, 0.007411712169647216, 0.007431168079376221, 0.00744755220413208, 0.007442431926727295, 0.007408639907836914, 0.007439295768737793, 0.007448575973510742, 0.007459839820861816, 0.007451648235321045, 0.007432191848754883, 0.007432191848754883, 0.007420928001403809, 0.0074332160949707035, 0.007444479942321777, 0.007400447845458984, 0.007448575973510742, 0.007417856216430664, 0.007405600070953369, 0.007472127914428711, 0.007396351814270019 ] }, "throughput": { "unit": "samples/s", "value": 130.31031366293203 }, "energy": { "unit": "kWh", "cpu": 8.574290026863703e-08, "ram": 4.687169537437316e-08, "gpu": 1.6121915375539093e-07, "total": 2.9383374939840107e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3403285.02783432 } } } }