IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f9d832e verified
raw
history blame
11.4 kB
{
"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.1",
"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": 877.350912,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 156,
"total": 1.0051116461753842,
"mean": 0.0064430233729191305,
"stdev": 0.0001888025431093754,
"p50": 0.006437376022338867,
"p90": 0.006568448066711426,
"p95": 0.006830591797828674,
"p99": 0.007002572846412658,
"values": [
0.007527423858642578,
0.0069928960800170895,
0.006876160144805908,
0.006807551860809326,
0.00689356803894043,
0.0068351998329162595,
0.006856704235076904,
0.006710271835327148,
0.006829055786132812,
0.00672870397567749,
0.007014400005340577,
0.006887423992156983,
0.006336512088775635,
0.006311935901641846,
0.0063272957801818845,
0.006316031932830811,
0.0062997121810913085,
0.006308864116668702,
0.006299647808074951,
0.006440991878509521,
0.0063211522102355954,
0.006288383960723877,
0.006326272010803223,
0.006284287929534912,
0.006318079948425293,
0.006316031932830811,
0.0063201279640197755,
0.006315008163452148,
0.006306816101074219,
0.00632422399520874,
0.006294528007507324,
0.006309887886047363,
0.00632422399520874,
0.006278143882751465,
0.006288383960723877,
0.0063170561790466305,
0.006240255832672119,
0.00624128007888794,
0.006468607902526856,
0.006490111827850342,
0.006456319808959961,
0.006504447937011719,
0.006472703933715821,
0.006458367824554443,
0.006490111827850342,
0.0065177597999572755,
0.0065443840026855465,
0.006561791896820069,
0.006552576065063476,
0.006542335987091064,
0.006556672096252441,
0.00652288007736206,
0.006557695865631104,
0.006535168170928955,
0.006554624080657959,
0.006555647850036621,
0.006564864158630371,
0.006534143924713135,
0.00657919979095459,
0.006534143924713135,
0.006567935943603515,
0.006574079990386963,
0.006568960189819336,
0.006556672096252441,
0.006534143924713135,
0.006567935943603515,
0.006562816143035889,
0.006545407772064209,
0.00653926420211792,
0.0065484800338745115,
0.006553599834442139,
0.006533120155334473,
0.0065484800338745115,
0.0064839677810668945,
0.006524928092956543,
0.006512639999389648,
0.00653004789352417,
0.006536191940307618,
0.006518784046173095,
0.006518784046173095,
0.006540287971496582,
0.006499328136444092,
0.006537248134613037,
0.006556672096252441,
0.006421504020690918,
0.006471712112426758,
0.006419456005096436,
0.0064133119583129885,
0.006445055961608887,
0.006457344055175781,
0.006428671836853027,
0.006406208038330078,
0.006412384033203125,
0.006416384220123291,
0.006416384220123291,
0.00643993616104126,
0.006453248023986816,
0.006466559886932373,
0.006500351905822754,
0.0064133119583129885,
0.006395904064178467,
0.0063907837867736815,
0.006433792114257812,
0.0067051520347595215,
0.006457344055175781,
0.0065372161865234375,
0.006546432018280029,
0.0065136637687683106,
0.006560768127441406,
0.006545407772064209,
0.006432767868041992,
0.006458367824554443,
0.006450175762176514,
0.006496255874633789,
0.006489088058471679,
0.00653004789352417,
0.006423552036285401,
0.0064102401733398436,
0.006434815883636475,
0.006262784004211426,
0.006213632106781006,
0.006236159801483154,
0.006227968215942382,
0.006237215995788574,
0.006232063770294189,
0.0062494721412658695,
0.006252543926239014,
0.006179840087890625,
0.006239232063293457,
0.006220799922943115,
0.006253568172454834,
0.006228991985321045,
0.006299647808074951,
0.006255616188049316,
0.006275072097778321,
0.006278143882751465,
0.00628223991394043,
0.006281216144561768,
0.0062863359451293946,
0.00628223991394043,
0.0062791681289672855,
0.006260735988616943,
0.006294528007507324,
0.00626585578918457,
0.0062679038047790524,
0.006266880035400391,
0.0062863359451293946,
0.00620851182937622,
0.006251520156860352,
0.006236159801483154,
0.006237184047698975,
0.006252543926239014,
0.006261760234832763,
0.0062259202003479,
0.006255616188049316,
0.0062638077735900875
]
},
"throughput": {
"unit": "samples/s",
"value": 155.20663857951078
},
"energy": {
"unit": "kWh",
"cpu": 7.429690307213201e-08,
"ram": 4.0619414419325044e-08,
"gpu": 1.3954004218749748e-07,
"total": 2.5445635967895455e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3929946.971110062
}
}
}
}