IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0481907 verified
raw
history blame
11.3 kB
{
"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",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 905.494528,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.99691846370697,
"mean": 0.006515806952333138,
"stdev": 0.0002350286662669672,
"p50": 0.006402048110961914,
"p90": 0.006685689735412598,
"p95": 0.0071268351554870605,
"p99": 0.00737271810531616,
"values": [
0.007494656085968018,
0.007117824077606201,
0.007214111804962158,
0.007238656044006348,
0.007260159969329834,
0.007194623947143554,
0.0071495680809020995,
0.007051263809204102,
0.00714035177230835,
0.007081984043121338,
0.007518208026885987,
0.006576128005981445,
0.0064143362045288085,
0.006436863899230957,
0.006377471923828125,
0.006406144142150879,
0.006386688232421875,
0.006375423908233643,
0.0064174079895019534,
0.00637440013885498,
0.006409215927124024,
0.00637337589263916,
0.00637440013885498,
0.006409215927124024,
0.006358016014099121,
0.006370304107666015,
0.006372352123260498,
0.006364160060882569,
0.006387712001800537,
0.00633241605758667,
0.0063836159706115725,
0.006379519939422608,
0.006403071880340576,
0.006398975849151611,
0.006336544036865234,
0.006433792114257812,
0.0063805441856384275,
0.006355967998504639,
0.006385663986206055,
0.006370304107666015,
0.006378496170043945,
0.006391808032989502,
0.006385663986206055,
0.0063907837867736815,
0.006337600231170654,
0.006368256092071533,
0.006355967998504639,
0.006392799854278565,
0.006453248023986816,
0.006387712001800537,
0.006363135814666748,
0.006384640216827392,
0.006335487842559814,
0.006378496170043945,
0.006351871967315674,
0.006376448154449463,
0.0064204797744750975,
0.006333471775054932,
0.006465536117553711,
0.006360064029693604,
0.006338560104370118,
0.006385663986206055,
0.006393856048583985,
0.006427648067474365,
0.006402048110961914,
0.0064737281799316405,
0.00642252779006958,
0.006362112045288086,
0.006409215927124024,
0.006373407840728759,
0.006359039783477783,
0.006448128223419189,
0.006353951930999756,
0.006349855899810791,
0.0063211522102355954,
0.0062791681289672855,
0.006328288078308105,
0.006293504238128662,
0.006400000095367431,
0.006348800182342529,
0.006335487842559814,
0.0063610877990722655,
0.006336512088775635,
0.006402048110961914,
0.006307839870452881,
0.006359039783477783,
0.0063569917678833006,
0.006330368041992188,
0.00636518383026123,
0.006342656135559082,
0.006376448154449463,
0.00638259220123291,
0.006355967998504639,
0.006387712001800537,
0.0063794879913330075,
0.006405119895935059,
0.006363135814666748,
0.006342656135559082,
0.006366208076477051,
0.006345727920532227,
0.006401023864746094,
0.00636518383026123,
0.00636518383026123,
0.006388735771179199,
0.006315008163452148,
0.006351871967315674,
0.006843391895294189,
0.0066119680404663084,
0.006648831844329834,
0.006642687797546387,
0.006569983959197998,
0.006622208118438721,
0.006639647960662842,
0.006685696125030518,
0.006639616012573242,
0.006619135856628418,
0.006574079990386963,
0.006627327919006347,
0.006602752208709717,
0.006582272052764892,
0.006683648109436035,
0.006612991809844971,
0.0066078720092773435,
0.006692863941192627,
0.006628352165222168,
0.006597631931304931,
0.006659071922302246,
0.006618112087249756,
0.006706175804138184,
0.006605823993682861,
0.006594592094421386,
0.006589439868927002,
0.006620192050933838,
0.0066406397819519045,
0.006622208118438721,
0.006706175804138184,
0.006617087841033936,
0.006614016056060791,
0.006606847763061524,
0.006625279903411865,
0.006590464115142822,
0.0066210880279541015,
0.006653952121734619,
0.006606912136077881,
0.006621183872222901,
0.006608895778656006,
0.006604800224304199,
0.006685664176940918,
0.006555647850036621,
0.006636544227600098,
0.006647808074951172,
0.006649856090545654,
0.006599679946899414
]
},
"throughput": {
"unit": "samples/s",
"value": 153.4729324112229
},
"energy": {
"unit": "kWh",
"cpu": 7.58587923863216e-08,
"ram": 4.134333663317708e-08,
"gpu": 1.4048843510827873e-07,
"total": 2.576905641277774e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3880623.271499161
}
}
}
}