{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": 903.921664, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 153, "total": 0.9968556766510017, "mean": 0.006515396579418307, "stdev": 0.00046069135363875017, "p50": 0.006354879856109619, "p90": 0.006695936012268066, "p95": 0.006813286399841309, "p99": 0.009345919952392577, "values": [ 0.009763839721679688, 0.009374624252319335, 0.00931942367553711, 0.006949888229370117, 0.006892543792724609, 0.006871039867401123, 0.007334911823272705, 0.006665215969085693, 0.006387712001800537, 0.006367231845855713, 0.006358016014099121, 0.006358016014099121, 0.00638259220123291, 0.00632422399520874, 0.006345727920532227, 0.006341631889343262, 0.006354879856109619, 0.006358016014099121, 0.006343679904937744, 0.006395904064178467, 0.006343679904937744, 0.006363135814666748, 0.00633241605758667, 0.006358016014099121, 0.00638156795501709, 0.006346752166748047, 0.006340608119964599, 0.006340608119964599, 0.006326272010803223, 0.006337535858154297, 0.006302720069885254, 0.0063201279640197755, 0.006328320026397705, 0.006338560104370118, 0.0063272957801818845, 0.006302720069885254, 0.006345727920532227, 0.006319104194641113, 0.006325247764587402, 0.006325247764587402, 0.006305791854858398, 0.00633241605758667, 0.006318079948425293, 0.0063211522102355954, 0.006343679904937744, 0.006352896213531494, 0.006397952079772949, 0.006343679904937744, 0.006455296039581298, 0.006321216106414795, 0.006323200225830078, 0.006384640216827392, 0.006321119785308838, 0.006338560104370118, 0.006334464073181153, 0.006368224143981934, 0.0063569917678833006, 0.006339583873748779, 0.006335487842559814, 0.006312960147857666, 0.006335487842559814, 0.006347775936126709, 0.006316031932830811, 0.006437888145446777, 0.006366208076477051, 0.006371327877044678, 0.006315008163452148, 0.00626585578918457, 0.006302720069885254, 0.006256671905517578, 0.00632422399520874, 0.006271999835968017, 0.006288383960723877, 0.006285312175750732, 0.006273024082183838, 0.006302720069885254, 0.006255616188049316, 0.006260704040527343, 0.006244383811950684, 0.006232063770294189, 0.0062576642036437985, 0.006232063770294189, 0.006262784004211426, 0.006262784004211426, 0.006254591941833496, 0.006252543926239014, 0.006339583873748779, 0.006346784114837647, 0.006309887886047363, 0.006345727920532227, 0.006307839870452881, 0.0063201279640197755, 0.006342656135559082, 0.006301695823669433, 0.006351871967315674, 0.006307839870452881, 0.006322175979614258, 0.006313983917236328, 0.006334464073181153, 0.00633241605758667, 0.0063201279640197755, 0.00637337589263916, 0.006308864116668702, 0.006329343795776367, 0.0065474557876586915, 0.0067338237762451176, 0.006668288230895996, 0.006690815925598144, 0.006599679946899414, 0.0065781760215759275, 0.006643712043762207, 0.0067431039810180666, 0.006774784088134766, 0.006718463897705078, 0.006688767910003662, 0.006696959972381592, 0.006706175804138184, 0.006922239780426025, 0.006680575847625733, 0.006668288230895996, 0.006691840171813965, 0.006639616012573242, 0.006661119937896728, 0.006657983779907227, 0.006650879859924317, 0.006729728221893311, 0.006582272052764892, 0.006565887928009034, 0.0066406397819519045, 0.0066447358131408694, 0.006624256134033203, 0.0066406397819519045, 0.006684671878814697, 0.006628352165222168, 0.006667263984680176, 0.006648831844329834, 0.006631392002105713, 0.006624256134033203, 0.0066713600158691405, 0.006635519981384277, 0.006715392112731934, 0.006661119937896728, 0.006638591766357422, 0.006631423950195312, 0.006632448196411133, 0.00658841609954834, 0.006638591766357422, 0.006653952121734619, 0.006628352165222168, 0.006624256134033203, 0.006631423950195312, 0.0066109437942504885, 0.006631423950195312 ] }, "throughput": { "unit": "samples/s", "value": 153.48259891944747 }, "energy": { "unit": "kWh", "cpu": 7.703073140002605e-08, "ram": 4.2110439673186716e-08, "gpu": 1.3884390616883256e-07, "total": 2.5798507724204536e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3876193.1918325084 } } } }