
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
72dae14
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "token-classification", | |
"library": "transformers", | |
"model_type": "deberta-v2", | |
"model": "microsoft/deberta-v3-base", | |
"processor": "microsoft/deberta-v3-base", | |
"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": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.4256, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.607168 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 74, | |
"total": 1.0044415998458864, | |
"mean": 0.013573535133052516, | |
"stdev": 0.0008817712436058069, | |
"p50": 0.013554687976837159, | |
"p90": 0.01381642246246338, | |
"p95": 0.01406679058074951, | |
"p99": 0.0173749963569641, | |
"values": [ | |
0.019805183410644533, | |
0.016476160049438478, | |
0.014964735984802247, | |
0.013831168174743653, | |
0.0136878080368042, | |
0.013709312438964843, | |
0.01368166446685791, | |
0.013447168350219727, | |
0.013447168350219727, | |
0.013296607971191407, | |
0.01339084815979004, | |
0.01349120044708252, | |
0.013650943756103515, | |
0.013579263687133789, | |
0.013727744102478028, | |
0.013596672058105469, | |
0.013570048332214356, | |
0.013727744102478028, | |
0.013956095695495606, | |
0.013771776199340821, | |
0.013439999580383302, | |
0.013323264122009277, | |
0.013598719596862792, | |
0.013616127967834473, | |
0.013622271537780761, | |
0.013600768089294434, | |
0.01365401554107666, | |
0.01335807991027832, | |
0.013145088195800781, | |
0.013252608299255371, | |
0.013682687759399414, | |
0.013584383964538574, | |
0.01328326416015625, | |
0.013064191818237305, | |
0.013393983840942383, | |
0.013632512092590332, | |
0.01396735954284668, | |
0.01397862434387207, | |
0.014230527877807618, | |
0.013782015800476074, | |
0.013634559631347656, | |
0.013652992248535157, | |
0.013571071624755859, | |
0.013560832023620606, | |
0.01354854393005371, | |
0.01350864028930664, | |
0.013595647811889648, | |
0.013639679908752441, | |
0.013758463859558106, | |
0.01365503978729248, | |
0.013578240394592284, | |
0.013560832023620606, | |
0.0133887996673584, | |
0.013275135993957519, | |
0.013034496307373047, | |
0.013025279998779296, | |
0.012990464210510254, | |
0.013029376029968261, | |
0.013082624435424805, | |
0.013040639877319337, | |
0.012998720169067383, | |
0.013036543846130372, | |
0.013048831939697265, | |
0.012980223655700684, | |
0.012993535995483398, | |
0.013023232460021973, | |
0.013027327537536621, | |
0.01296281623840332, | |
0.013010944366455078, | |
0.013028287887573242, | |
0.013110272407531738, | |
0.01306726360321045, | |
0.013012991905212403, | |
0.012989439964294434 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 73.67277501385246 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.603169349936752e-07, | |
"ram": 8.764534477772694e-08, | |
"gpu": 3.399026743242781e-07, | |
"total": 5.878649540956803e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1701070.9569144363 | |
} | |
} | |
} | |
} |