{ "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, "memory": true, "latency": 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": { "load": { "memory": { "unit": "MB", "max_ram": 716.47232, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.1449423828125, "mean": 7.1449423828125, "stdev": 0.0, "p50": 7.1449423828125, "p90": 7.1449423828125, "p95": 7.1449423828125, "p99": 7.1449423828125, "values": [ 7.1449423828125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.64160888724857e-07, "ram": 4.5789970779992477e-07, "gpu": 1.689445795999972e-06, "total": 3.0115063925247536e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 916.262912, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 139, "total": 0.9959095001220704, "mean": 0.007164816547640794, "stdev": 0.0003157067130427289, "p50": 0.007173120021820068, "p90": 0.007540736103057861, "p95": 0.007678771018981934, "p99": 0.007779983472824097, "values": [ 0.007766016006469726, 0.007686143875122071, 0.007662591934204102, 0.007692319869995117, 0.007565311908721924, 0.0075345921516418455, 0.0074301438331604, 0.007387135982513428, 0.0074700798988342285, 0.0074332160949707035, 0.007434239864349365, 0.007371776103973389, 0.007362559795379638, 0.007393280029296875, 0.007383008003234864, 0.0074414081573486324, 0.007476223945617676, 0.007463935852050781, 0.007423999786376953, 0.00738918399810791, 0.007458816051483155, 0.007515135765075683, 0.007705599784851074, 0.007515135765075683, 0.007571455955505371, 0.00744652795791626, 0.007421984195709229, 0.007460864067077637, 0.00743936014175415, 0.007386112213134765, 0.0072837119102478025, 0.007391232013702393, 0.00787660789489746, 0.00739737606048584, 0.007677951812744141, 0.007416831970214844, 0.007497727870941162, 0.007516160011291504, 0.0075038719177246095, 0.00773529577255249, 0.00743936014175415, 0.007186431884765625, 0.007157760143280029, 0.0071823358535766605, 0.0071792640686035155, 0.007090176105499267, 0.0071199040412902835, 0.007135200023651123, 0.007070720195770264, 0.007061503887176514, 0.007045119762420654, 0.007078911781311035, 0.007188479900360107, 0.007037919998168945, 0.007031807899475098, 0.007076863765716553, 0.007154623985290528, 0.007107583999633789, 0.007110655784606934, 0.007101439952850342, 0.007195648193359375, 0.007195648193359375, 0.007189504146575928, 0.007172095775604248, 0.007126016139984131, 0.007122943878173828, 0.00714035177230835, 0.0072427520751953125, 0.007383039951324463, 0.0073144960403442386, 0.00734822416305542, 0.007304192066192627, 0.00728985595703125, 0.007643136024475097, 0.007262207984924316, 0.007017471790313721, 0.007201791763305664, 0.007093247890472412, 0.00725708818435669, 0.007302144050598145, 0.007480319976806641, 0.007337984085083008, 0.007569407939910889, 0.007569407939910889, 0.007343071937561035, 0.007192575931549072, 0.007173120021820068, 0.007788544178009033, 0.007428095817565918, 0.0071495680809020995, 0.007164927959442138, 0.0070256638526916505, 0.007146495819091797, 0.007072768211364746, 0.006772736072540283, 0.006677504062652588, 0.006732800006866455, 0.006657023906707763, 0.006743040084838867, 0.006635519981384277, 0.006666240215301514, 0.006936575889587402, 0.007235583782196045, 0.007175168037414551, 0.007076863765716553, 0.00710041618347168, 0.007114783763885498, 0.0071198720932006835, 0.007041024208068848, 0.007066624164581299, 0.006957056045532227, 0.006763519763946534, 0.006711264133453369, 0.006758399963378906, 0.0067717118263244626, 0.006719488143920899, 0.006722559928894043, 0.00674403190612793, 0.006747136116027832, 0.006708223819732666, 0.006732800006866455, 0.006726655960083008, 0.006709248065948486, 0.006747136116027832, 0.006762495994567871, 0.00672051191329956, 0.006744063854217529, 0.006740992069244385, 0.00669593620300293, 0.006712255954742431, 0.006716415882110595, 0.006650879859924317, 0.006619135856628418, 0.006662144184112549, 0.006642687797546387, 0.0066406397819519045, 0.006750207901000976, 0.006900735855102539, 0.006894591808319092 ] }, "throughput": { "unit": "samples/s", "value": 139.57091480999281 }, "energy": { "unit": "kWh", "cpu": 8.024091052042472e-08, "ram": 4.3866065611154244e-08, "gpu": 1.5404291602702634e-07, "total": 2.781498921586053e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3595183.8493965147 } } } }