{ "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", "library": "transformers", "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": {}, "hub_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, "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 901.689344, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 150, "total": 0.9984566397666929, "mean": 0.00665637759844462, "stdev": 0.0001456289943478, "p50": 0.0066431999206542965, "p90": 0.006800281429290771, "p95": 0.006864895820617676, "p99": 0.007197849683761596, "values": [ 0.007400447845458984, 0.007064576148986816, 0.007230463981628418, 0.007163904190063477, 0.0068915200233459475, 0.006812672138214112, 0.006864895820617676, 0.006766592025756836, 0.006808576107025147, 0.006810656070709228, 0.006782976150512696, 0.00674508810043335, 0.006729728221893311, 0.006696959972381592, 0.006624256134033203, 0.006567935943603515, 0.006648831844329834, 0.00667852783203125, 0.0067051520347595215, 0.0067276802062988285, 0.006725632190704346, 0.00669593620300293, 0.006708223819732666, 0.006700032234191895, 0.0066375679969787596, 0.006749184131622315, 0.006765567779541016, 0.006724607944488525, 0.006699007987976074, 0.006710271835327148, 0.006673408031463623, 0.006626304149627686, 0.006709248065948486, 0.0067133760452270505, 0.006681600093841553, 0.0066641921997070315, 0.006591487884521485, 0.00658739185333252, 0.006656000137329102, 0.0066611838340759275, 0.00659660816192627, 0.006680575847625733, 0.006672383785247803, 0.006689792156219483, 0.006766592025756836, 0.006761472225189209, 0.006730751991271973, 0.006759424209594727, 0.006724607944488525, 0.006642687797546387, 0.0066406397819519045, 0.0067420158386230465, 0.0067051520347595215, 0.006708223819732666, 0.006767615795135498, 0.00672870397567749, 0.006631423950195312, 0.0066826238632202144, 0.006676479816436768, 0.006643712043762207, 0.006708223819732666, 0.006772736072540283, 0.006622208118438721, 0.0066007041931152345, 0.006648831844329834, 0.006676479816436768, 0.006660160064697266, 0.006683648109436035, 0.0066826238632202144, 0.006648831844329834, 0.006684671878814697, 0.006746111869812011, 0.006829055786132812, 0.0067338237762451176, 0.006758399963378906, 0.006692927837371826, 0.0067348480224609375, 0.0066979842185974124, 0.006597631931304931, 0.006684671878814697, 0.006609920024871826, 0.00658022403717041, 0.006510623931884766, 0.0063805441856384275, 0.006546432018280029, 0.006590464115142822, 0.00638976001739502, 0.006301599979400635, 0.006305791854858398, 0.006345727920532227, 0.006653952121734619, 0.006748159885406494, 0.006799359798431396, 0.006837247848510742, 0.006909952163696289, 0.0070266880989074704, 0.006864895820617676, 0.006639616012573242, 0.0065710082054138185, 0.00657919979095459, 0.0065781760215759275, 0.0065382399559021, 0.006590464115142822, 0.006555712223052979, 0.006534143924713135, 0.006584320068359375, 0.006574079990386963, 0.0065372161865234375, 0.006583295822143555, 0.006574111938476563, 0.006561759948730469, 0.006558720111846924, 0.006562816143035889, 0.006533120155334473, 0.006554624080657959, 0.006510591983795166, 0.006562816143035889, 0.006542335987091064, 0.006830080032348633, 0.00658739185333252, 0.006562848091125489, 0.006524991989135742, 0.006550528049468994, 0.006519807815551758, 0.006536191940307618, 0.006545407772064209, 0.006597631931304931, 0.006591487884521485, 0.006568960189819336, 0.0065413122177124024, 0.0065413122177124024, 0.006543360233306885, 0.006574079990386963, 0.006559743881225586, 0.006574079990386963, 0.006536191940307618, 0.006608895778656006, 0.006561791896820069, 0.006535168170928955, 0.00658022403717041, 0.006563839912414551, 0.006532095909118653, 0.00658841609954834, 0.006536191940307618, 0.006551551818847656, 0.006529024124145508, 0.00652288007736206, 0.006544352054595947, 0.00653107213973999, 0.006540287971496582 ] }, "throughput": { "unit": "samples/s", "value": 150.23186188140343 }, "energy": { "unit": "kWh", "cpu": 7.603959419671645e-08, "ram": 4.1409220087588886e-08, "gpu": 1.350301858726216e-07, "total": 2.524790001569269e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3960725.4440110093 } } } }