{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.223-212.873.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.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 789.860352, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.42962158203125, "mean": 7.42962158203125, "stdev": 0.0, "p50": 7.42962158203125, "p90": 7.42962158203125, "p95": 7.42962158203125, "p99": 7.42962158203125, "values": [ 7.42962158203125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0968378159728805e-06, "ram": 5.851547065118627e-07, "gpu": 1.5688901439997113e-06, "total": 3.2508826664844547e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1080.098816, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 147, "total": 0.9985209274291986, "mean": 0.0067926593702666615, "stdev": 0.0001756449732061697, "p50": 0.006737919807434082, "p90": 0.006928614521026611, "p95": 0.007025766468048094, "p99": 0.00744460280418396, "values": [ 0.007127039909362793, 0.007457791805267334, 0.0074291200637817386, 0.007406623840332032, 0.007409664154052734, 0.007659520149230957, 0.0066979842185974124, 0.006616064071655273, 0.00653004789352417, 0.006474751949310303, 0.0065136637687683106, 0.006662176132202148, 0.006685696125030518, 0.006731776237487793, 0.006737919807434082, 0.00667852783203125, 0.006737919807434082, 0.0067123198509216305, 0.006706175804138184, 0.006696959972381592, 0.006725632190704346, 0.00669593620300293, 0.006973440170288086, 0.00672870397567749, 0.006723584175109864, 0.006666240215301514, 0.006684671878814697, 0.0067214398384094235, 0.006658048152923584, 0.006687744140625, 0.006708223819732666, 0.006652927875518798, 0.0067051520347595215, 0.006687744140625, 0.006662144184112549, 0.006700032234191895, 0.0067041277885437015, 0.0066641921997070315, 0.006690815925598144, 0.0067041277885437015, 0.006686719894409179, 0.00669593620300293, 0.0067338237762451176, 0.006683648109436035, 0.006680575847625733, 0.006747136116027832, 0.006732800006866455, 0.006686719894409179, 0.006703104019165039, 0.006713344097137451, 0.006702079772949219, 0.006715392112731934, 0.006731776237487793, 0.006719488143920899, 0.0067338237762451176, 0.006931456089019775, 0.006765567779541016, 0.006726655960083008, 0.006724607944488525, 0.006716415882110595, 0.006691840171813965, 0.006710271835327148, 0.006703104019165039, 0.00662937593460083, 0.006690815925598144, 0.006675456047058105, 0.006649856090545654, 0.0067051520347595215, 0.006703104019165039, 0.006687744140625, 0.006731776237487793, 0.006734911918640137, 0.006713344097137451, 0.00672051191329956, 0.006726655960083008, 0.006706175804138184, 0.006724607944488525, 0.006792191982269287, 0.006550528049468994, 0.006544415950775147, 0.006540287971496582, 0.006508543968200684, 0.006557695865631104, 0.006510591983795166, 0.0064737281799316405, 0.006490111827850342, 0.006807551860809326, 0.006866943836212158, 0.006865920066833496, 0.00683622407913208, 0.006833151817321777, 0.006843391895294189, 0.006892543792724609, 0.006858751773834228, 0.00684441614151001, 0.006876160144805908, 0.0068915200233459475, 0.006879231929779053, 0.006825984001159668, 0.006871039867401123, 0.006917119979858399, 0.007048192024230957, 0.006896639823913574, 0.006947840213775635, 0.006923264026641846, 0.006892543792724609, 0.006938623905181885, 0.00693555212020874, 0.006927360057830811, 0.006842368125915528, 0.0069027838706970214, 0.0069027838706970214, 0.006920191764831543, 0.006820864200592041, 0.006872064113616944, 0.0069253120422363285, 0.006834176063537598, 0.006807551860809326, 0.006851583957672119, 0.006852608203887939, 0.006803455829620361, 0.0068392958641052244, 0.006856704235076904, 0.006843391895294189, 0.006834176063537598, 0.006843391895294189, 0.006882304191589355, 0.0068321280479431154, 0.006831103801727295, 0.006831103801727295, 0.0069304962158203125, 0.006847487926483154, 0.0068577280044555666, 0.00684441614151001, 0.006834176063537598, 0.006830111980438232, 0.006858751773834228, 0.0071198720932006835, 0.00690176010131836, 0.006820864200592041, 0.006848512172698974, 0.006904863834381104, 0.006842368125915528, 0.006865920066833496, 0.006952960014343262, 0.006855584144592285, 0.0068351998329162595 ] }, "throughput": { "unit": "samples/s", "value": 147.21774572964384 }, "energy": { "unit": "kWh", "cpu": 8.06389051754868e-08, "ram": 4.3960098308775805e-08, "gpu": 1.3751512502702652e-07, "total": 2.621141285112891e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3815132.0025350354 } } } }