IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c12efc3 verified
raw
history blame
13.7 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.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": 714.252288,
"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.15751416015625,
"mean": 7.15751416015625,
"stdev": 0.0,
"p50": 7.15751416015625,
"p90": 7.15751416015625,
"p95": 7.15751416015625,
"p99": 7.15751416015625,
"values": [
7.15751416015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.035436643494501e-07,
"ram": 4.795358623780998e-07,
"gpu": 1.7050013640003414e-06,
"total": 3.0880808907278915e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.422336,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.0028114261627201,
"mean": 0.005509952891003954,
"stdev": 0.00033722265676814305,
"p50": 0.005492735862731933,
"p90": 0.005729894208908081,
"p95": 0.005881702375411987,
"p99": 0.006631045207977292,
"values": [
0.007607295989990235,
0.007737343788146973,
0.006395904064178467,
0.005839871883392334,
0.005758975982666016,
0.005806079864501953,
0.005693439960479736,
0.005702655792236328,
0.0056483840942382815,
0.005598207950592041,
0.005658624172210694,
0.005659647941589355,
0.005668863773345947,
0.005602303981781006,
0.005504000186920166,
0.005519360065460205,
0.0055316481590271,
0.005594111919403076,
0.0056145920753479005,
0.005665791988372803,
0.005725183963775635,
0.0056442880630493165,
0.0057487359046936035,
0.005609471797943116,
0.005553152084350586,
0.005591040134429932,
0.005649407863616943,
0.005694464206695556,
0.005636096000671387,
0.0056780800819396975,
0.005656576156616211,
0.005645311832427978,
0.005959680080413818,
0.005624832153320313,
0.00570470380783081,
0.005642240047454834,
0.005654528141021729,
0.005646336078643799,
0.005593088150024414,
0.005517312049865723,
0.0055101442337036136,
0.005563392162322998,
0.005581823825836182,
0.0055848960876464845,
0.005563392162322998,
0.005726208209991455,
0.005645311832427978,
0.005587967872619629,
0.005656576156616211,
0.005760000228881836,
0.005689343929290771,
0.005723135948181152,
0.005669888019561768,
0.005669888019561768,
0.00556441593170166,
0.005547008037567139,
0.005665791988372803,
0.00562278413772583,
0.005706751823425293,
0.005611519813537597,
0.005626880168914795,
0.005687295913696289,
0.005568511962890625,
0.005505023956298828,
0.0055623679161071774,
0.005570559978485107,
0.005590015888214111,
0.005633024215698243,
0.005650432109832764,
0.00552345609664917,
0.005549056053161621,
0.005611519813537597,
0.00555622386932373,
0.005793791770935058,
0.005600255966186523,
0.00557260799407959,
0.005666816234588623,
0.005683199882507324,
0.005750783920288086,
0.005670911788940429,
0.005735424041748047,
0.005484543800354004,
0.005431295871734619,
0.005445631980895996,
0.0053944320678710935,
0.005387263774871826,
0.005412864208221436,
0.005256192207336426,
0.005319680213928223,
0.005392384052276611,
0.005299200057983398,
0.005244927883148193,
0.005239808082580567,
0.005067776203155518,
0.005180416107177735,
0.005280767917633057,
0.005272575855255127,
0.005098495960235596,
0.005048319816589355,
0.005075967788696289,
0.005040128231048584,
0.005059584140777588,
0.005070847988128662,
0.005295104026794434,
0.005500927925109863,
0.00547430419921875,
0.005599232196807862,
0.0055623679161071774,
0.005730303764343261,
0.0063170561790466305,
0.006402048110961914,
0.006376448154449463,
0.006299647808074951,
0.006250495910644531,
0.005883903980255127,
0.005284863948822022,
0.005338111877441406,
0.005303296089172363,
0.005283840179443359,
0.005341184139251709,
0.005276671886444092,
0.005279744148254394,
0.005322751998901368,
0.00530841588973999,
0.005322751998901368,
0.0053678078651428224,
0.0052971520423889164,
0.005299200057983398,
0.0053340158462524415,
0.0052899842262268066,
0.005280767917633057,
0.005339136123657226,
0.005279744148254394,
0.005277696132659912,
0.005327871799468994,
0.005274623870849609,
0.00531660795211792,
0.0053534722328186036,
0.0053012480735778805,
0.0052899842262268066,
0.005314559936523438,
0.005288959980010987,
0.005279744148254394,
0.005319680213928223,
0.005284863948822022,
0.005295104026794434,
0.005331967830657959,
0.005269504070281982,
0.005261312007904053,
0.005265408039093018,
0.00530841588973999,
0.005277696132659912,
0.005292031764984131,
0.005348351955413819,
0.005288959980010987,
0.005274623870849609,
0.005321728229522705,
0.005325823783874512,
0.00531763219833374,
0.005306367874145508,
0.005295135974884033,
0.005295104026794434,
0.00532480001449585,
0.005285888195037842,
0.0052930560111999515,
0.0053309440612792965,
0.005288959980010987,
0.005283840179443359,
0.005339136123657226,
0.005303296089172363,
0.005283840179443359,
0.005319680213928223,
0.0052971520423889164,
0.005280767917633057,
0.005322751998901368,
0.005318655967712403,
0.005255167961120606,
0.005299200057983398,
0.005210112094879151,
0.0051660799980163576,
0.0052336640357971195,
0.005185535907745361
]
},
"throughput": {
"unit": "samples/s",
"value": 181.4897549546549
},
"energy": {
"unit": "kWh",
"cpu": 5.9281027151478666e-08,
"ram": 3.2409949099550304e-08,
"gpu": 1.232737097300006e-07,
"total": 2.1496468598102952e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4651926.875506655
}
}
}
}