IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3eff4dd verified
raw
history blame
11.4 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": "593b48b93d71bee250bc8db76a7279c4b590c2bb",
"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": 898.56,
"max_global_vram": 1708.58496,
"max_process_vram": 44314.984448,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1601787109375,
"mean": 7.1601787109375,
"stdev": 0.0,
"p50": 7.1601787109375,
"p90": 7.1601787109375,
"p95": 7.1601787109375,
"p99": 7.1601787109375,
"values": [
7.1601787109375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.20416,
"max_global_vram": 1772.126208,
"max_process_vram": 224920.735744,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0005458097457887,
"mean": 0.007250331954679627,
"stdev": 0.00035220156803505287,
"p50": 0.007081454038619995,
"p90": 0.0077901917934417725,
"p95": 0.00783492784500122,
"p99": 0.007977316470146179,
"values": [
0.007861295223236083,
0.007732975959777832,
0.007536174774169922,
0.007630575180053711,
0.007687055110931397,
0.007697134971618652,
0.007561933994293213,
0.007603055000305176,
0.007478573799133301,
0.0074556941986083985,
0.007670575141906738,
0.0073968138694763185,
0.0073832149505615235,
0.0073216137886047365,
0.007253294944763184,
0.007317934036254883,
0.007205934047698975,
0.007521615028381347,
0.0075452947616577145,
0.007489134788513183,
0.007716654777526855,
0.007430254936218262,
0.007471055030822754,
0.007502894878387451,
0.007561453819274902,
0.009039377212524414,
0.007624176025390625,
0.0073662538528442385,
0.007474414825439453,
0.007553454875946045,
0.007368974208831787,
0.007195854187011718,
0.007430254936218262,
0.007857134819030762,
0.007850096225738526,
0.007852974891662598,
0.007833775997161865,
0.007815694808959961,
0.007793295860290528,
0.007794895172119141,
0.007775054931640625,
0.007790095806121826,
0.00784145498275757,
0.00779041576385498,
0.007795215129852295,
0.007808176040649414,
0.007682734966278076,
0.007425293922424316,
0.007254574775695801,
0.0075019350051879884,
0.007089134216308594,
0.006980813026428222,
0.006922413825988769,
0.007251373767852783,
0.007079214096069336,
0.00703313398361206,
0.006921453952789307,
0.00702609395980835,
0.006995374202728271,
0.007008173942565918,
0.0069867329597473144,
0.0070390539169311525,
0.006924973964691162,
0.006990573883056641,
0.007001294136047363,
0.007070893764495849,
0.007028493881225586,
0.006983053207397461,
0.006993614196777344,
0.007026733875274659,
0.007006733894348144,
0.007046733856201172,
0.006933454036712646,
0.007018894195556641,
0.007234414100646972,
0.006976654052734375,
0.006971852779388428,
0.006966733932495117,
0.00695729398727417,
0.006910093784332275,
0.006986252784729004,
0.006974093914031983,
0.006988014221191406,
0.006940814018249511,
0.007007053852081299,
0.007013773918151856,
0.006969933032989502,
0.0070483341217041015,
0.007003853797912598,
0.007018733978271485,
0.007005774021148682,
0.007010573863983154,
0.006958733081817627,
0.006986093997955322,
0.007028654098510743,
0.007035533905029297,
0.006995374202728271,
0.0070836939811706546,
0.007007373809814453,
0.0070195341110229495,
0.007052013874053955,
0.007513935089111328,
0.007435853958129883,
0.007334575176239013,
0.007391533851623535,
0.0074830551147460934,
0.008045455932617188,
0.007357775211334228,
0.0072832140922546385,
0.007175693988800049,
0.007193455219268799,
0.007350734233856201,
0.007332815170288086,
0.007340494155883789,
0.007150253772735596,
0.007199053764343262,
0.007023853778839111,
0.006929773807525635,
0.00685361385345459,
0.006913773059844971,
0.006896014213562012,
0.006892814159393311,
0.006927372932434082,
0.006940494060516358,
0.0069228940010070805,
0.006921772956848145,
0.00689777421951294,
0.006901453971862793,
0.006840651988983155,
0.006896493911743164,
0.00683793306350708,
0.00694145393371582,
0.0068563342094421385,
0.006928812980651855,
0.0068752140998840335,
0.006922733783721924,
0.006942732810974121,
0.006836493015289307
]
},
"throughput": {
"unit": "samples/s",
"value": 137.9247193439969
},
"energy": null,
"efficiency": null
}
}
}