
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f169fa6
verified
{ | |
"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.285632, | |
"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": 720.003072, | |
"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.27186328125, | |
"mean": 7.27186328125, | |
"stdev": 0.0, | |
"p50": 7.27186328125, | |
"p90": 7.27186328125, | |
"p95": 7.27186328125, | |
"p99": 7.27186328125, | |
"values": [ | |
7.27186328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1074970165888469e-06, | |
"ram": 5.65185654077993e-07, | |
"gpu": 1.9319459900000308e-06, | |
"total": 3.6046286606668707e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.871424, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9990331497192377, | |
"mean": 0.006129037728338884, | |
"stdev": 0.00022343992317841812, | |
"p50": 0.006054912090301514, | |
"p90": 0.006241894245147705, | |
"p95": 0.00655364465713501, | |
"p99": 0.007087256298065185, | |
"values": [ | |
0.007569407939910889, | |
0.006966271877288818, | |
0.006929471969604493, | |
0.006858751773834228, | |
0.006985695838928223, | |
0.006833216190338135, | |
0.006570943832397461, | |
0.006591487884521485, | |
0.007252960205078125, | |
0.006372352123260498, | |
0.006103040218353272, | |
0.006071296215057373, | |
0.006235136032104492, | |
0.00608358383178711, | |
0.006022143840789795, | |
0.006069248199462891, | |
0.006086656093597412, | |
0.006096896171569824, | |
0.00606006383895874, | |
0.006078464031219482, | |
0.00606822395324707, | |
0.006072319984436035, | |
0.00603545618057251, | |
0.006074368000030517, | |
0.006051839828491211, | |
0.00611737585067749, | |
0.006072319984436035, | |
0.0060293121337890625, | |
0.006071296215057373, | |
0.006078464031219482, | |
0.006052864074707031, | |
0.006033408164978027, | |
0.006079487800598145, | |
0.006034431934356689, | |
0.006037504196166992, | |
0.006024191856384278, | |
0.006048768043518066, | |
0.005992447853088379, | |
0.0060405759811401364, | |
0.0060026879310607914, | |
0.006076416015625, | |
0.0060282878875732426, | |
0.006047743797302246, | |
0.006015999794006348, | |
0.006057983875274659, | |
0.00603545618057251, | |
0.006057983875274659, | |
0.006039552211761475, | |
0.006344704151153564, | |
0.006049791812896729, | |
0.006045695781707764, | |
0.006061056137084961, | |
0.00603545618057251, | |
0.006024191856384278, | |
0.006043647766113281, | |
0.006061056137084961, | |
0.006050816059112549, | |
0.006055935859680176, | |
0.006022143840789795, | |
0.006039487838745117, | |
0.006048768043518066, | |
0.006077439785003662, | |
0.006031360149383545, | |
0.006050816059112549, | |
0.006033408164978027, | |
0.006042623996734619, | |
0.00602726411819458, | |
0.0060405759811401364, | |
0.006014976024627685, | |
0.006033408164978027, | |
0.006033408164978027, | |
0.006034431934356689, | |
0.0060293121337890625, | |
0.006062079906463623, | |
0.0060405759811401364, | |
0.006053887844085694, | |
0.006033408164978027, | |
0.006050879955291748, | |
0.006053919792175293, | |
0.006032383918762207, | |
0.006061056137084961, | |
0.006024191856384278, | |
0.0060661759376525876, | |
0.006269951820373535, | |
0.00623308801651001, | |
0.006181888103485108, | |
0.0062269439697265625, | |
0.0061521921157836916, | |
0.006200319766998291, | |
0.006157311916351318, | |
0.0062197761535644535, | |
0.00618393611907959, | |
0.006150144100189209, | |
0.0061931519508361815, | |
0.006187007904052734, | |
0.006096896171569824, | |
0.006030335903167725, | |
0.0060548801422119145, | |
0.006032383918762207, | |
0.00606822395324707, | |
0.006021120071411133, | |
0.006127615928649902, | |
0.0060282878875732426, | |
0.006121471881866455, | |
0.006021120071411133, | |
0.006064223766326904, | |
0.006022143840789795, | |
0.006397952079772949, | |
0.006166528224945069, | |
0.006127615928649902, | |
0.006181888103485108, | |
0.006240255832672119, | |
0.006166528224945069, | |
0.006194176197052002, | |
0.006250495910644531, | |
0.006248447895050049, | |
0.006228991985321045, | |
0.006242303848266601, | |
0.006172671794891358, | |
0.006074431896209717, | |
0.006047743797302246, | |
0.006072319984436035, | |
0.0060282878875732426, | |
0.006064127922058105, | |
0.006005760192871094, | |
0.006054912090301514, | |
0.006036416053771972, | |
0.006202367782592774, | |
0.00601907205581665, | |
0.006289408206939697, | |
0.006055935859680176, | |
0.006000703811645508, | |
0.006048768043518066, | |
0.006008831977844238, | |
0.006023168087005615, | |
0.006012928009033203, | |
0.006030335903167725, | |
0.006023168087005615, | |
0.006031360149383545, | |
0.006027328014373779, | |
0.006042623996734619, | |
0.00608460807800293, | |
0.006182911872863769, | |
0.006014976024627685, | |
0.006096960067749024, | |
0.006011903762817383, | |
0.006062143802642822, | |
0.006012928009033203, | |
0.006074368000030517, | |
0.00601804780960083, | |
0.006053887844085694, | |
0.006015999794006348, | |
0.006038527965545654, | |
0.00601907205581665, | |
0.006064127922058105, | |
0.006009856224060059, | |
0.006054912090301514, | |
0.006005760192871094, | |
0.006119391918182373, | |
0.006034431934356689, | |
0.0060395197868347164, | |
0.006022143840789795, | |
0.006110208034515381 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.15774911554084 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.165486274793286e-08, | |
"ram": 3.9129758828610996e-08, | |
"gpu": 1.4986792444577773e-07, | |
"total": 2.606525460223216e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3836524.9649790972 | |
} | |
} | |
} | |
} |