IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
aece8d2
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "156844ab796ad7cf3da92a0bf30b174d1bcc0aa5", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.942528, | |
"max_global_vram": 897.142784, | |
"max_process_vram": 199578.570752, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9950863709449767, | |
"mean": 0.007426017693619229, | |
"stdev": 0.0004018532667655497, | |
"p50": 0.007285921096801758, | |
"p90": 0.007909937000274658, | |
"p95": 0.007931480956077576, | |
"p99": 0.008188913011550902, | |
"values": [ | |
0.008827040672302246, | |
0.007209280967712403, | |
0.00718320083618164, | |
0.00731040096282959, | |
0.007342560768127442, | |
0.007372001171112061, | |
0.0072216010093688965, | |
0.007950241088867188, | |
0.007899200916290284, | |
0.007848960876464844, | |
0.00783712100982666, | |
0.00736336088180542, | |
0.0072614412307739256, | |
0.0073142409324646, | |
0.007400801181793213, | |
0.007210881233215332, | |
0.008231680870056152, | |
0.008102081298828124, | |
0.007395201206207276, | |
0.0070401611328125, | |
0.007402400970458984, | |
0.007244161128997803, | |
0.007036641120910645, | |
0.007023681163787842, | |
0.00703088092803955, | |
0.007251040935516357, | |
0.007001121044158936, | |
0.006983360767364502, | |
0.007025440216064453, | |
0.0069702410697937015, | |
0.007024001121520996, | |
0.007001121044158936, | |
0.0069971208572387695, | |
0.007049760818481445, | |
0.007002080917358398, | |
0.0070222411155700685, | |
0.007003040790557862, | |
0.007228480815887451, | |
0.0070276808738708495, | |
0.007024480819702149, | |
0.006968481063842773, | |
0.007060320854187012, | |
0.0070131211280822755, | |
0.007092161178588867, | |
0.007070081233978271, | |
0.007094241142272949, | |
0.007036160945892334, | |
0.007011360168457032, | |
0.007075840950012207, | |
0.0070796809196472165, | |
0.007100161075592041, | |
0.007052320957183838, | |
0.0070465607643127445, | |
0.007087841033935547, | |
0.0070491209030151365, | |
0.007047360897064209, | |
0.007065280914306641, | |
0.007050721168518066, | |
0.0070790410041809086, | |
0.007064160823822022, | |
0.007076001167297364, | |
0.007103840827941895, | |
0.007078880786895752, | |
0.007082561016082764, | |
0.007366880893707275, | |
0.007902400970458984, | |
0.007968320846557617, | |
0.007204960823059082, | |
0.00704624080657959, | |
0.007215840816497803, | |
0.007794560909271241, | |
0.00791360092163086, | |
0.007879361152648926, | |
0.007853281021118165, | |
0.0078905611038208, | |
0.00785408115386963, | |
0.007869441032409668, | |
0.007835200786590576, | |
0.007959361076354981, | |
0.00789664077758789, | |
0.007922561168670654, | |
0.007916000843048096, | |
0.007906081199645996, | |
0.007907361030578612, | |
0.007876801967620849, | |
0.00788624095916748, | |
0.007930080890655517, | |
0.007908960819244385, | |
0.007934081077575683, | |
0.007923521041870118, | |
0.007909601211547851, | |
0.007869760990142822, | |
0.007849600791931153, | |
0.007847681045532226, | |
0.007866240978240967, | |
0.007842401027679443, | |
0.007873441219329834, | |
0.007892321109771729, | |
0.00791024112701416, | |
0.007877601146697997, | |
0.007898722171783447, | |
0.00786720085144043, | |
0.007861920833587646, | |
0.007865601062774659, | |
0.007832321166992187, | |
0.007862081050872802, | |
0.007855521202087403, | |
0.007910080909729004, | |
0.007480640888214111, | |
0.007563681125640869, | |
0.00786432123184204, | |
0.007860641002655029, | |
0.007444480895996094, | |
0.00744736099243164, | |
0.007353120803833007, | |
0.0073401608467102055, | |
0.007476480960845947, | |
0.007476641178131104, | |
0.007551840782165527, | |
0.007010400772094727, | |
0.007031681060791016, | |
0.007021121025085449, | |
0.007070880889892578, | |
0.007053280830383301, | |
0.007067360877990723, | |
0.007023681163787842, | |
0.007051681041717529, | |
0.007029921054840088, | |
0.007007360935211182, | |
0.007036799907684326, | |
0.0070417609214782715, | |
0.007070879936218261, | |
0.0070809612274169926, | |
0.007218720912933349 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.66167753131606 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |