
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
081a203
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": "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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 976.09728, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.607168 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 70, | |
"total": 1.0049732198715209, | |
"mean": 0.014356760283878873, | |
"stdev": 0.0005069449326987283, | |
"p50": 0.014176256179809572, | |
"p90": 0.014902886390686036, | |
"p95": 0.015359041786193846, | |
"p99": 0.016185395374298098, | |
"values": [ | |
0.015296544075012207, | |
0.015410176277160645, | |
0.01510707187652588, | |
0.01490124797821045, | |
0.014096384048461913, | |
0.014072832107543945, | |
0.014013440132141113, | |
0.014226431846618653, | |
0.01417523193359375, | |
0.014279680252075195, | |
0.014166015625, | |
0.014194687843322755, | |
0.014110719680786133, | |
0.01417523193359375, | |
0.014137344360351562, | |
0.014078975677490235, | |
0.014125056266784668, | |
0.014464032173156739, | |
0.014375935554504395, | |
0.014260224342346191, | |
0.014311424255371094, | |
0.014268416404724121, | |
0.014050304412841797, | |
0.014303232192993164, | |
0.014225407600402832, | |
0.01407487964630127, | |
0.014136320114135742, | |
0.014467071533203125, | |
0.014335040092468262, | |
0.014097439765930175, | |
0.01406668758392334, | |
0.01491763210296631, | |
0.01459712028503418, | |
0.014526464462280274, | |
0.014592000007629394, | |
0.015723520278930665, | |
0.01721343994140625, | |
0.01546444797515869, | |
0.014766079902648926, | |
0.014264320373535156, | |
0.014220288276672363, | |
0.014145536422729492, | |
0.014108672142028808, | |
0.014125056266784668, | |
0.014125056266784668, | |
0.01426534366607666, | |
0.014252032279968262, | |
0.014897151947021485, | |
0.01417728042602539, | |
0.014160896301269531, | |
0.014171135902404786, | |
0.014114815711975098, | |
0.014152704238891601, | |
0.01451417636871338, | |
0.014017536163330077, | |
0.013896703720092773, | |
0.013942784309387207, | |
0.014303168296813966, | |
0.014135295867919923, | |
0.014082048416137695, | |
0.014210047721862793, | |
0.014194751739501953, | |
0.014118911743164063, | |
0.0140830717086792, | |
0.014053376197814941, | |
0.014156800270080566, | |
0.014173184394836426, | |
0.014101504325866699, | |
0.014220288276672363, | |
0.013785087585449218 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 69.65359734555814 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.7041056165619502e-07, | |
"ram": 9.309723819395305e-08, | |
"gpu": 3.547542520571448e-07, | |
"total": 6.182620519072929e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1617437.1319007427 | |
} | |
} | |
} | |
} |