IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d38a62d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"device": "cuda", | |
"device_ids": "0", | |
"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": "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.3.1", | |
"optimum_benchmark_commit": "034e40c3ab573ad44343a7fcce8e83f9a39327de", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.035712, | |
"max_global_vram": 1160.097792, | |
"max_process_vram": 42363.265024, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.0235556640625, | |
"mean": 7.0235556640625, | |
"stdev": 0.0, | |
"p50": 7.0235556640625, | |
"p90": 7.0235556640625, | |
"p95": 7.0235556640625, | |
"p99": 7.0235556640625, | |
"values": [ | |
7.0235556640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.749504, | |
"max_global_vram": 1223.634944, | |
"max_process_vram": 220515.823616, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0024127411842345, | |
"mean": 0.00748069209838981, | |
"stdev": 0.00040101286725827785, | |
"p50": 0.00745411491394043, | |
"p90": 0.007858709621429443, | |
"p95": 0.007899916911125182, | |
"p99": 0.008466717834472653, | |
"values": [ | |
0.00813411808013916, | |
0.00736531400680542, | |
0.007655235767364502, | |
0.007615715980529785, | |
0.007532035827636719, | |
0.007518435955047607, | |
0.0073977952003479, | |
0.007360674858093262, | |
0.0072587537765502926, | |
0.007245793819427491, | |
0.007455235004425049, | |
0.007226113796234131, | |
0.007177954196929932, | |
0.007284035205841064, | |
0.007141794204711914, | |
0.007168193817138672, | |
0.007147394180297852, | |
0.007220993995666504, | |
0.007100993156433105, | |
0.007225955009460449, | |
0.00716387414932251, | |
0.007193153858184815, | |
0.0071584339141845706, | |
0.007184353828430176, | |
0.007080352783203125, | |
0.007457155227661133, | |
0.007574755191802979, | |
0.007657316207885742, | |
0.007660995960235595, | |
0.007781957149505615, | |
0.007873316764831544, | |
0.00747043514251709, | |
0.007424194812774659, | |
0.009559725761413574, | |
0.008249958992004395, | |
0.007941798210144043, | |
0.007826597213745116, | |
0.007832197189331055, | |
0.007814917087554931, | |
0.007901476860046388, | |
0.007820837020874024, | |
0.007818596839904785, | |
0.007824037075042724, | |
0.007819716930389404, | |
0.007851558208465576, | |
0.007827877044677734, | |
0.007819077014923096, | |
0.007845157146453858, | |
0.0077744369506835935, | |
0.007866436958312989, | |
0.007814436912536622, | |
0.007821317195892335, | |
0.007823717117309571, | |
0.007824516773223877, | |
0.00778499698638916, | |
0.007882277011871337, | |
0.007787877082824707, | |
0.007903878211975097, | |
0.0077958769798278805, | |
0.007831236839294434, | |
0.00783795690536499, | |
0.00789907693862915, | |
0.007842758178710937, | |
0.007189313888549805, | |
0.00699811315536499, | |
0.007010112762451172, | |
0.006943393230438233, | |
0.0072777938842773435, | |
0.0069670729637146, | |
0.006937633037567139, | |
0.006998272895812988, | |
0.00698451280593872, | |
0.006973473072052002, | |
0.006981633186340332, | |
0.006939712047576904, | |
0.0069494729042053225, | |
0.006924673080444336, | |
0.006959552764892578, | |
0.007019073009490967, | |
0.006932033061981201, | |
0.00698451280593872, | |
0.006930273056030273, | |
0.007025153160095215, | |
0.007123233795166016, | |
0.007347235202789307, | |
0.007650755882263184, | |
0.007405155181884766, | |
0.007761316776275635, | |
0.007858596801757812, | |
0.007858757972717284, | |
0.007859716892242432, | |
0.007865477085113525, | |
0.0077587571144104, | |
0.007779397010803222, | |
0.0077952370643615725, | |
0.007010593891143799, | |
0.007325153827667236, | |
0.006995392799377441, | |
0.00714803409576416, | |
0.007358914852142334, | |
0.007523396015167236, | |
0.007413955211639405, | |
0.007796677112579345, | |
0.007828357219696045, | |
0.007756516933441162, | |
0.007783076763153076, | |
0.008573479652404785, | |
0.007797156810760498, | |
0.007764997005462647, | |
0.007759236812591553, | |
0.007747076034545899, | |
0.007770596981048584, | |
0.0075941162109375, | |
0.007361794948577881, | |
0.007436995029449463, | |
0.007321314811706543, | |
0.00729603385925293, | |
0.007377153873443604, | |
0.00745059585571289, | |
0.0075832362174987795, | |
0.007452994823455811, | |
0.007289474010467529, | |
0.007148512840270996, | |
0.006905313014984131, | |
0.0069635529518127445, | |
0.006958433151245117, | |
0.006967872142791748, | |
0.007112353801727295, | |
0.006941792964935303, | |
0.007344674110412597, | |
0.007088034152984619, | |
0.007090434074401856, | |
0.007472835063934326, | |
0.00775603723526001 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.6774708606502 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |