{ "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.778944, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 136, "total": 1.0033478102684021, "mean": 0.007377557428444133, "stdev": 0.00021638858495034747, "p50": 0.007333888053894043, "p90": 0.007510527849197387, "p95": 0.007953152060508728, "p99": 0.008251687860488893, "values": [ 0.007919616222381591, 0.008054783821105957, 0.008330143928527833, 0.008094719886779785, 0.008053759574890136, 0.00810598373413086, 0.008094719886779785, 0.00848793601989746, 0.007464960098266602, 0.0071394238471984865, 0.007062528133392334, 0.00709119987487793, 0.007077888011932373, 0.007067647933959961, 0.007155712127685547, 0.007181312084197998, 0.007498752117156982, 0.007526400089263916, 0.007412735939025879, 0.007723008155822754, 0.007329792022705078, 0.007391232013702393, 0.007315455913543701, 0.007322624206542969, 0.007290880203247071, 0.007324672222137451, 0.007349247932434082, 0.0074414081573486324, 0.007237631797790528, 0.007225344181060791, 0.00724889612197876, 0.00753868818283081, 0.007342080116271973, 0.007293951988220215, 0.007345088005065918, 0.007322624206542969, 0.007316480159759522, 0.007371776103973389, 0.007312287807464599, 0.007322624206542969, 0.007315455913543701, 0.007346176147460938, 0.007251904010772705, 0.007400447845458984, 0.00738099193572998, 0.007384064197540283, 0.007352320194244385, 0.007217152118682861, 0.00717523193359375, 0.0073134078979492185, 0.007328767776489258, 0.007414783954620361, 0.007437312126159668, 0.007305215835571289, 0.007299071788787842, 0.007243775844573975, 0.007360511779785156, 0.007388160228729248, 0.007293951988220215, 0.007341055870056152, 0.007519231796264648, 0.007388160228729248, 0.007302144050598145, 0.00744755220413208, 0.00739737606048584, 0.007312384128570557, 0.007331840038299561, 0.00734822416305542, 0.007268352031707764, 0.007335999965667725, 0.007383039951324463, 0.007353343963623047, 0.007436287879943848, 0.007304255962371826, 0.0073471999168395995, 0.0072499198913574215, 0.007223296165466309, 0.007217216014862061, 0.007202816009521484, 0.007387135982513428, 0.007198719978332519, 0.007322624206542969, 0.007344128131866455, 0.007358399868011475, 0.007408639907836914, 0.007387135982513428, 0.007293951988220215, 0.007323647975921631, 0.007311456203460694, 0.007319551944732666, 0.0072724480628967286, 0.007316480159759522, 0.007292928218841553, 0.0075642881393432615, 0.007203711986541748, 0.007411712169647216, 0.0073820161819458, 0.007333888053894043, 0.00740556812286377, 0.00733081579208374, 0.007519231796264648, 0.0073471999168395995, 0.007350272178649903, 0.0073400321006774905, 0.007333888053894043, 0.00720684814453125, 0.007328671932220459, 0.007300096035003662, 0.007320672035217285, 0.007264256000518799, 0.007266304016113281, 0.0072540159225463864, 0.007259136199951172, 0.0072540159225463864, 0.007407616138458252, 0.0073431038856506346, 0.007501823902130127, 0.007370751857757568, 0.007287807941436767, 0.007370751857757568, 0.007373824119567871, 0.0073359360694885255, 0.007322624206542969, 0.00733900785446167, 0.007328767776489258, 0.007344128131866455, 0.0073062400817871095, 0.007354368209838867, 0.007350272178649903, 0.00730614423751831, 0.00744755220413208, 0.007360511779785156, 0.007361536026000977, 0.0073175039291381834, 0.007311423778533935, 0.007287807941436767 ] }, "throughput": { "unit": "samples/s", "value": 135.54621698294144 }, "energy": { "unit": "kWh", "cpu": 8.678113843789453e-08, "ram": 4.74336536948626e-08, "gpu": 1.5339022814599926e-07, "total": 2.876050202787564e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3476990.7668189052 } } } }