IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
efc4255
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": "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": {}, | |
"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.3.1", | |
"optimum_benchmark_commit": "f6013cec1a849341c31271831560b1681406c092", | |
"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": 1010.520064, | |
"max_global_vram": 12782.977024, | |
"max_process_vram": 220172.955648, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 1.0000502405166622, | |
"mean": 0.008000401924133302, | |
"stdev": 0.0006355619025569531, | |
"p50": 0.007752297878265381, | |
"p90": 0.008469639778137207, | |
"p95": 0.009437860870361327, | |
"p99": 0.01066208179473877, | |
"values": [ | |
0.00796973705291748, | |
0.00807837677001953, | |
0.010457090377807617, | |
0.008469895362854004, | |
0.008447015762329101, | |
0.008417256355285644, | |
0.008469256401062011, | |
0.00827901554107666, | |
0.008084615707397462, | |
0.007998217105865478, | |
0.008008136749267578, | |
0.007919977188110352, | |
0.007824617862701416, | |
0.00792429780960083, | |
0.007858857154846192, | |
0.009491012573242188, | |
0.007769257068634033, | |
0.00782877779006958, | |
0.007774217128753662, | |
0.00786317777633667, | |
0.008126055717468262, | |
0.008289095878601074, | |
0.008323975563049316, | |
0.008143495559692383, | |
0.00921661376953125, | |
0.00810317611694336, | |
0.00771085786819458, | |
0.007667017936706543, | |
0.007651658058166504, | |
0.007699498176574707, | |
0.00766061782836914, | |
0.007687178134918213, | |
0.01067533016204834, | |
0.007686536788940429, | |
0.00781725788116455, | |
0.007894856929779053, | |
0.007944457054138184, | |
0.007736298084259033, | |
0.007743978023529053, | |
0.007681097984313965, | |
0.007829896926879883, | |
0.010620128631591797, | |
0.007652937889099121, | |
0.007737098217010498, | |
0.007725257873535157, | |
0.0077358179092407225, | |
0.008255016326904297, | |
0.007722537994384765, | |
0.007665577888488769, | |
0.007648138046264649, | |
0.00773341703414917, | |
0.007736137866973877, | |
0.008781575202941894, | |
0.007732778072357178, | |
0.007712457180023193, | |
0.0077086181640625, | |
0.00922525405883789, | |
0.007686697006225586, | |
0.007745897769927979, | |
0.0077444581985473635, | |
0.008726534843444824, | |
0.007735497951507568, | |
0.007701417922973633, | |
0.007641898155212402, | |
0.00773485803604126, | |
0.007633418083190918, | |
0.007738217830657959, | |
0.0077119779586791995, | |
0.007751017093658447, | |
0.007693898200988769, | |
0.0077217378616333005, | |
0.010770209312438965, | |
0.007712778091430664, | |
0.007677738189697266, | |
0.007709736824035644, | |
0.007750698089599609, | |
0.008418215751647948, | |
0.007720138072967529, | |
0.007750057220458985, | |
0.007758537769317627, | |
0.0096388521194458, | |
0.007754858016967773, | |
0.007682538032531739, | |
0.007719818115234375, | |
0.007706377029418945, | |
0.007757577896118164, | |
0.008669574737548829, | |
0.007726858139038086, | |
0.007792938232421875, | |
0.0077422170639038085, | |
0.007742378234863281, | |
0.010315329551696777, | |
0.007711338043212891, | |
0.007728777885437012, | |
0.007773897171020508, | |
0.00768461799621582, | |
0.007792297840118408, | |
0.007784138202667237, | |
0.007742218017578125, | |
0.007783816814422607, | |
0.007752297878265381, | |
0.00775341796875, | |
0.0077562971115112305, | |
0.0077358179092407225, | |
0.007749738216400147, | |
0.007747337818145752, | |
0.007757737159729004, | |
0.007741898059844971, | |
0.007767658233642578, | |
0.007726537227630615, | |
0.007796937942504883, | |
0.007720297813415528, | |
0.007776456832885742, | |
0.007809897899627685, | |
0.007771176815032959, | |
0.007796137809753418, | |
0.00774957799911499, | |
0.007776936054229736, | |
0.007701737880706787, | |
0.007732458114624023, | |
0.007718217849731445, | |
0.007783977031707764, | |
0.00777629804611206, | |
0.007744617938995361, | |
0.007806217193603516 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.99372025091499 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |