IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d19a2b3
verified
{ | |
"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": "378d8dddb2c87c406ac8d3231c1c44d5a290b874", | |
"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": 897.961984, | |
"max_global_vram": 3436.21632, | |
"max_process_vram": 44173.418496, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.26792724609375, | |
"mean": 7.26792724609375, | |
"stdev": 0.0, | |
"p50": 7.26792724609375, | |
"p90": 7.26792724609375, | |
"p95": 7.26792724609375, | |
"p99": 7.26792724609375, | |
"values": [ | |
7.26792724609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.22112, | |
"max_global_vram": 3499.757568, | |
"max_process_vram": 222084.575232, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0029661011695856, | |
"mean": 0.0077749310168184985, | |
"stdev": 0.00023227042402117792, | |
"p50": 0.007748792171478272, | |
"p90": 0.007824855995178221, | |
"p95": 0.007935095119476317, | |
"p99": 0.008368214836120606, | |
"values": [ | |
0.007937591075897216, | |
0.007952311038970948, | |
0.007912150859832764, | |
0.00799183177947998, | |
0.00793135118484497, | |
0.007905910968780518, | |
0.007834712028503417, | |
0.007854870796203613, | |
0.0077593522071838375, | |
0.007773110866546631, | |
0.007987030982971191, | |
0.00777231216430664, | |
0.007776151180267334, | |
0.007761911869049072, | |
0.007752470970153809, | |
0.007777751922607422, | |
0.007762391090393067, | |
0.007822391986846923, | |
0.007771191120147705, | |
0.007788792133331299, | |
0.007698551177978515, | |
0.007780632019042969, | |
0.007737431049346924, | |
0.007772952079772949, | |
0.007740790843963623, | |
0.007778711795806885, | |
0.0077662310600280764, | |
0.007767831802368164, | |
0.0077867112159729, | |
0.007774231910705566, | |
0.007752470970153809, | |
0.007702392101287842, | |
0.010158388137817383, | |
0.008207510948181153, | |
0.007750711917877197, | |
0.007800951004028321, | |
0.0076625518798828125, | |
0.007841111183166504, | |
0.007729752063751221, | |
0.007664311885833741, | |
0.007618391036987305, | |
0.007653111934661865, | |
0.007679670810699463, | |
0.007717751979827881, | |
0.007714392185211182, | |
0.007702392101287842, | |
0.007756951808929443, | |
0.007619030952453613, | |
0.0077212719917297366, | |
0.007666231155395508, | |
0.007694712162017822, | |
0.007664792060852051, | |
0.007687510967254639, | |
0.007698872089385986, | |
0.007797591209411621, | |
0.007731832027435302, | |
0.007681750774383545, | |
0.007742392063140869, | |
0.007751511096954346, | |
0.007706232070922851, | |
0.007684950828552246, | |
0.007708792209625244, | |
0.0077219119071960446, | |
0.007798551082611084, | |
0.007678232192993164, | |
0.007736791133880616, | |
0.00777567195892334, | |
0.007703831195831299, | |
0.007606552124023437, | |
0.007746870994567871, | |
0.007759031772613526, | |
0.007748150825500488, | |
0.007719992160797119, | |
0.007786870956420899, | |
0.0077047920227050785, | |
0.007748472213745117, | |
0.007650870800018311, | |
0.007758071899414062, | |
0.007750551223754883, | |
0.007777272224426269, | |
0.007770230770111084, | |
0.007756631851196289, | |
0.007792951107025147, | |
0.007817751884460449, | |
0.007749910831451416, | |
0.007800471782684326, | |
0.007797750949859619, | |
0.007818070888519288, | |
0.007785431861877442, | |
0.007768311023712158, | |
0.00774399185180664, | |
0.007665751934051513, | |
0.007675031185150147, | |
0.007715352058410644, | |
0.007737590789794922, | |
0.007723512172698975, | |
0.0077209510803222655, | |
0.007681911945343018, | |
0.007707030773162842, | |
0.0077500720024108885, | |
0.007724310874938965, | |
0.007748792171478272, | |
0.007776791095733642, | |
0.007757751941680908, | |
0.007684310913085937, | |
0.0076627120971679685, | |
0.008430710792541504, | |
0.007698071002960205, | |
0.007696311950683593, | |
0.007711990833282471, | |
0.007663832187652588, | |
0.007724472045898437, | |
0.007687671184539795, | |
0.007759511947631836, | |
0.0076921510696411136, | |
0.007749911785125733, | |
0.007714870929718017, | |
0.007713111877441406, | |
0.007715510845184326, | |
0.007765111923217774, | |
0.007716152191162109, | |
0.00777423095703125, | |
0.007723512172698975, | |
0.007751670837402344, | |
0.0077473511695861814, | |
0.007752631187438965, | |
0.007678071975708008, | |
0.007756630897521973, | |
0.007736792087554931 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.61850450336215 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |