IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
171de6e verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.896576,
"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.232169921875,
"mean": 7.232169921875,
"stdev": 0.0,
"p50": 7.232169921875,
"p90": 7.232169921875,
"p95": 7.232169921875,
"p99": 7.232169921875,
"values": [
7.232169921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0497935944133336e-06,
"ram": 5.593620883066327e-07,
"gpu": 1.698612469999694e-06,
"total": 3.30776815271966e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.502784,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.996740000724793,
"mean": 0.0064723376670441065,
"stdev": 0.0003445348652115507,
"p50": 0.0064711680412292485,
"p90": 0.0069145599365234385,
"p95": 0.007028838348388672,
"p99": 0.007641579546928406,
"values": [
0.007012351989746094,
0.006962111949920654,
0.006945792198181152,
0.0070594558715820314,
0.006972415924072266,
0.006982656002044678,
0.0067686400413513184,
0.006490111827850342,
0.006500351905822754,
0.006510591983795166,
0.006509600162506103,
0.006598624229431152,
0.006477759838104248,
0.006464511871337891,
0.006376448154449463,
0.006403071880340576,
0.006472703933715821,
0.00648089599609375,
0.006504447937011719,
0.006534143924713135,
0.00652288007736206,
0.006470655918121338,
0.006460480213165283,
0.00659660816192627,
0.006565887928009034,
0.0065136637687683106,
0.006490111827850342,
0.0065382399559021,
0.006511616230010986,
0.006448128223419189,
0.006489088058471679,
0.006497280120849609,
0.006498303890228272,
0.0065443840026855465,
0.006429728031158447,
0.006360064029693604,
0.006418432235717773,
0.0064143362045288085,
0.006456319808959961,
0.006406144142150879,
0.0064430079460144046,
0.006456319808959961,
0.006471680164337158,
0.006546432018280029,
0.006543360233306885,
0.006525951862335205,
0.006675456047058105,
0.0067502717971801756,
0.0067010560035705566,
0.00672051191329956,
0.0068239040374755856,
0.006512639999389648,
0.00652185583114624,
0.0065136637687683106,
0.006464511871337891,
0.0064133119583129885,
0.006403071880340576,
0.006418432235717773,
0.00648089599609375,
0.0064849920272827145,
0.0064849920272827145,
0.006433792114257812,
0.006543360233306885,
0.006738944053649902,
0.00693452787399292,
0.006665247917175293,
0.0069918718338012695,
0.006785024166107178,
0.006867968082427979,
0.006748159885406494,
0.0069632000923156735,
0.006818816184997558,
0.006783999919891357,
0.006743040084838867,
0.0067983360290527345,
0.006649856090545654,
0.006711296081542969,
0.006676479816436768,
0.006642687797546387,
0.006589407920837402,
0.0064542717933654785,
0.006565887928009034,
0.006626304149627686,
0.006536191940307618,
0.006351871967315674,
0.0063528637886047365,
0.006406144142150879,
0.006355967998504639,
0.0066109437942504885,
0.00648089599609375,
0.006475776195526123,
0.006535168170928955,
0.0064839677810668945,
0.00719155216217041,
0.007794688224792481,
0.0076871681213378906,
0.007584767818450928,
0.007601151943206787,
0.007461887836456299,
0.006253568172454834,
0.007072768211364746,
0.0063201279640197755,
0.006278143882751465,
0.006188032150268555,
0.006105088233947754,
0.006087679862976075,
0.006049759864807129,
0.006060031890869141,
0.006051839828491211,
0.006088704109191895,
0.006039552211761475,
0.006227968215942382,
0.006118400096893311,
0.006146048069000244,
0.0067338237762451176,
0.006281216144561768,
0.006441984176635742,
0.0064471039772033695,
0.00628326416015625,
0.006337535858154297,
0.006320191860198975,
0.0061521921157836916,
0.006112256050109863,
0.006127615928649902,
0.006124544143676758,
0.006055935859680176,
0.006213632106781006,
0.006174623966217041,
0.006227968215942382,
0.006248447895050049,
0.006148096084594727,
0.006007808208465576,
0.006049791812896729,
0.0060067839622497555,
0.006054912090301514,
0.005981184005737304,
0.006061056137084961,
0.006032383918762207,
0.006098944187164307,
0.006115327835083008,
0.006082560062408447,
0.00608358383178711,
0.0060999679565429685,
0.006103040218353272,
0.0060928001403808595,
0.006239232063293457,
0.00608460807800293,
0.00608460807800293,
0.006106112003326416,
0.006020095825195313,
0.00607539176940918,
0.006038527965545654,
0.005992447853088379,
0.006051839828491211
]
},
"throughput": {
"unit": "samples/s",
"value": 154.5036818909815
},
"energy": {
"unit": "kWh",
"cpu": 7.490530183147002e-08,
"ram": 4.0955225666361866e-08,
"gpu": 1.421751661509413e-07,
"total": 2.580356936487732e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3875432.835897331
}
}
}
}