{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+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": 788.099072, "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.4120478515625, "mean": 7.4120478515625, "stdev": 0.0, "p50": 7.4120478515625, "p90": 7.4120478515625, "p95": 7.4120478515625, "p99": 7.4120478515625, "values": [ 7.4120478515625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0493256256946243e-06, "ram": 5.595602464987362e-07, "gpu": 1.665001332000135e-06, "total": 3.2738872041934952e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1078.35392, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 151, "total": 0.9987560315132146, "mean": 0.006614278354392147, "stdev": 0.0002502013409353702, "p50": 0.006553599834442139, "p90": 0.0067573761940002445, "p95": 0.00730623984336853, "p99": 0.007478271961212158, "values": [ 0.0074403839111328125, 0.007330848217010498, 0.007486464023590088, 0.007293951988220215, 0.007309311866760254, 0.007327744007110596, 0.007305215835571289, 0.007233535766601563, 0.0071905279159545895, 0.0072130560874938965, 0.0074700798988342285, 0.007307263851165771, 0.0077844481468200685, 0.0068249602317810056, 0.0065248641967773436, 0.006619135856628418, 0.006739967823028564, 0.006560768127441406, 0.00672051191329956, 0.00658022403717041, 0.006545407772064209, 0.006591487884521485, 0.00658739185333252, 0.006564864158630371, 0.006568960189819336, 0.006525951862335205, 0.006363135814666748, 0.00653107213973999, 0.006599679946899414, 0.006555647850036621, 0.0065771517753601075, 0.00652185583114624, 0.006562816143035889, 0.006550528049468994, 0.006563839912414551, 0.006554624080657959, 0.006527999877929688, 0.006344736099243164, 0.0063539199829101565, 0.0062975997924804685, 0.006356927871704101, 0.006561791896820069, 0.00653107213973999, 0.006551551818847656, 0.0065474557876586915, 0.006529056072235108, 0.006559743881225586, 0.006569983959197998, 0.006552576065063476, 0.0065372161865234375, 0.006346752166748047, 0.006371327877044678, 0.006319104194641113, 0.006310912132263183, 0.006558720111846924, 0.0065075201988220215, 0.00669488000869751, 0.0067573761940002445, 0.006595583915710449, 0.006665152072906494, 0.006643712043762207, 0.006529024124145508, 0.006395904064178467, 0.006336512088775635, 0.006411263942718506, 0.0063508481979370115, 0.006308864116668702, 0.006617087841033936, 0.006565887928009034, 0.00653107213973999, 0.006583263874053955, 0.006562751770019531, 0.00652185583114624, 0.006615039825439453, 0.006533120155334473, 0.0065413122177124024, 0.006667263984680176, 0.006516672134399414, 0.006512639999389648, 0.006518784046173095, 0.006671328067779541, 0.006590464115142822, 0.006562816143035889, 0.0065064959526062015, 0.006338560104370118, 0.006445055961608887, 0.00658739185333252, 0.00657203197479248, 0.006533120155334473, 0.006513728141784668, 0.00653004789352417, 0.006490111827850342, 0.006598656177520752, 0.006863872051239014, 0.006545407772064209, 0.006647808074951172, 0.006558720111846924, 0.0063907837867736815, 0.006554624080657959, 0.0066406397819519045, 0.006494207859039307, 0.006543360233306885, 0.006505472183227539, 0.006529024124145508, 0.006756351947784424, 0.0065372161865234375, 0.006565887928009034, 0.006565887928009034, 0.006523903846740723, 0.006550528049468994, 0.006586368083953857, 0.0065382399559021, 0.006626304149627686, 0.0066119680404663084, 0.006554624080657959, 0.006554624080657959, 0.0065484800338745115, 0.006511616230010986, 0.006560768127441406, 0.006515711784362793, 0.006622208118438721, 0.006642687797546387, 0.006584320068359375, 0.0065147199630737306, 0.006546495914459228, 0.006499328136444092, 0.006550528049468994, 0.006589439868927002, 0.006523903846740723, 0.006549503803253174, 0.006550528049468994, 0.006494207859039307, 0.00657203197479248, 0.006553599834442139, 0.006536128044128418, 0.0065474557876586915, 0.006523935794830322, 0.006533055782318115, 0.006540287971496582, 0.006498303890228272, 0.006497280120849609, 0.006552576065063476, 0.006505472183227539, 0.00657919979095459, 0.0065924482345581055, 0.006494207859039307, 0.0065710082054138185, 0.006512639999389648, 0.006565887928009034, 0.006627327919006347, 0.006723584175109864 ] }, "throughput": { "unit": "samples/s", "value": 151.18807319863697 }, "energy": { "unit": "kWh", "cpu": 7.978713096570264e-08, "ram": 4.361988555244588e-08, "gpu": 1.4455641691275155e-07, "total": 2.6796343343090004e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3731852.4665712304 } } } }