IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a230654
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"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.2.0", | |
"optimum_benchmark_commit": "4ec62071e1c9b9c89fb7e3c044340b391a0c4120", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1007.190016, | |
"max_global_vram": 1877.520384, | |
"max_process_vram": 234487.123968, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9963395566940308, | |
"mean": 0.007723562454992486, | |
"stdev": 9.508950416811287e-05, | |
"p50": 0.00772273588180542, | |
"p90": 0.007785038948059082, | |
"p95": 0.007806287002563477, | |
"p99": 0.007878249263763428, | |
"values": [ | |
0.007804656028747558, | |
0.007755535125732422, | |
0.007805614948272705, | |
0.007823535919189453, | |
0.007861774921417236, | |
0.007884655952453613, | |
0.007841935157775879, | |
0.007760655879974365, | |
0.007806735038757324, | |
0.007757935047149658, | |
0.007739055156707764, | |
0.00768993616104126, | |
0.007765134811401367, | |
0.007712015151977539, | |
0.007705134868621826, | |
0.007712015151977539, | |
0.00768081521987915, | |
0.007600655078887939, | |
0.007661135196685791, | |
0.007685776233673096, | |
0.00764817476272583, | |
0.00763937520980835, | |
0.007685615062713623, | |
0.007756334781646728, | |
0.007745615005493164, | |
0.0077628960609436035, | |
0.007789774894714356, | |
0.007759055137634277, | |
0.007731375217437744, | |
0.007713136196136475, | |
0.007836814880371093, | |
0.007741934776306152, | |
0.007771056175231933, | |
0.007759055137634277, | |
0.007754415035247803, | |
0.00773761510848999, | |
0.007773615837097168, | |
0.0077459349632263185, | |
0.007760334968566895, | |
0.007754254817962647, | |
0.007742094993591309, | |
0.0077747349739074705, | |
0.007782735824584961, | |
0.0077654547691345215, | |
0.007772655010223389, | |
0.007777775764465332, | |
0.00780481481552124, | |
0.0077838549613952635, | |
0.007801775932312012, | |
0.007744655132293701, | |
0.007789774894714356, | |
0.007746095180511474, | |
0.007730576038360595, | |
0.007687534809112549, | |
0.007698575019836426, | |
0.007704814910888672, | |
0.007700815200805664, | |
0.007732655048370361, | |
0.007712016105651856, | |
0.007689774990081787, | |
0.0076843352317810054, | |
0.007695535182952881, | |
0.0076040148735046385, | |
0.007661294937133789, | |
0.0075348949432373045, | |
0.0072403340339660645, | |
0.00727665376663208, | |
0.008356817245483398, | |
0.007758415222167968, | |
0.007685454845428466, | |
0.007572655200958252, | |
0.007718414783477783, | |
0.0077128162384033205, | |
0.007699534893035888, | |
0.007697935104370117, | |
0.007715694904327393, | |
0.007702095031738281, | |
0.007666574954986572, | |
0.007705296039581299, | |
0.0076889748573303225, | |
0.007697454929351807, | |
0.007723694801330567, | |
0.007692174911499023, | |
0.007695374965667724, | |
0.007664014816284179, | |
0.007670414924621582, | |
0.007728334903717041, | |
0.007706894874572754, | |
0.007711854934692383, | |
0.007715374946594238, | |
0.00772273588180542, | |
0.007685774803161621, | |
0.007681455135345459, | |
0.007709774971008301, | |
0.007760175228118896, | |
0.007694415092468262, | |
0.0077036948204040525, | |
0.0076700949668884275, | |
0.007704174995422363, | |
0.0076584148406982425, | |
0.0076748948097229005, | |
0.007729135036468506, | |
0.0077016158103942875, | |
0.007735215187072754, | |
0.007720495223999023, | |
0.007715054988861084, | |
0.007768815994262696, | |
0.0077502551078796385, | |
0.007728654861450196, | |
0.007700174808502197, | |
0.007778255939483642, | |
0.007759695053100586, | |
0.007731054782867432, | |
0.007724975109100342, | |
0.0077340960502624515, | |
0.007751054763793945, | |
0.007758735179901123, | |
0.007718894958496094, | |
0.007756336212158203, | |
0.007729774951934815, | |
0.007714254856109619, | |
0.007723374843597412, | |
0.0077390561103820804, | |
0.007697134971618652, | |
0.007734095096588135, | |
0.007714573860168457, | |
0.007708654880523681, | |
0.007691854953765869, | |
0.007711054801940918 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.4739319876417 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |