
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
95e378e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.880832, | |
"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.38844873046875, | |
"mean": 7.38844873046875, | |
"stdev": 0.0, | |
"p50": 7.38844873046875, | |
"p90": 7.38844873046875, | |
"p95": 7.38844873046875, | |
"p99": 7.38844873046875, | |
"values": [ | |
7.38844873046875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0582785812500914e-06, | |
"ram": 5.635806246939042e-07, | |
"gpu": 1.8108347820001286e-06, | |
"total": 3.432693987944124e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.107008, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 1.0008380169868465, | |
"mean": 0.006855054910868815, | |
"stdev": 9.419781768647863e-05, | |
"p50": 0.006843919992446899, | |
"p90": 0.0069606399536132815, | |
"p95": 0.007030783891677857, | |
"p99": 0.0071200080156326295, | |
"values": [ | |
0.007073791980743408, | |
0.007111680030822754, | |
0.007112703800201416, | |
0.007035903930664063, | |
0.007067647933959961, | |
0.007071680068969727, | |
0.007015423774719238, | |
0.006870016098022461, | |
0.006940671920776367, | |
0.006876128196716309, | |
0.006875072002410889, | |
0.006869984149932861, | |
0.00690176010131836, | |
0.006815743923187256, | |
0.006750207901000976, | |
0.006874048233032227, | |
0.0068884482383728025, | |
0.006894591808319092, | |
0.0068884482383728025, | |
0.006927360057830811, | |
0.006920191764831543, | |
0.006909952163696289, | |
0.0068392958641052244, | |
0.006874112129211426, | |
0.006959104061126709, | |
0.0068351998329162595, | |
0.00690176010131836, | |
0.0069253120422363285, | |
0.006944767951965332, | |
0.006837247848510742, | |
0.006873087882995605, | |
0.006875135898590088, | |
0.006894591808319092, | |
0.007005184173583984, | |
0.0069621758460998535, | |
0.006796288013458252, | |
0.006772736072540283, | |
0.0067686400413513184, | |
0.006847519874572754, | |
0.006916096210479736, | |
0.006811647891998291, | |
0.006909952163696289, | |
0.006865920066833496, | |
0.0069550080299377445, | |
0.006936575889587402, | |
0.006895616054534912, | |
0.0069110398292541505, | |
0.0068986878395080565, | |
0.0068321280479431154, | |
0.006895648002624512, | |
0.006907904148101806, | |
0.006825984001159668, | |
0.0068689918518066405, | |
0.006920191764831543, | |
0.006906879901885986, | |
0.0068269438743591305, | |
0.006819839954376221, | |
0.006830080032348633, | |
0.006974463939666748, | |
0.006821887969970703, | |
0.006973440170288086, | |
0.006840320110321045, | |
0.0067645440101623535, | |
0.006851615905761718, | |
0.006859776020050049, | |
0.006851583957672119, | |
0.006812672138214112, | |
0.00688640022277832, | |
0.006889472007751465, | |
0.006998015880584717, | |
0.006916096210479736, | |
0.00694374418258667, | |
0.006952960014343262, | |
0.006908927917480469, | |
0.006882304191589355, | |
0.006865920066833496, | |
0.0068986878395080565, | |
0.006792191982269287, | |
0.006793216228485107, | |
0.0069621758460998535, | |
0.006821887969970703, | |
0.006724607944488525, | |
0.006718463897705078, | |
0.006616064071655273, | |
0.006715392112731934, | |
0.006821887969970703, | |
0.006589439868927002, | |
0.007125984191894532, | |
0.006890495777130127, | |
0.0069212160110473635, | |
0.0071823358535766605, | |
0.006778880119323731, | |
0.006822912216186523, | |
0.006809599876403808, | |
0.006856704235076904, | |
0.00693452787399292, | |
0.006944767951965332, | |
0.006783999919891357, | |
0.006690815925598144, | |
0.00672051191329956, | |
0.00675328016281128, | |
0.00669593620300293, | |
0.006685760021209717, | |
0.0067573761940002445, | |
0.006725632190704346, | |
0.006812672138214112, | |
0.006873087882995605, | |
0.006851583957672119, | |
0.0068321280479431154, | |
0.006900735855102539, | |
0.006852672100067138, | |
0.006848512172698974, | |
0.006882304191589355, | |
0.006815743923187256, | |
0.00682700777053833, | |
0.0067717118263244626, | |
0.0067686400413513184, | |
0.006814720153808594, | |
0.006803455829620361, | |
0.006761472225189209, | |
0.006793216228485107, | |
0.006807551860809326, | |
0.006740992069244385, | |
0.006785024166107178, | |
0.006802432060241699, | |
0.006762432098388672, | |
0.006767615795135498, | |
0.006817791938781738, | |
0.006804480075836182, | |
0.0067758078575134275, | |
0.006799359798431396, | |
0.006796288013458252, | |
0.006783999919891357, | |
0.006782976150512696, | |
0.0067870721817016606, | |
0.006807551860809326, | |
0.006773759841918945, | |
0.006808576107025147, | |
0.006801407814025879, | |
0.0067717118263244626, | |
0.006816768169403077, | |
0.006814720153808594, | |
0.006785024166107178, | |
0.006772736072540283, | |
0.006802432060241699, | |
0.006792191982269287 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.87775196584957 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.983654196960885e-08, | |
"ram": 4.3651921579651225e-08, | |
"gpu": 1.490139148859078e-07, | |
"total": 2.7250237843516787e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3669692.740821027 | |
} | |
} | |
} | |
} |