IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d63de1d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1034.412032, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46031.265792, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.9249853515625, | |
"mean": 7.9249853515625, | |
"stdev": 0.0, | |
"p50": 7.9249853515625, | |
"p90": 7.9249853515625, | |
"p95": 7.9249853515625, | |
"p99": 7.9249853515625, | |
"values": [ | |
7.9249853515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1164.005376, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 244960.0512, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9894612150192262, | |
"mean": 0.007852866785866873, | |
"stdev": 0.0008031485887713514, | |
"p50": 0.007703531980514527, | |
"p90": 0.007904252290725708, | |
"p95": 0.00793961238861084, | |
"p99": 0.012441699028015136, | |
"values": [ | |
0.007810411930084228, | |
0.00770273208618164, | |
0.007737932205200196, | |
0.007939852237701417, | |
0.007937612056732178, | |
0.007899373054504395, | |
0.007854891777038573, | |
0.007896492004394531, | |
0.008314892768859864, | |
0.007704331874847412, | |
0.007818252086639403, | |
0.00786113214492798, | |
0.007739051818847657, | |
0.007688332080841065, | |
0.007656171798706055, | |
0.007660011768341065, | |
0.007647371768951416, | |
0.007610412120819092, | |
0.007690571784973145, | |
0.007646410942077637, | |
0.007759692192077637, | |
0.007761452198028564, | |
0.007746252059936523, | |
0.007681131839752197, | |
0.007649772167205811, | |
0.007710731983184814, | |
0.007749291896820068, | |
0.009772814750671387, | |
0.007649772167205811, | |
0.007635372161865234, | |
0.007639852046966553, | |
0.007647051811218262, | |
0.007689452171325684, | |
0.007650732040405273, | |
0.010644335746765137, | |
0.007465931892395019, | |
0.007486731052398682, | |
0.007481612205505371, | |
0.00747537088394165, | |
0.007520172119140625, | |
0.007616812229156494, | |
0.007656492233276367, | |
0.007681131839752197, | |
0.007678411960601807, | |
0.007773292064666748, | |
0.007673931121826172, | |
0.007689452171325684, | |
0.007646731853485108, | |
0.008290093421936035, | |
0.007902731895446777, | |
0.007896172046661378, | |
0.013995861053466797, | |
0.007756651878356934, | |
0.0078936128616333, | |
0.007895052909851074, | |
0.007864811897277831, | |
0.007877932071685792, | |
0.007876651763916016, | |
0.007880171775817872, | |
0.007863051891326904, | |
0.007852012157440186, | |
0.007877292156219483, | |
0.007883371829986573, | |
0.00791889190673828, | |
0.00790369176864624, | |
0.007901611804962159, | |
0.007900812149047852, | |
0.007903212070465088, | |
0.00791217279434204, | |
0.00793889284133911, | |
0.007885453224182128, | |
0.007880652904510498, | |
0.007904812812805176, | |
0.007891852855682373, | |
0.00787233304977417, | |
0.007850412845611571, | |
0.00789201307296753, | |
0.007922253131866456, | |
0.007718731880187988, | |
0.007729611873626709, | |
0.007671051025390625, | |
0.007751852035522461, | |
0.007621932029724121, | |
0.007704331874847412, | |
0.007651371955871582, | |
0.007846412181854247, | |
0.0077446517944335935, | |
0.0076590518951416015, | |
0.007560972213745117, | |
0.007504971027374268, | |
0.007641451835632324, | |
0.0076217718124389645, | |
0.007655372142791748, | |
0.0076376118659973145, | |
0.007712172031402588, | |
0.007648491859436035, | |
0.00751905107498169, | |
0.007669931888580323, | |
0.007701451778411865, | |
0.0075448122024536135, | |
0.007689611911773682, | |
0.00762385082244873, | |
0.007641932010650635, | |
0.00766081190109253, | |
0.007606252193450928, | |
0.007733131885528564, | |
0.007662571907043457, | |
0.00767601203918457, | |
0.013040820121765136, | |
0.0077289719581604, | |
0.0077532920837402345, | |
0.007724331855773926, | |
0.007635531902313232, | |
0.007794732093811035, | |
0.00767553186416626, | |
0.00751521110534668, | |
0.00748225212097168, | |
0.007474091053009033, | |
0.0074768118858337404, | |
0.007464810848236084, | |
0.007462891101837158, | |
0.007456491947174073, | |
0.007465450763702392, | |
0.007415532112121582, | |
0.007486411094665527, | |
0.007462252140045166 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.34203027609497 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |