IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5a1641d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "c8d76f6e24e813974534bb204a76658d503b7b1f", | |
"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": 903.733248, | |
"max_global_vram": 841.777152, | |
"max_process_vram": 44313.62048, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.8087763671875, | |
"mean": 6.8087763671875, | |
"stdev": 0.0, | |
"p50": 6.8087763671875, | |
"p90": 6.8087763671875, | |
"p95": 6.8087763671875, | |
"p99": 6.8087763671875, | |
"values": [ | |
6.8087763671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.495552, | |
"max_global_vram": 896.958464, | |
"max_process_vram": 213843.7632, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.996918322563171, | |
"mean": 0.0074956264854373796, | |
"stdev": 0.009335957165461053, | |
"p50": 0.007111961841583252, | |
"p90": 0.007283576869964599, | |
"p95": 0.007429496002197266, | |
"p99": 0.007853416690826417, | |
"values": [ | |
0.007487638950347901, | |
0.007442840099334717, | |
0.007672918796539307, | |
0.007538360118865967, | |
0.00793835687637329, | |
0.007508918762207031, | |
0.0074202799797058105, | |
0.007420599937438965, | |
0.00728748083114624, | |
0.007236441135406494, | |
0.007231481075286865, | |
0.007295481204986572, | |
0.0072550010681152344, | |
0.007244280815124512, | |
0.007183321952819824, | |
0.0072295618057250976, | |
0.007318201065063476, | |
0.007287800788879395, | |
0.007191481113433838, | |
0.007155641078948975, | |
0.007099162101745606, | |
0.007063161849975586, | |
0.007057241916656494, | |
0.007070522785186767, | |
0.007081081867218017, | |
0.007136281967163086, | |
0.007087161064147949, | |
0.007044921875, | |
0.007072601795196533, | |
0.00706124210357666, | |
0.007082682132720947, | |
0.007057561874389649, | |
0.007093401908874511, | |
0.007065561771392823, | |
0.0070518021583557125, | |
0.00705964183807373, | |
0.007061081886291504, | |
0.11348307037353515, | |
0.002248948097229004, | |
0.0021783890724182127, | |
0.0021694281101226807, | |
0.0021673479080200194, | |
0.0021574289798736573, | |
0.002170707941055298, | |
0.00213870906829834, | |
0.002150228977203369, | |
0.0021543879508972167, | |
0.002131989002227783, | |
0.0021332681179046633, | |
0.0021527891159057616, | |
0.006143806934356689, | |
0.007251161098480225, | |
0.007267961025238037, | |
0.0071129221916198734, | |
0.007075642108917236, | |
0.007093881130218506, | |
0.007086041927337646, | |
0.007075642108917236, | |
0.007108121871948242, | |
0.007099802017211914, | |
0.007137402057647705, | |
0.0070983610153198245, | |
0.007093721866607666, | |
0.007140922069549561, | |
0.0071367621421813965, | |
0.007152280807495117, | |
0.007132761955261231, | |
0.007122841835021973, | |
0.007154841899871826, | |
0.0071270008087158205, | |
0.007111961841583252, | |
0.007090521812438965, | |
0.007127320766448975, | |
0.007128282070159912, | |
0.007305079936981201, | |
0.00708700180053711, | |
0.007115642070770264, | |
0.007052443027496338, | |
0.007100922107696533, | |
0.007103481769561768, | |
0.007118360996246338, | |
0.007095161914825439, | |
0.007113081932067871, | |
0.007132280826568604, | |
0.0071180419921875, | |
0.007083961963653565, | |
0.0070988421440124514, | |
0.0071017217636108396, | |
0.0070774021148681645, | |
0.007082361221313477, | |
0.007080602169036865, | |
0.007094202041625977, | |
0.0071086020469665525, | |
0.007100121974945068, | |
0.0071580419540405275, | |
0.007035162925720215, | |
0.007132441997528076, | |
0.007079001903533936, | |
0.007121400833129883, | |
0.0070873222351074214, | |
0.007159162044525147, | |
0.0071367621421813965, | |
0.007153080940246582, | |
0.007131162166595459, | |
0.007103322029113769, | |
0.007118360996246338, | |
0.007128602027893067, | |
0.007112122058868408, | |
0.0071281218528747555, | |
0.007093562126159668, | |
0.0071644411087036135, | |
0.007162840843200684, | |
0.007126361846923828, | |
0.00712044095993042, | |
0.007101401805877685, | |
0.007087801933288574, | |
0.007107481956481933, | |
0.00711852216720581, | |
0.007093562126159668, | |
0.0070935611724853515, | |
0.007135161876678467, | |
0.007130361080169677, | |
0.007123002052307129, | |
0.0071412410736083985, | |
0.007118202209472656, | |
0.007111001968383789, | |
0.007168121814727783, | |
0.00706348180770874, | |
0.007104440212249756, | |
0.0070938820838928225, | |
0.0071231617927551266, | |
0.007139801979064941, | |
0.007145242214202881 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.41113006935652 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |