IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6bdf72c verified
raw
history blame
11.3 kB
{
"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": "86906b8c1093b2f4cd2981b46a0b533238abf100",
"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": 897.96608,
"max_global_vram": 875.33568,
"max_process_vram": 41392.984064,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.98841650390625,
"mean": 6.98841650390625,
"stdev": 0.0,
"p50": 6.98841650390625,
"p90": 6.98841650390625,
"p95": 6.98841650390625,
"p99": 6.98841650390625,
"values": [
6.98841650390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.352192,
"max_global_vram": 938.27072,
"max_process_vram": 218971.508736,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9975551891326904,
"mean": 0.007334964625975665,
"stdev": 0.0004024901169749144,
"p50": 0.007394074201583862,
"p90": 0.0076264734268188476,
"p95": 0.007677074193954468,
"p99": 0.00804780905246735,
"values": [
0.007453114032745361,
0.0071961541175842286,
0.007222713947296143,
0.007375194072723389,
0.007435513973236084,
0.007490553855895996,
0.007429433822631836,
0.007190393924713135,
0.007349274158477783,
0.007290393829345703,
0.007647994041442871,
0.007256793975830078,
0.007279513835906982,
0.007168474197387695,
0.007179994106292725,
0.007121593952178955,
0.00721775484085083,
0.007625432968139648,
0.007541753768920898,
0.007592954158782959,
0.007515674114227295,
0.007569593906402588,
0.0074878339767456056,
0.007516473770141602,
0.007504312992095947,
0.010338711738586425,
0.007671994209289551,
0.007491353988647461,
0.007488314151763916,
0.007470073223114014,
0.007461113929748535,
0.007518074035644531,
0.00745759391784668,
0.007511834144592285,
0.007430074214935303,
0.007478074073791504,
0.007453433990478516,
0.007487514019012451,
0.007467033863067627,
0.007500953197479248,
0.007440154075622559,
0.007466874122619629,
0.007410714149475098,
0.0074619140625,
0.007417113780975342,
0.007045273780822754,
0.0072087950706481935,
0.0070764741897583,
0.007195834159851074,
0.007147994041442871,
0.007064154148101806,
0.007125275135040283,
0.007353754043579102,
0.007243353843688965,
0.006973274230957031,
0.006958874225616455,
0.0068105549812316896,
0.006858873844146729,
0.006821915149688721,
0.007235993862152099,
0.0070518341064453125,
0.006620794773101807,
0.006600634098052978,
0.006670875072479248,
0.006627034187316894,
0.006628475189208984,
0.007589273929595948,
0.0067844738960266115,
0.006899835109710694,
0.006644633769989014,
0.0066166348457336426,
0.006854713916778565,
0.0065996751785278324,
0.0066215949058532715,
0.006782393932342529,
0.007182553768157959,
0.007015034198760987,
0.006600794792175293,
0.0068387150764465336,
0.006801595211029052,
0.006605114936828613,
0.007331833839416504,
0.007396793842315673,
0.007391833782196045,
0.007258234024047852,
0.007342874050140381,
0.007339993953704834,
0.00727855396270752,
0.007473114013671875,
0.007378873825073243,
0.007717752933502197,
0.007344793796539306,
0.007219194889068603,
0.007181273937225342,
0.007547194004058838,
0.0076561541557312015,
0.007566554069519043,
0.0074047942161560056,
0.007513274192810058,
0.007422714233398437,
0.007361914157867432,
0.007132954120635986,
0.007755353927612305,
0.0077719931602478025,
0.007466393947601319,
0.007608473777770996,
0.008177112579345704,
0.007501433849334717,
0.0074291138648986815,
0.007387033939361572,
0.0074505538940429685,
0.00742095422744751,
0.007380474090576172,
0.007356473922729492,
0.007398074150085449,
0.007364473819732666,
0.007296954154968262,
0.007392154216766357,
0.007468153953552246,
0.007395994186401367,
0.007389753818511963,
0.007384314060211182,
0.007314074039459229,
0.0078076739311218266,
0.0076193537712097165,
0.007645273208618164,
0.00762895393371582,
0.007623834133148193,
0.007692314147949218,
0.0076401538848876955,
0.00760463285446167,
0.007627513885498047,
0.007616794109344483,
0.007610232830047608,
0.007613274097442627,
0.0076163139343261715
]
},
"throughput": {
"unit": "samples/s",
"value": 136.33330915580038
},
"energy": null,
"efficiency": null
}
}
}