{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.6.0.dev20240917+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "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": {}, "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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 811.077632, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 8.4900888671875, "mean": 8.4900888671875, "stdev": 0.0, "p50": 8.4900888671875, "p90": 8.4900888671875, "p95": 8.4900888671875, "p99": 8.4900888671875, "values": [ 8.4900888671875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0321563812213855e-06, "ram": 5.469114494224408e-07, "gpu": 1.8280570180037592e-06, "total": 3.407124848647586e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1098.28096, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 150, "total": 1.0010447697639462, "mean": 0.00667363179842631, "stdev": 0.00018048254391913392, "p50": 0.006666240215301514, "p90": 0.006825574588775634, "p95": 0.0069864959239959714, "p99": 0.0073186549806594815, "values": [ 0.006948863983154297, 0.006988800048828125, 0.007028736114501953, 0.007011328220367432, 0.00698367977142334, 0.006924287796020508, 0.007476191997528076, 0.0066713600158691405, 0.006505472183227539, 0.006511616230010986, 0.006478847980499268, 0.006461440086364746, 0.006510591983795166, 0.0064737281799316405, 0.006450175762176514, 0.006468607902526856, 0.00643174409866333, 0.006468607902526856, 0.006440896034240723, 0.006456319808959961, 0.0064542717933654785, 0.006475776195526123, 0.0064778242111206055, 0.006593535900115967, 0.006759424209594727, 0.006691840171813965, 0.006709248065948486, 0.006690815925598144, 0.00669593620300293, 0.006688767910003662, 0.006657023906707763, 0.006645760059356689, 0.006675456047058105, 0.006666240215301514, 0.006626304149627686, 0.006661119937896728, 0.006654911994934082, 0.0066416640281677245, 0.006694911956787109, 0.0067010560035705566, 0.006672383785247803, 0.0067338237762451176, 0.006681600093841553, 0.006783999919891357, 0.006709248065948486, 0.006687744140625, 0.006688735961914063, 0.006689824104309082, 0.006654975891113281, 0.006633471965789795, 0.006650879859924317, 0.0066641921997070315, 0.0066447358131408694, 0.006662144184112549, 0.006645760059356689, 0.0066375679969787596, 0.006663167953491211, 0.006691840171813965, 0.006631423950195312, 0.006646783828735352, 0.006495232105255127, 0.006487040042877197, 0.006631423950195312, 0.006867968082427979, 0.0067123198509216305, 0.006738944053649902, 0.007000063896179199, 0.006751232147216797, 0.006699007987976074, 0.006754303932189941, 0.006710271835327148, 0.006681600093841553, 0.006660096168518067, 0.006660096168518067, 0.006656960010528564, 0.006656000137329102, 0.006660096168518067, 0.006814720153808594, 0.006715392112731934, 0.006684671878814697, 0.006656000137329102, 0.006665215969085693, 0.006881279945373535, 0.006703104019165039, 0.006645760059356689, 0.006700032234191895, 0.006688767910003662, 0.0066416640281677245, 0.006663167953491211, 0.006667263984680176, 0.006598624229431152, 0.00710041618347168, 0.007741439819335938, 0.007154687881469727, 0.006717440128326416, 0.0067338237762451176, 0.006692863941192627, 0.006653920173645019, 0.006633471965789795, 0.006708223819732666, 0.006658048152923584, 0.0066119680404663084, 0.006452223777770996, 0.006426623821258545, 0.0064584641456604, 0.00643174409866333, 0.006416384220123291, 0.006435840129852295, 0.006421504020690918, 0.006471680164337158, 0.0064204797744750975, 0.0064542717933654785, 0.00643993616104126, 0.006455296039581298, 0.00643993616104126, 0.006437888145446777, 0.00643174409866333, 0.006434815883636475, 0.006929408073425293, 0.006808576107025147, 0.006747136116027832, 0.006813695907592773, 0.006820864200592041, 0.006719488143920899, 0.006781951904296875, 0.006807551860809326, 0.0067645440101623535, 0.006744063854217529, 0.006702079772949219, 0.006661119937896728, 0.006714367866516113, 0.006709248065948486, 0.006713312149047851, 0.0066826238632202144, 0.006715392112731934, 0.0067041277885437015, 0.006691840171813965, 0.00667955207824707, 0.006666240215301514, 0.006659071922302246, 0.006672383785247803, 0.006892543792724609, 0.006626304149627686, 0.0066713600158691405, 0.006650879859924317, 0.006663167953491211, 0.0066713600158691405, 0.0066416640281677245, 0.006635519981384277, 0.006672383785247803 ] }, "throughput": { "unit": "samples/s", "value": 149.8434480961037 }, "energy": { "unit": "kWh", "cpu": 7.790901759856178e-08, "ram": 4.257569594903422e-08, "gpu": 1.476444894605238e-07, "total": 2.6812920300811974e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3729545.266912672 } } } }