IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c1fa9a6 verified
raw
history blame
9.7 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": "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": 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.2.1",
"optimum_benchmark_commit": "8320ce6f24eaa5099bd3b49d8d44c0c1368af14b",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.840128,
"max_global_vram": 938.917888,
"max_process_vram": 213765.767168,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 120,
"total": 1.00168864107132,
"mean": 0.008347405342260998,
"stdev": 0.0003420381273814119,
"p50": 0.008317439079284668,
"p90": 0.008534910011291504,
"p95": 0.008713374805450438,
"p99": 0.009577652044296265,
"values": [
0.009641279220581054,
0.008808637619018555,
0.008383838653564454,
0.008532157897949219,
0.01113887882232666,
0.008338558197021484,
0.008120319366455079,
0.008397278785705566,
0.00814063835144043,
0.008343679428100586,
0.008169598579406738,
0.008132798194885254,
0.00855967903137207,
0.00836975860595703,
0.008424477577209473,
0.008135198593139648,
0.00839711856842041,
0.008233278274536134,
0.008345278739929199,
0.008088639259338379,
0.008398238182067872,
0.00824799919128418,
0.008246559143066406,
0.008295357704162598,
0.008314879417419433,
0.008339838027954101,
0.008319998741149902,
0.008517759323120117,
0.008342397689819337,
0.008283039093017579,
0.008112639427185058,
0.008516958236694336,
0.008232318878173828,
0.008514558792114258,
0.008274718284606934,
0.008309279441833496,
0.008362078666687011,
0.008273757934570313,
0.008385119438171386,
0.008258238792419433,
0.008285118103027343,
0.008122078895568848,
0.0081027193069458,
0.008468157768249511,
0.008561758995056153,
0.008653597831726074,
0.008754718780517578,
0.008113919258117675,
0.008585277557373048,
0.008345599174499512,
0.008326719284057617,
0.00835407829284668,
0.008348319053649902,
0.008264478683471679,
0.008146557807922363,
0.008360638618469238,
0.008179518699645996,
0.008075998306274415,
0.008423998832702636,
0.008564638137817384,
0.008361919403076172,
0.008343198776245116,
0.008417597770690918,
0.008444318771362305,
0.008343198776245116,
0.00826287841796875,
0.008137598991394043,
0.008401119232177734,
0.008099998474121094,
0.007997599124908448,
0.008426718711853028,
0.008475997924804687,
0.008105599403381347,
0.008103678703308106,
0.008056797981262208,
0.008102079391479493,
0.008711198806762695,
0.008876957893371583,
0.008321599006652832,
0.008110718727111816,
0.00844255828857422,
0.008328159332275391,
0.008271518707275391,
0.008431037902832032,
0.008342079162597656,
0.008314397811889649,
0.00930639934539795,
0.00835567855834961,
0.008357438087463379,
0.007923998832702638,
0.00791007900238037,
0.00807119846343994,
0.008254399299621582,
0.008227519035339356,
0.00816751766204834,
0.008063999176025391,
0.008051198959350586,
0.00801567840576172,
0.008071199417114257,
0.00836591911315918,
0.008350237846374512,
0.008203518867492677,
0.008423679351806641,
0.008253758430480956,
0.008352639198303223,
0.008357599258422851,
0.00818223762512207,
0.008043679237365722,
0.008500638961791993,
0.008377118110656738,
0.008275519371032715,
0.008326559066772462,
0.008310558319091797,
0.008304638862609863,
0.008307839393615723,
0.008255197525024413,
0.008311199188232423,
0.008311359405517579,
0.00831119728088379,
0.008271999359130859
]
},
"throughput": {
"unit": "samples/s",
"value": 119.79770467563489
},
"energy": null,
"efficiency": null
}
}
}