IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fb3f96a verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": 2,
"sequence_length": 16
},
"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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 811.66336,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.0629749755859375
],
"count": 1,
"total": 0.0629749755859375,
"mean": 0.0629749755859375,
"p50": 0.0629749755859375,
"p90": 0.0629749755859375,
"p95": 0.0629749755859375,
"p99": 0.0629749755859375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1057.370112,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 452.872192
},
"latency": {
"unit": "s",
"values": [
0.006719488143920899,
0.006498303890228272,
0.006515711784362793,
0.006492159843444824,
0.006460415840148926,
0.006396927833557129,
0.006326272010803223,
0.006401023864746094,
0.006687744140625,
0.006492159843444824,
0.006608895778656006,
0.006606847763061524,
0.00643071985244751,
0.0064778242111206055,
0.006458367824554443,
0.0064102401733398436,
0.006395904064178467,
0.006475776195526123,
0.006453248023986816,
0.006446080207824707,
0.006402048110961914,
0.0064430079460144046,
0.006341631889343262,
0.006328320026397705,
0.006310912132263183,
0.0063610877990722655,
0.007331840038299561,
0.006452223777770996,
0.006371327877044678,
0.006359039783477783,
0.006311935901641846,
0.0064542717933654785,
0.006067200183868408,
0.0061562881469726565,
0.006462463855743408,
0.006459392070770263,
0.006482944011688232,
0.006466559886932373,
0.006730751991271973,
0.0065372161865234375,
0.006423552036285401,
0.006512639999389648,
0.006498303890228272,
0.0064174079895019534,
0.006597631931304931,
0.00652185583114624,
0.006463488101959228,
0.006462463855743408,
0.006415359973907471,
0.006460415840148926,
0.006435840129852295,
0.006325247764587402,
0.006354944229125976,
0.006323200225830078,
0.006418432235717773,
0.006397952079772949,
0.006569983959197998,
0.006614016056060791,
0.006627327919006347,
0.006462463855743408,
0.006412288188934326,
0.00638259220123291,
0.006402048110961914,
0.006127615928649902,
0.006097919940948486,
0.0064430079460144046,
0.006350944042205811,
0.006392831802368164,
0.006367231845855713,
0.006396927833557129,
0.006555647850036621,
0.006482944011688232,
0.006552576065063476,
0.006489088058471679,
0.006492159843444824,
0.006445184230804444,
0.006387712001800537,
0.006457344055175781,
0.006465536117553711,
0.006445055961608887,
0.006863872051239014,
0.00637337589263916,
0.006351871967315674,
0.0064849920272827145,
0.006351871967315674,
0.006339583873748779,
0.006268928050994873,
0.006242303848266601,
0.006252543926239014,
0.006372352123260498,
0.006281216144561768,
0.00608358383178711,
0.006206463813781738,
0.006148096084594727,
0.006191103935241699,
0.006094848155975342,
0.006231040000915527,
0.006264832019805908,
0.006196320056915283,
0.006242303848266601,
0.006237184047698975,
0.006998015880584717,
0.006434815883636475,
0.006195199966430664,
0.006194176197052002,
0.00617574405670166,
0.006179840087890625,
0.006181888103485108,
0.006198272228240966,
0.006131711959838867,
0.006145023822784424,
0.006102015972137451,
0.006158336162567139,
0.006094848155975342,
0.00606822395324707,
0.0060999679565429685,
0.006069248199462891,
0.006107135772705078,
0.006047743797302246,
0.006082560062408447,
0.006043647766113281,
0.006073344230651856,
0.00608358383178711,
0.006159359931945801,
0.005988351821899414,
0.006011903762817383,
0.006042623996734619,
0.006088704109191895,
0.006074368000030517,
0.006094848155975342,
0.006081535816192627,
0.006119423866271972,
0.006095871925354004,
0.0060928001403808595,
0.006086656093597412,
0.006081535816192627,
0.0060702719688415525,
0.006112256050109863,
0.006064127922058105,
0.0060590081214904785,
0.006121471881866455,
0.006093823909759521,
0.00606822395324707,
0.0060364799499511715,
0.0062494721412658695,
0.006049791812896729,
0.006085631847381592,
0.006049791812896729,
0.006011903762817383,
0.00597811222076416,
0.006061056137084961,
0.006046720027923584,
0.006080512046813965,
0.006020095825195313,
0.006072319984436035,
0.006039552211761475,
0.0060364799499511715,
0.006107135772705078,
0.006056960105895996
],
"count": 159,
"total": 1.0025669732093814,
"mean": 0.00630545266169422,
"p50": 0.006328320026397705,
"p90": 0.006516940593719483,
"p95": 0.006609407806396485,
"p99": 0.006920212459564207,
"stdev": 0.00021479285496121996,
"stdev_": 3.406462096941776
},
"throughput": {
"unit": "samples/s",
"value": 317.18579256808147
},
"energy": {
"unit": "kWh",
"cpu": 7.061309524572645e-08,
"ram": 3.845904762242507e-08,
"gpu": 1.5901722123077162e-07,
"total": 2.6808936409892316e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7460198.977763301
}
}
}
}