
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
69f5273
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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": {}, | |
"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": 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.12", | |
"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": 820.928512, | |
"max_global_vram": 1410.859008, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0808919677734375 | |
], | |
"count": 1, | |
"total": 0.0808919677734375, | |
"mean": 0.0808919677734375, | |
"p50": 0.0808919677734375, | |
"p90": 0.0808919677734375, | |
"p95": 0.0808919677734375, | |
"p99": 0.0808919677734375, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.0001069029752062506, | |
"ram": 5.8560435808728395e-05, | |
"gpu": 0.0001404456679120012, | |
"total": 0.00030590907892698023 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1208.5248, | |
"max_global_vram": 1444.41344, | |
"max_process_vram": 0.0, | |
"max_reserved": 796.91776, | |
"max_allocated": 757.115392 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.01552998447418213, | |
0.015049728393554687, | |
0.01508351993560791, | |
0.015106047630310059, | |
0.014907391548156738, | |
0.015094783782958985, | |
0.015176704406738281, | |
0.015082367897033691, | |
0.014590975761413574, | |
0.014944255828857422, | |
0.014915583610534668, | |
0.014755840301513673, | |
0.014631936073303223, | |
0.01485209560394287, | |
0.014840831756591797, | |
0.015225855827331543, | |
0.015371264457702637, | |
0.015223711967468261, | |
0.015152128219604492, | |
0.01549721622467041, | |
0.015370240211486816, | |
0.015127552032470704, | |
0.015014911651611328, | |
0.014989248275756836, | |
0.015046655654907226, | |
0.015674367904663086, | |
0.015599616050720215, | |
0.015370240211486816, | |
0.015104000091552734, | |
0.0149749755859375, | |
0.015238143920898438, | |
0.014477312088012695, | |
0.014558143615722656, | |
0.014922752380371093, | |
0.014809087753295898, | |
0.014971872329711915, | |
0.01488691234588623, | |
0.015443967819213868, | |
0.01500057601928711, | |
0.014870528221130372, | |
0.014930944442749023, | |
0.014696576118469239, | |
0.015032256126403808, | |
0.014943103790283203, | |
0.014502943992614746, | |
0.014683135986328125, | |
0.014736384391784667, | |
0.014452735900878906, | |
0.014516223907470703, | |
0.014520319938659668, | |
0.014957568168640138, | |
0.01530470371246338, | |
0.014823424339294433, | |
0.014832639694213867, | |
0.014049247741699218, | |
0.013940735816955567, | |
0.01399295997619629, | |
0.01437388801574707, | |
0.014402560234069824, | |
0.014468095779418945, | |
0.014537728309631348, | |
0.014582783699035644, | |
0.014427136421203614, | |
0.014412799835205077, | |
0.014322688102722168, | |
0.01426534366607666, | |
0.014247967720031738, | |
0.014419967651367188 | |
], | |
"count": 68, | |
"total": 1.0098601913452145, | |
"mean": 0.014850885166841394, | |
"p50": 0.014911487579345703, | |
"p90": 0.015370240211486816, | |
"p95": 0.01547857928276062, | |
"p99": 0.015624284162521361, | |
"stdev": 0.0003864747598700375, | |
"stdev_": 2.60236851560166 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.67210725361605 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6871344585289056e-07, | |
"ram": 9.219646260962569e-08, | |
"gpu": 3.9354882814084846e-07, | |
"total": 6.544587366033649e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3055960.4267489533 | |
} | |
} | |
} | |
} |