
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
77d6eea
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.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": 819.019776, | |
"max_global_vram": 1410.859008, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07947366333007813 | |
], | |
"count": 1, | |
"total": 0.07947366333007813, | |
"mean": 0.07947366333007813, | |
"p50": 0.07947366333007813, | |
"p90": 0.07947366333007813, | |
"p95": 0.07947366333007813, | |
"p99": 0.07947366333007813, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010602972442430503, | |
"ram": 5.8093828779032925e-05, | |
"gpu": 0.00014403372633800017, | |
"total": 0.00030815727954133814 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1206.587392, | |
"max_global_vram": 1444.41344, | |
"max_process_vram": 0.0, | |
"max_reserved": 796.91776, | |
"max_allocated": 757.115392 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.015178751945495606, | |
0.015483903884887695, | |
0.01559552001953125, | |
0.015610879898071289, | |
0.015607808113098144, | |
0.015539199829101562, | |
0.0155863037109375, | |
0.01596723175048828, | |
0.015943679809570312, | |
0.015860735893249513, | |
0.01547059154510498, | |
0.015953887939453126, | |
0.015477760314941406, | |
0.015500320434570312, | |
0.01551360034942627, | |
0.015528960227966309, | |
0.015866880416870118, | |
0.015278079986572265, | |
0.015992735862731932, | |
0.015764479637145997, | |
0.015345664024353027, | |
0.01566412830352783, | |
0.015962112426757814, | |
0.015993856430053712, | |
0.016022527694702148, | |
0.016080896377563478, | |
0.0156692476272583, | |
0.015937536239624024, | |
0.015332351684570313, | |
0.015581184387207032, | |
0.015308735847473144, | |
0.015431679725646973, | |
0.015524864196777344, | |
0.01558732795715332, | |
0.015534079551696778, | |
0.016334848403930666, | |
0.015309823989868163, | |
0.0157009916305542, | |
0.015284223556518555, | |
0.015494144439697266, | |
0.015120384216308593, | |
0.014780415534973144, | |
0.015252479553222656, | |
0.015148032188415527, | |
0.014958592414855957, | |
0.014690303802490234, | |
0.014724096298217774, | |
0.014618623733520507, | |
0.014638079643249511, | |
0.014938112258911132, | |
0.015211520195007324, | |
0.014953472137451173, | |
0.015020992279052734, | |
0.014721023559570312, | |
0.014751744270324708, | |
0.015233023643493653, | |
0.014569472312927247, | |
0.015252479553222656, | |
0.014926848411560058, | |
0.014682111740112304, | |
0.015021023750305175, | |
0.01547878360748291, | |
0.015232000350952148, | |
0.015239168167114257, | |
0.014508000373840332 | |
], | |
"count": 65, | |
"total": 0.9994923200607301, | |
"mean": 0.015376804924011231, | |
"p50": 0.01547059154510498, | |
"p90": 0.01595882263183594, | |
"p95": 0.015993632316589356, | |
"p99": 0.016172319107055664, | |
"stdev": 0.0004299278144144236, | |
"stdev_": 2.7959502415425814 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.0660319151838 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.682141295481319e-07, | |
"ram": 9.190484524450108e-08, | |
"gpu": 3.9714038030985357e-07, | |
"total": 6.572593551024865e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3042938.810187251 | |
} | |
} | |
} | |
} |