IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
74696e4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.1", | |
"optimum_benchmark_commit": "c1d0b062e90b79e7705510c58cea731c0d90da8a", | |
"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": 1003.278336, | |
"max_global_vram": 1878.8352, | |
"max_process_vram": 244014.153728, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9965150237083437, | |
"mean": 0.008101748160230434, | |
"stdev": 0.0002863609215272196, | |
"p50": 0.008094571113586425, | |
"p90": 0.008219049644470214, | |
"p95": 0.0083161865234375, | |
"p99": 0.00839506721496582, | |
"values": [ | |
0.008246089935302734, | |
0.008027210235595703, | |
0.008013771057128907, | |
0.007996009826660157, | |
0.00820753002166748, | |
0.008319531440734863, | |
0.008389451026916505, | |
0.008357130050659179, | |
0.008380651473999023, | |
0.008299051284790039, | |
0.008318090438842773, | |
0.008275691032409669, | |
0.008221929550170898, | |
0.008150570869445801, | |
0.008115690231323242, | |
0.007751689910888672, | |
0.007718729972839356, | |
0.007807690143585205, | |
0.007590569972991943, | |
0.007879209995269776, | |
0.007898250102996825, | |
0.00761584997177124, | |
0.007594408988952636, | |
0.007623370170593262, | |
0.007997129917144775, | |
0.007968009948730469, | |
0.007818890094757081, | |
0.007992650985717773, | |
0.008011369705200196, | |
0.008006090164184571, | |
0.007987850189208985, | |
0.007963689804077148, | |
0.007976171016693115, | |
0.007968969821929931, | |
0.007977290153503418, | |
0.010891694068908692, | |
0.008396651268005371, | |
0.008081130027770996, | |
0.008104009628295899, | |
0.008065291404724121, | |
0.008078889846801758, | |
0.008096010208129882, | |
0.008284489631652832, | |
0.008110569953918458, | |
0.008102730751037597, | |
0.008150250434875488, | |
0.008149130821228028, | |
0.008103690147399902, | |
0.008072489738464356, | |
0.008065291404724121, | |
0.008089289665222169, | |
0.008064330101013184, | |
0.008098251342773437, | |
0.008123689651489258, | |
0.008104490280151368, | |
0.008093131065368653, | |
0.008118889808654784, | |
0.008120650291442872, | |
0.008136170387268066, | |
0.008069609642028809, | |
0.008106090545654298, | |
0.008092169761657714, | |
0.008087690353393556, | |
0.008083371162414551, | |
0.008067689895629882, | |
0.008080329895019531, | |
0.008079690933227539, | |
0.008184650421142577, | |
0.008104009628295899, | |
0.008103691101074218, | |
0.00813329029083252, | |
0.008066889762878417, | |
0.00811808967590332, | |
0.008076169967651366, | |
0.00811681079864502, | |
0.008100489616394042, | |
0.008141610145568847, | |
0.008083371162414551, | |
0.008116009712219239, | |
0.008083370208740235, | |
0.008095050811767578, | |
0.008112970352172852, | |
0.008102089881896972, | |
0.008071849822998047, | |
0.008100489616394042, | |
0.00809009075164795, | |
0.00813008975982666, | |
0.008066089630126953, | |
0.00809281063079834, | |
0.008099370002746582, | |
0.00811968994140625, | |
0.00810753059387207, | |
0.008087209701538086, | |
0.00813057041168213, | |
0.008129131317138672, | |
0.008095849990844726, | |
0.008087051391601563, | |
0.00810433006286621, | |
0.008153770446777344, | |
0.008094571113586425, | |
0.008096969604492188, | |
0.008059049606323242, | |
0.008096011161804199, | |
0.00810321044921875, | |
0.00807649040222168, | |
0.008073769569396972, | |
0.008086569786071777, | |
0.008079529762268067, | |
0.008073129653930665, | |
0.00803617000579834, | |
0.00810225009918213, | |
0.008059370040893554, | |
0.00822992992401123, | |
0.008107690811157227, | |
0.008112970352172852, | |
0.008071049690246582, | |
0.008088810920715332, | |
0.008093609809875488, | |
0.008100810050964356, | |
0.00810481071472168, | |
0.008086890220642089, | |
0.008087529182434081, | |
0.0081552095413208 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.43015115043487 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |