IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2ef9847
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": "b92e3e6e00670fa1351d9aef1be896254e5f33e0", | |
"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": 1008.689152, | |
"max_global_vram": 1877.504, | |
"max_process_vram": 206404.923392, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9979717674255366, | |
"mean": 0.007231679474098094, | |
"stdev": 0.00022682455984760898, | |
"p50": 0.00713201904296875, | |
"p90": 0.00758466010093689, | |
"p95": 0.007675395965576173, | |
"p99": 0.007882598547935485, | |
"values": [ | |
0.0073945789337158205, | |
0.007430099964141846, | |
0.007207698822021484, | |
0.007340499877929688, | |
0.007547860145568848, | |
0.007682740211486816, | |
0.007687220096588135, | |
0.007634739875793457, | |
0.007722260951995849, | |
0.007549139976501465, | |
0.007490900039672852, | |
0.00742225980758667, | |
0.007282578945159912, | |
0.007236020088195801, | |
0.007169458866119385, | |
0.007124979019165039, | |
0.007119699001312256, | |
0.00713153886795044, | |
0.007124498844146728, | |
0.007083218097686767, | |
0.00717874002456665, | |
0.007143058776855469, | |
0.007156339168548584, | |
0.0071830592155456546, | |
0.007137779235839844, | |
0.007180338859558106, | |
0.007122098922729492, | |
0.007169939041137695, | |
0.007143538951873779, | |
0.007213939189910889, | |
0.008499543190002441, | |
0.0077821011543273925, | |
0.007127539157867431, | |
0.007158578872680664, | |
0.007107219219207764, | |
0.007095378875732422, | |
0.007073779106140137, | |
0.007097457885742188, | |
0.007135218143463135, | |
0.0071142578125, | |
0.007083699226379394, | |
0.007089619159698486, | |
0.007134899139404297, | |
0.007139698982238769, | |
0.007092978000640869, | |
0.007120018005371094, | |
0.007158099174499511, | |
0.007089777946472168, | |
0.0070985789299011235, | |
0.007113779067993164, | |
0.0071310591697692875, | |
0.007126898765563965, | |
0.007118898868560791, | |
0.007122899055480957, | |
0.007104498863220215, | |
0.007121778964996338, | |
0.007097939014434815, | |
0.007120179176330566, | |
0.007140658855438233, | |
0.007131379127502441, | |
0.00715169906616211, | |
0.00712545919418335, | |
0.007109939098358154, | |
0.0070868988037109375, | |
0.007088978767395019, | |
0.007182738780975342, | |
0.007147219181060791, | |
0.007941620826721191, | |
0.0070992188453674315, | |
0.007125618934631347, | |
0.007112339019775391, | |
0.0071384191513061525, | |
0.0071065788269042965, | |
0.007105138778686524, | |
0.007114579200744629, | |
0.007351058959960938, | |
0.007052659034729004, | |
0.007052978992462158, | |
0.007142579078674317, | |
0.007121298789978027, | |
0.007085938930511474, | |
0.007135219097137451, | |
0.007114579200744629, | |
0.00713249921798706, | |
0.007104979038238525, | |
0.00712817907333374, | |
0.007140658855438233, | |
0.007090898990631103, | |
0.00708721923828125, | |
0.007073138236999512, | |
0.007165779113769531, | |
0.007075697898864746, | |
0.007044979095458984, | |
0.007076498985290528, | |
0.007159218788146972, | |
0.007090418815612793, | |
0.007055698871612549, | |
0.00713857889175415, | |
0.007082899093627929, | |
0.007167539119720459, | |
0.007145618915557862, | |
0.007163858890533447, | |
0.007144818782806397, | |
0.007103219032287598, | |
0.007089939117431641, | |
0.007155698776245117, | |
0.007111538887023925, | |
0.007110739231109619, | |
0.007060978889465332, | |
0.007060978889465332, | |
0.00705905818939209, | |
0.007419699192047119, | |
0.007748820781707764, | |
0.007667699813842774, | |
0.007605939865112305, | |
0.0076206598281860355, | |
0.007674099922180176, | |
0.00756898021697998, | |
0.0075822601318359375, | |
0.007395379066467285, | |
0.007470738887786865, | |
0.007562581062316894, | |
0.007633780002593994, | |
0.007590260028839111, | |
0.007524819850921631, | |
0.007537300109863281, | |
0.007535220146179199, | |
0.007433460235595703, | |
0.007264180183410645, | |
0.0070980978012084965, | |
0.00705521821975708, | |
0.007133938789367676, | |
0.007112499237060547, | |
0.007046739101409912, | |
0.007120978832244873, | |
0.00708369779586792, | |
0.007118419170379638, | |
0.007112978935241699 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.28046494341012 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |