IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ec9abfd verified
raw
history blame
13.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.2",
"transformers_commit": null,
"accelerate_version": "0.33.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.764864,
"max_global_vram": 1218.9696,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1384619140625,
"mean": 7.1384619140625,
"stdev": 0.0,
"p50": 7.1384619140625,
"p90": 7.1384619140625,
"p95": 7.1384619140625,
"p99": 7.1384619140625,
"values": [
7.1384619140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.215828445222643e-07,
"ram": 4.890819960344098e-07,
"gpu": 1.680556899999637e-06,
"total": 3.091221740556311e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.807936,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 181,
"total": 1.0010175352096555,
"mean": 0.00553048361994285,
"stdev": 0.00020432554969249402,
"p50": 0.005565440177917481,
"p90": 0.005766143798828125,
"p95": 0.005811200141906738,
"p99": 0.005925683403015136,
"values": [
0.0057077760696411135,
0.005811200141906738,
0.005629951953887939,
0.005718016147613526,
0.005867519855499268,
0.005843967914581299,
0.005786623954772949,
0.0057825279235839844,
0.005876736164093017,
0.005801983833312988,
0.005733376026153565,
0.005752831935882568,
0.005764095783233642,
0.005767168045043946,
0.00567193603515625,
0.005588992118835449,
0.0055285758972167965,
0.005495808124542236,
0.005669888019561768,
0.00566476821899414,
0.005700607776641845,
0.005735424041748047,
0.005755904197692871,
0.005724160194396972,
0.005706751823425293,
0.005640192031860352,
0.005606400012969971,
0.005733376026153565,
0.005753856182098388,
0.005708799839019775,
0.005727231979370117,
0.005750783920288086,
0.005793791770935058,
0.005699584007263184,
0.00566374397277832,
0.0056852478981018065,
0.005832704067230224,
0.005822463989257813,
0.00572211217880249,
0.005618688106536865,
0.005631999969482422,
0.005505023956298828,
0.005526527881622314,
0.005571584224700928,
0.005578752040863037,
0.005571584224700928,
0.005565440177917481,
0.005690368175506591,
0.005620736122131348,
0.005656576156616211,
0.005766143798828125,
0.006333439826965332,
0.005807104110717773,
0.005758975982666016,
0.00597811222076416,
0.005745664119720459,
0.005669888019561768,
0.0055582718849182125,
0.005699584007263184,
0.005689343929290771,
0.005912576198577881,
0.0058009600639343266,
0.005686272144317627,
0.005691391944885254,
0.005585919857025146,
0.005565440177917481,
0.00563097620010376,
0.00561356782913208,
0.00566476821899414,
0.005742591857910156,
0.005668863773345947,
0.005611519813537597,
0.005636096000671387,
0.005617663860321045,
0.005616640090942383,
0.0057118721008300784,
0.005610496044158936,
0.00561356782913208,
0.005620736122131348,
0.005690368175506591,
0.005810175895690918,
0.005731328010559082,
0.0057190399169921875,
0.005756927967071533,
0.005747712135314941,
0.005690368175506591,
0.00566374397277832,
0.00571289587020874,
0.00563097620010376,
0.005549056053161621,
0.005627903938293457,
0.005607423782348633,
0.0055797758102417,
0.005532671928405761,
0.005473279953002929,
0.005381120204925537,
0.005571584224700928,
0.005835775852203369,
0.005458943843841553,
0.005386240005493164,
0.00538316822052002,
0.005302271842956543,
0.0054733438491821286,
0.005443583965301513,
0.005462016105651855,
0.005482495784759522,
0.005451776027679443,
0.005499904155731201,
0.0055582718849182125,
0.005734399795532226,
0.005463039875030518,
0.005355519771575928,
0.0053309440612792965,
0.00531763219833374,
0.005393407821655274,
0.005299200057983398,
0.005299200057983398,
0.005332992076873779,
0.005325823783874512,
0.005336063861846924,
0.005361663818359375,
0.005720064163208007,
0.005280767917633057,
0.005281792163848877,
0.005292031764984131,
0.005307392120361328,
0.005303423881530761,
0.005272575855255127,
0.005291007995605469,
0.005329919815063477,
0.005296127796173096,
0.0052930560111999515,
0.005305344104766845,
0.005277696132659912,
0.005319680213928223,
0.00532480001449585,
0.0053002238273620605,
0.005287936210632324,
0.005281792163848877,
0.005252096176147461,
0.00535756778717041,
0.005381120204925537,
0.005275648117065429,
0.005258240222930908,
0.005288959980010987,
0.005261312007904053,
0.005312511920928955,
0.0053043198585510255,
0.0053043198585510255,
0.005299200057983398,
0.0053534722328186036,
0.005276671886444092,
0.005291007995605469,
0.005345280170440674,
0.005291007995605469,
0.005312511920928955,
0.005329919815063477,
0.005307392120361328,
0.00536678409576416,
0.0053002238273620605,
0.005325823783874512,
0.005294079780578613,
0.005325823783874512,
0.005314559936523438,
0.005320703983306885,
0.005455872058868408,
0.005342207908630371,
0.005257215976715088,
0.005258240222930908,
0.005232639789581299,
0.0053012480735778805,
0.005268479824066162,
0.005344255924224854,
0.005288959980010987,
0.005287936210632324,
0.00552243185043335,
0.005345280170440674,
0.005262335777282715,
0.005325823783874512,
0.005275648117065429,
0.005296127796173096
]
},
"throughput": {
"unit": "samples/s",
"value": 180.816013339957
},
"energy": {
"unit": "kWh",
"cpu": 6.318113218385278e-08,
"ram": 3.454041767642863e-08,
"gpu": 1.293854462978741e-07,
"total": 2.2710699615815549e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4403210.895817617
}
}
}
}