
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c3a74ab
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"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": 878.374912, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 1.0024416942596437, | |
"mean": 0.0065519064984290425, | |
"stdev": 0.00019850604437123646, | |
"p50": 0.006569983959197998, | |
"p90": 0.006757580757141113, | |
"p95": 0.006842163181304931, | |
"p99": 0.0071061503028869615, | |
"values": [ | |
0.00739734411239624, | |
0.007007232189178467, | |
0.007209983825683594, | |
0.006819839954376221, | |
0.0068351998329162595, | |
0.00673689603805542, | |
0.006796288013458252, | |
0.006754303932189941, | |
0.007007232189178467, | |
0.006863872051239014, | |
0.006961152076721191, | |
0.006819839954376221, | |
0.006669312000274658, | |
0.0066109437942504885, | |
0.006597631931304931, | |
0.006543360233306885, | |
0.006536191940307618, | |
0.006593535900115967, | |
0.006586368083953857, | |
0.006649856090545654, | |
0.006675456047058105, | |
0.006652927875518798, | |
0.0066641921997070315, | |
0.00659660816192627, | |
0.006599679946899414, | |
0.006603775978088379, | |
0.0066938881874084475, | |
0.0066119680404663084, | |
0.006683648109436035, | |
0.006654975891113281, | |
0.00662937593460083, | |
0.006584320068359375, | |
0.006615039825439453, | |
0.006563839912414551, | |
0.00662937593460083, | |
0.006690815925598144, | |
0.00653107213973999, | |
0.006510591983795166, | |
0.006508543968200684, | |
0.006569983959197998, | |
0.006616064071655273, | |
0.006564864158630371, | |
0.006626304149627686, | |
0.006619135856628418, | |
0.00662937593460083, | |
0.006669312000274658, | |
0.006708223819732666, | |
0.006636544227600098, | |
0.0066713600158691405, | |
0.006681600093841553, | |
0.006589439868927002, | |
0.006558720111846924, | |
0.006663167953491211, | |
0.0066375679969787596, | |
0.006589439868927002, | |
0.006605823993682861, | |
0.006557695865631104, | |
0.006583295822143555, | |
0.006556672096252441, | |
0.006569983959197998, | |
0.006563839912414551, | |
0.006595583915710449, | |
0.006700032234191895, | |
0.006557695865631104, | |
0.006515711784362793, | |
0.006554624080657959, | |
0.0066109437942504885, | |
0.006534143924713135, | |
0.006612991809844971, | |
0.006575104236602783, | |
0.006568960189819336, | |
0.006597631931304931, | |
0.006750207901000976, | |
0.006661119937896728, | |
0.006680575847625733, | |
0.006668288230895996, | |
0.006625279903411865, | |
0.006623231887817383, | |
0.006648831844329834, | |
0.00652288007736206, | |
0.006592512130737305, | |
0.006604800224304199, | |
0.006540287971496582, | |
0.00652288007736206, | |
0.006375423908233643, | |
0.006560768127441406, | |
0.0066344962120056155, | |
0.006392831802368164, | |
0.006280191898345947, | |
0.006261760234832763, | |
0.006293504238128662, | |
0.006299647808074951, | |
0.006337535858154297, | |
0.006760447978973389, | |
0.006778880119323731, | |
0.006758399963378906, | |
0.007010303974151612, | |
0.006852608203887939, | |
0.006752255916595459, | |
0.006719488143920899, | |
0.0067645440101623535, | |
0.006616064071655273, | |
0.0066406397819519045, | |
0.00658022403717041, | |
0.006557695865631104, | |
0.006490111827850342, | |
0.006515711784362793, | |
0.00633241605758667, | |
0.00643174409866333, | |
0.006337535858154297, | |
0.0062679038047790524, | |
0.006212607860565185, | |
0.006254591941833496, | |
0.006237184047698975, | |
0.006211584091186524, | |
0.006243328094482422, | |
0.006213632106781006, | |
0.006258687973022461, | |
0.006231040000915527, | |
0.006232063770294189, | |
0.006246399879455566, | |
0.006211584091186524, | |
0.006237184047698975, | |
0.006199295997619629, | |
0.006245376110076905, | |
0.00622489595413208, | |
0.00662937593460083, | |
0.00653107213973999, | |
0.006434815883636475, | |
0.0064542717933654785, | |
0.006434815883636475, | |
0.006434815883636475, | |
0.006451200008392334, | |
0.006406144142150879, | |
0.006529024124145508, | |
0.006457344055175781, | |
0.00648089599609375, | |
0.006496255874633789, | |
0.006426623821258545, | |
0.00643891191482544, | |
0.0064880638122558594, | |
0.006419456005096436, | |
0.006475776195526123, | |
0.00642252779006958, | |
0.006455296039581298, | |
0.006457344055175781, | |
0.006278143882751465, | |
0.006246399879455566, | |
0.006237184047698975, | |
0.006303743839263916, | |
0.006359039783477783, | |
0.006239232063293457, | |
0.006362112045288086 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.62733072270964 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.596431124923576e-08, | |
"ram": 4.152788129221545e-08, | |
"gpu": 1.4672732535897487e-07, | |
"total": 2.642195179004261e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3784731.756178817 | |
} | |
} | |
} | |
} |