IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
6474bc5
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "5", | |
"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, | |
"num_choices": 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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"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_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1115.213824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 6071.218176, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.10400459289550781 | |
], | |
"count": 1, | |
"total": 0.10400459289550781, | |
"mean": 0.10400459289550781, | |
"p50": 0.10400459289550781, | |
"p90": 0.10400459289550781, | |
"p95": 0.10400459289550781, | |
"p99": 0.10400459289550781, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1252.245504, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 296572.08832, | |
"max_reserved": 796.91776, | |
"max_allocated": 748.595712 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.013408292770385742, | |
0.013231972694396972, | |
0.013378053665161134, | |
0.013172933578491211, | |
0.013283973693847656, | |
0.013204773902893067, | |
0.01358781337738037, | |
0.013252613067626953, | |
0.013425892829895019, | |
0.01328813362121582, | |
0.013396613121032715, | |
0.013205413818359374, | |
0.013575013160705567, | |
0.01327469253540039, | |
0.013433093070983887, | |
0.013281893730163575, | |
0.01343901252746582, | |
0.013337413787841796, | |
0.013446852684020997, | |
0.013227652549743653, | |
0.013283333778381347, | |
0.013256772994995118, | |
0.013205574035644532, | |
0.013602852821350098, | |
0.01324653434753418, | |
0.013261734008789062, | |
0.013286053657531738, | |
0.013313573837280273, | |
0.013586532592773438, | |
0.01332813262939453, | |
0.014990850448608399, | |
0.0148911714553833, | |
0.01494477081298828, | |
0.013905092239379883, | |
0.014175332069396973, | |
0.014389410972595214, | |
0.014151012420654297, | |
0.013987651824951172, | |
0.014175492286682129, | |
0.013719972610473632, | |
0.013539492607116699, | |
0.013279653549194336, | |
0.013287013053894042, | |
0.013311814308166504, | |
0.013308452606201173, | |
0.013661252975463866, | |
0.013294053077697755, | |
0.013325254440307617, | |
0.013318372726440429, | |
0.013305253982543945, | |
0.013677412033081055, | |
0.01331373405456543, | |
0.01334829330444336, | |
0.013344134330749512, | |
0.01332077407836914, | |
0.01365501308441162, | |
0.013357413291931153, | |
0.013353572845458985, | |
0.013328133583068847, | |
0.013684613227844238, | |
0.013350852966308594, | |
0.013643813133239747, | |
0.013385892868041992, | |
0.013713573455810547, | |
0.013337093353271484, | |
0.013358372688293457, | |
0.013351014137268066, | |
0.01363325309753418, | |
0.013324772834777832, | |
0.013386213302612304, | |
0.013586852073669433, | |
0.01335245418548584, | |
0.013401573181152343, | |
0.013639013290405273 | |
], | |
"count": 74, | |
"total": 1.0000324077606197, | |
"mean": 0.013513951456224594, | |
"p50": 0.013353013515472412, | |
"p90": 0.013962883949279786, | |
"p95": 0.014250363826751707, | |
"p99": 0.014957212314605712, | |
"stdev": 0.00038416705669121074, | |
"stdev_": 2.8427440925449043 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.99520380686212 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |