IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c4a85b3
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", | |
"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": "6fd377459e287bb09e9383ba2516b1b2a271a562", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1001.435136, | |
"max_global_vram": 930.557952, | |
"max_process_vram": 262239.711232, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0045842666625977, | |
"mean": 0.007787474935368972, | |
"stdev": 0.00013716925129050333, | |
"p50": 0.007768144130706787, | |
"p90": 0.007841935920715332, | |
"p95": 0.007930287075042725, | |
"p99": 0.00807528564453125, | |
"values": [ | |
0.00914750099182129, | |
0.007959662914276123, | |
0.007900463104248048, | |
0.007898862838745118, | |
0.007961742877960205, | |
0.008088143348693847, | |
0.00804222297668457, | |
0.007935983180999756, | |
0.007773583889007569, | |
0.00781518316268921, | |
0.007758863925933838, | |
0.007767824172973633, | |
0.007729743957519531, | |
0.007732623100280762, | |
0.007747183799743653, | |
0.007768783092498779, | |
0.007693264007568359, | |
0.007682222843170166, | |
0.007723343849182129, | |
0.007710544109344483, | |
0.007717263221740722, | |
0.0077553439140319825, | |
0.007814542770385742, | |
0.007869263172149659, | |
0.007939504146575928, | |
0.00776110315322876, | |
0.007789103984832763, | |
0.0077543830871582035, | |
0.007759024143218994, | |
0.007723342895507812, | |
0.00768174409866333, | |
0.007709582805633545, | |
0.007723663806915283, | |
0.007759984016418457, | |
0.007741743087768554, | |
0.007731823921203613, | |
0.007743503093719482, | |
0.007758224010467529, | |
0.007693583011627197, | |
0.007738704204559326, | |
0.007778062820434571, | |
0.00777998399734497, | |
0.007782382965087891, | |
0.007820143222808837, | |
0.007820623874664307, | |
0.007818862915039063, | |
0.007855184078216552, | |
0.007808463096618652, | |
0.007802543163299561, | |
0.007774223804473877, | |
0.007765902996063233, | |
0.007806863784790039, | |
0.0077903828620910645, | |
0.007824624061584472, | |
0.007829102993011474, | |
0.007842062950134277, | |
0.007784944057464599, | |
0.007780942916870117, | |
0.007771024227142334, | |
0.007727663040161133, | |
0.007763504028320312, | |
0.007799822807312012, | |
0.007797743797302246, | |
0.007829102993011474, | |
0.00775998306274414, | |
0.007768144130706787, | |
0.007809583187103271, | |
0.007768464088439941, | |
0.0077923030853271485, | |
0.007841904163360596, | |
0.007796943187713623, | |
0.007791502952575684, | |
0.00782590389251709, | |
0.007772462844848633, | |
0.007774543762207031, | |
0.0077763028144836426, | |
0.007826863765716553, | |
0.00776110315322876, | |
0.007757423877716064, | |
0.0077281432151794435, | |
0.007791823863983154, | |
0.007794542789459229, | |
0.00780206298828125, | |
0.007807983875274658, | |
0.007780463218688965, | |
0.007828464031219482, | |
0.007736302852630615, | |
0.007759984016418457, | |
0.007807343006134033, | |
0.007786223888397217, | |
0.00774862289428711, | |
0.007718544006347656, | |
0.007715662956237793, | |
0.007722064018249512, | |
0.007744623184204102, | |
0.007796144008636475, | |
0.0077009439468383786, | |
0.007726542949676514, | |
0.007744143962860108, | |
0.00772510290145874, | |
0.007771503925323486, | |
0.007776622772216797, | |
0.007772784233093261, | |
0.00774910306930542, | |
0.007732783794403076, | |
0.007756783962249756, | |
0.007733583927154541, | |
0.007760303020477295, | |
0.007745584011077881, | |
0.00775726318359375, | |
0.007703023910522461, | |
0.007670382976531983, | |
0.007691984176635742, | |
0.0076937441825866695, | |
0.0077734231948852536, | |
0.007721104145050049, | |
0.007734222888946533, | |
0.007697264194488526, | |
0.007679503917694092, | |
0.007725903034210205, | |
0.007744304180145264, | |
0.007732623100280762, | |
0.0077169442176818846, | |
0.007756624221801758, | |
0.0077476630210876465, | |
0.007770223140716553, | |
0.007921742916107177, | |
0.007788942813873291, | |
0.007811823844909668 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.4113282289004 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |