{ "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": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 800.825344, "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.84035546875, "mean": 7.84035546875, "stdev": 0.0, "p50": 7.84035546875, "p90": 7.84035546875, "p95": 7.84035546875, "p99": 7.84035546875, "values": [ 7.84035546875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.965450527779753e-07, "ram": 5.304582331221812e-07, "gpu": 1.6538902119999331e-06, "total": 3.1808934979000893e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1091.366912, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 150, "total": 0.9990664339065547, "mean": 0.006660442892710367, "stdev": 0.0001917597170650702, "p50": 0.006599152088165283, "p90": 0.006754099369049072, "p95": 0.0071546367406845075, "p99": 0.007432427487373351, "values": [ 0.007394303798675537, 0.007469056129455566, 0.00734822416305542, 0.007337984085083008, 0.007308288097381592, 0.0073471999168395995, 0.007769087791442871, 0.00688640022277832, 0.006622208118438721, 0.00667955207824707, 0.006631423950195312, 0.006652927875518798, 0.006666240215301514, 0.006662144184112549, 0.006683648109436035, 0.006603775978088379, 0.0066078720092773435, 0.006585343837738037, 0.006583295822143555, 0.0066375679969787596, 0.006675456047058105, 0.006593535900115967, 0.006612991809844971, 0.00659660816192627, 0.006595583915710449, 0.006625247955322266, 0.006595583915710449, 0.006687744140625, 0.006594560146331787, 0.006551551818847656, 0.006592512130737305, 0.006590464115142822, 0.006557695865631104, 0.006594560146331787, 0.006623231887817383, 0.006584383964538574, 0.006595583915710449, 0.00658739185333252, 0.006590464115142822, 0.0066007041931152345, 0.006659071922302246, 0.006584352016448975, 0.006761472225189209, 0.0067338237762451176, 0.006772736072540283, 0.006979584217071533, 0.007081984043121338, 0.006692863941192627, 0.006619135856628418, 0.0066447358131408694, 0.00658739185333252, 0.006631423950195312, 0.006622208118438721, 0.006602752208709717, 0.006603775978088379, 0.006632448196411133, 0.006576128005981445, 0.0065996479988098145, 0.0066109437942504885, 0.006562816143035889, 0.006606847763061524, 0.006603775978088379, 0.006569983959197998, 0.006586368083953857, 0.006638591766357422, 0.006584320068359375, 0.0066007041931152345, 0.006598656177520752, 0.006614016056060791, 0.006621183872222901, 0.006632448196411133, 0.006642687797546387, 0.006591487884521485, 0.0066007041931152345, 0.006590464115142822, 0.006593535900115967, 0.006552576065063476, 0.006565887928009034, 0.006594560146331787, 0.006586368083953857, 0.006598656177520752, 0.006589439868927002, 0.006553599834442139, 0.006598624229431152, 0.006624256134033203, 0.006554624080657959, 0.006567935943603515, 0.0066447358131408694, 0.006560768127441406, 0.006556608200073242, 0.006563839912414551, 0.0065781760215759275, 0.006603775978088379, 0.006584320068359375, 0.00658739185333252, 0.006591487884521485, 0.006591487884521485, 0.0066416640281677245, 0.006631423950195312, 0.00657203197479248, 0.006603775978088379, 0.006598656177520752, 0.006569983959197998, 0.006568960189819336, 0.0065781760215759275, 0.0065474557876586915, 0.006561791896820069, 0.006690815925598144, 0.00658841609954834, 0.006635519981384277, 0.0067686400413513184, 0.0066007041931152345, 0.007214079856872559, 0.00675328016281128, 0.006692863941192627, 0.0066416640281677245, 0.006651904106140137, 0.006714367866516113, 0.006591487884521485, 0.006636544227600098, 0.006666240215301514, 0.006659071922302246, 0.0066303682327270505, 0.006612991809844971, 0.006558720111846924, 0.0065812478065490725, 0.006586368083953857, 0.00658022403717041, 0.006576128005981445, 0.006563807964324951, 0.00658022403717041, 0.006594560146331787, 0.006585343837738037, 0.006605823993682861, 0.006609856128692627, 0.00659660816192627, 0.006583295822143555, 0.006597599983215332, 0.006765567779541016, 0.006597631931304931, 0.006628352165222168, 0.006564864158630371, 0.006585343837738037, 0.006590464115142822, 0.0065792322158813475, 0.006582272052764892, 0.00658841609954834, 0.006589439868927002, 0.006560768127441406, 0.006604800224304199 ] }, "throughput": { "unit": "samples/s", "value": 150.1401657680252 }, "energy": { "unit": "kWh", "cpu": 7.586491590099557e-08, "ram": 4.1476892741641104e-08, "gpu": 1.3515324202564114e-07, "total": 2.524950506682778e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3960473.670090971 } } } }