IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3e39d0e
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": "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", | |
"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.0", | |
"optimum_benchmark_commit": "e65976e2695b67f37a76baa42b75347a3a733547", | |
"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": 1002.094592, | |
"max_global_vram": 1910.92736, | |
"max_process_vram": 247186.6368, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0033155698776244, | |
"mean": 0.007377320366747238, | |
"stdev": 0.0002927744585426644, | |
"p50": 0.007263366937637329, | |
"p90": 0.0077382481098175054, | |
"p95": 0.007938488006591797, | |
"p99": 0.00811887230873108, | |
"values": [ | |
0.0079339280128479, | |
0.007874567985534668, | |
0.007906248092651367, | |
0.007921288013458252, | |
0.008082088470458984, | |
0.007278246879577637, | |
0.007447527885437012, | |
0.007392326831817627, | |
0.0072280077934265136, | |
0.007263526916503906, | |
0.00722288703918457, | |
0.007383368015289307, | |
0.007215366840362549, | |
0.007249927043914795, | |
0.007203046798706055, | |
0.007201608180999756, | |
0.0073424072265625, | |
0.0072222471237182615, | |
0.007214568138122559, | |
0.007212646961212158, | |
0.007245286941528321, | |
0.007278728008270264, | |
0.007325606822967529, | |
0.007219367027282715, | |
0.00726256799697876, | |
0.007263526916503906, | |
0.0072680068016052245, | |
0.007242887020111084, | |
0.007353928089141846, | |
0.007500166893005371, | |
0.007552647113800049, | |
0.007442567825317383, | |
0.0074337668418884275, | |
0.007463528156280518, | |
0.00736864709854126, | |
0.007289607048034668, | |
0.007287528038024902, | |
0.007283047199249267, | |
0.007263206958770752, | |
0.007253128051757813, | |
0.007190727233886719, | |
0.007225606918334961, | |
0.009043688774108887, | |
0.007865127086639404, | |
0.007952167987823486, | |
0.0075620880126953125, | |
0.007376488208770752, | |
0.0076840071678161625, | |
0.00767792797088623, | |
0.007463208198547363, | |
0.007801927089691162, | |
0.0075571279525756836, | |
0.007569608211517334, | |
0.007581127166748047, | |
0.007318568229675293, | |
0.007481926918029785, | |
0.007625288009643555, | |
0.007457927227020263, | |
0.007394408226013184, | |
0.007574886798858643, | |
0.007592967987060547, | |
0.007658567905426026, | |
0.007437606811523437, | |
0.0074960079193115235, | |
0.00734192705154419, | |
0.007462728023529053, | |
0.00754608678817749, | |
0.0073576078414917, | |
0.007347527027130127, | |
0.007768328189849853, | |
0.007708168029785157, | |
0.007629127025604248, | |
0.007521448135375977, | |
0.007209446907043457, | |
0.007162888050079346, | |
0.00712464714050293, | |
0.007142726898193359, | |
0.007120166778564453, | |
0.00716944694519043, | |
0.007102887153625489, | |
0.007156328201293945, | |
0.007174887180328369, | |
0.007168966770172119, | |
0.007301766872406006, | |
0.007154088020324707, | |
0.007193286895751953, | |
0.007174567222595215, | |
0.007186246871948242, | |
0.007142087936401367, | |
0.007172327041625976, | |
0.0071304068565368655, | |
0.007152807235717773, | |
0.0071451268196105954, | |
0.007150728225708008, | |
0.0072222471237182615, | |
0.007139206886291504, | |
0.007140807151794434, | |
0.007177608013153076, | |
0.00713504695892334, | |
0.007120966911315918, | |
0.007173286914825439, | |
0.00721632719039917, | |
0.007155848026275635, | |
0.007167366981506348, | |
0.007129446983337402, | |
0.007210247039794922, | |
0.007162248134613037, | |
0.007148006916046143, | |
0.007146727085113525, | |
0.007148966789245605, | |
0.007182887077331543, | |
0.0072329678535461425, | |
0.007196006774902344, | |
0.007706727981567383, | |
0.008097448348999024, | |
0.008064807891845703, | |
0.00813040828704834, | |
0.00808352756500244, | |
0.007596648216247558, | |
0.007582087993621826, | |
0.007612166881561279, | |
0.007572648048400879, | |
0.007585127830505371, | |
0.0074118471145629885, | |
0.007223526954650879, | |
0.007155848026275635, | |
0.007109927177429199, | |
0.007103847026824951, | |
0.007100327014923096, | |
0.007137126922607422, | |
0.007114407062530518, | |
0.007120007991790771, | |
0.0071420869827270505, | |
0.007124007225036621, | |
0.007123527050018311, | |
0.007109926223754883 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.55057260457752 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |