IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f985190
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.521856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48891.703296, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2918037109375, | |
"mean": 8.2918037109375, | |
"stdev": 0.0, | |
"p50": 8.2918037109375, | |
"p90": 8.2918037109375, | |
"p95": 8.2918037109375, | |
"p99": 8.2918037109375, | |
"values": [ | |
8.2918037109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.503616, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 230201.225216, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0000923740863794, | |
"mean": 0.007092853716924682, | |
"stdev": 0.004656559688242095, | |
"p50": 0.006896624088287354, | |
"p90": 0.007558062076568604, | |
"p95": 0.007810542106628418, | |
"p99": 0.02929532260894755, | |
"values": [ | |
0.007760941982269287, | |
0.007558062076568604, | |
0.007195823192596436, | |
0.007294542789459228, | |
0.007357102870941162, | |
0.043558456420898437, | |
0.0023839941024780273, | |
0.002219515085220337, | |
0.002212475061416626, | |
0.0021996750831604003, | |
0.002207993984222412, | |
0.002814234018325806, | |
0.007033742904663086, | |
0.007008463859558106, | |
0.006968142986297607, | |
0.0069615840911865234, | |
0.006949903011322022, | |
0.006954063892364502, | |
0.0069303841590881345, | |
0.006952622890472412, | |
0.00695582389831543, | |
0.007048782825469971, | |
0.007004784107208252, | |
0.007006702899932861, | |
0.007005104064941406, | |
0.006926222801208496, | |
0.006915503978729248, | |
0.006907504081726074, | |
0.00691534423828125, | |
0.006981264114379883, | |
0.006906383991241455, | |
0.006900144100189209, | |
0.00691486406326294, | |
0.006869743824005127, | |
0.0068686242103576664, | |
0.006883344173431396, | |
0.0068902230262756345, | |
0.006867504119873047, | |
0.006896624088287354, | |
0.0068636641502380375, | |
0.006889584064483642, | |
0.006867504119873047, | |
0.006881423950195312, | |
0.006878543853759766, | |
0.006870863914489746, | |
0.006849264144897461, | |
0.006857103824615478, | |
0.006856304168701172, | |
0.006847983837127686, | |
0.006876624107360839, | |
0.00690958309173584, | |
0.006893424034118653, | |
0.007014544010162354, | |
0.006907663822174072, | |
0.006928944110870362, | |
0.006897424221038818, | |
0.006873262882232666, | |
0.007101263999938965, | |
0.006928462982177735, | |
0.0068979039192199705, | |
0.006898384094238281, | |
0.006890063762664795, | |
0.0068895831108093265, | |
0.006995664119720459, | |
0.006913104057312012, | |
0.006881423950195312, | |
0.00688430404663086, | |
0.006878704071044922, | |
0.006886864185333252, | |
0.006907824039459228, | |
0.00689214277267456, | |
0.006941743850708008, | |
0.006902063846588135, | |
0.006892144203186035, | |
0.0068991842269897465, | |
0.006866064071655274, | |
0.006909423828125, | |
0.006919983863830566, | |
0.006898223876953125, | |
0.006891664028167725, | |
0.006891503810882569, | |
0.006904943943023682, | |
0.0069139041900634765, | |
0.00696014404296875, | |
0.006888944149017334, | |
0.006859663009643554, | |
0.006891183853149414, | |
0.006858543872833252, | |
0.006865744113922119, | |
0.006848144054412842, | |
0.006855663776397705, | |
0.006871663093566895, | |
0.006870863914489746, | |
0.006862864017486572, | |
0.006853583812713623, | |
0.006879183769226074, | |
0.006884462833404541, | |
0.00689134407043457, | |
0.006864463806152344, | |
0.006877903938293457, | |
0.006855663776397705, | |
0.044541336059570315, | |
0.002270714998245239, | |
0.002209434986114502, | |
0.0021947150230407714, | |
0.0022007939815521242, | |
0.0021967949867248535, | |
0.0022036750316619873, | |
0.002215675115585327, | |
0.0036204710006713867, | |
0.0069070239067077635, | |
0.006855504035949707, | |
0.00693390417098999, | |
0.0068900628089904785, | |
0.006870063781738281, | |
0.006861423969268799, | |
0.006866543769836426, | |
0.006860464096069336, | |
0.006886703968048096, | |
0.006877903938293457, | |
0.006881584167480468, | |
0.006894063949584961, | |
0.007417262077331543, | |
0.007819821834564209, | |
0.007798381805419922, | |
0.007786061763763428, | |
0.00787710189819336, | |
0.007403982162475586, | |
0.00721902322769165, | |
0.007131342887878418, | |
0.0072358231544494625, | |
0.0072614231109619145, | |
0.007604462146759033, | |
0.007900621891021729, | |
0.007818221092224121, | |
0.007805740833282471, | |
0.007822220802307128, | |
0.007801422119140625, | |
0.007810542106628418, | |
0.007449582099914551, | |
0.007323983192443847 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.98697645685832 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |