
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d7df0d1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "token-classification", | |
"model": "microsoft/deberta-v3-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 975.151104, | |
"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.0027070407867433, | |
"mean": 0.014324386296953474, | |
"stdev": 0.0007211542333931602, | |
"p50": 0.014160352230072022, | |
"p90": 0.015174377822875977, | |
"p95": 0.015343468952178954, | |
"p99": 0.017134304504394533, | |
"values": [ | |
0.01528217601776123, | |
0.015981568336486816, | |
0.015334527969360351, | |
0.014557184219360352, | |
0.014098431587219238, | |
0.014656512260437012, | |
0.014072832107543945, | |
0.014032896041870118, | |
0.014147520065307617, | |
0.014495583534240722, | |
0.014276608467102051, | |
0.014178303718566895, | |
0.015162400245666504, | |
0.017354751586914064, | |
0.0147958402633667, | |
0.014825471878051758, | |
0.01470464038848877, | |
0.01472000026702881, | |
0.014593024253845215, | |
0.014302207946777343, | |
0.015350784301757812, | |
0.01479587173461914, | |
0.014662495613098145, | |
0.01459609603881836, | |
0.01482960033416748, | |
0.014487680435180663, | |
0.01406668758392334, | |
0.014143487930297852, | |
0.014358400344848633, | |
0.014075008392333985, | |
0.014101504325866699, | |
0.014173184394836426, | |
0.014194687843322755, | |
0.014568448066711426, | |
0.014457759857177734, | |
0.01429196834564209, | |
0.014202879905700684, | |
0.014183423995971679, | |
0.01394380760192871, | |
0.0140830717086792, | |
0.014041088104248046, | |
0.013773823738098144, | |
0.01420083236694336, | |
0.014611455917358398, | |
0.01528217601776123, | |
0.017035263061523438, | |
0.01501696014404297, | |
0.014133248329162598, | |
0.013983743667602539, | |
0.013650943756103515, | |
0.01363046360015869, | |
0.013845503807067871, | |
0.013901887893676758, | |
0.013549568176269532, | |
0.013486080169677735, | |
0.013709312438964843, | |
0.013684736251831055, | |
0.013677536010742187, | |
0.013662336349487304, | |
0.014077887535095215, | |
0.013945856094360352, | |
0.013668352127075196, | |
0.013616127967834473, | |
0.013607935905456543, | |
0.01358847999572754, | |
0.013616127967834473, | |
0.013620223999023438, | |
0.013693951606750488, | |
0.013613056182861329, | |
0.013642751693725585 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 69.81101872494747 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6979205939504838e-07, | |
"ram": 9.24548919517422e-08, | |
"gpu": 3.294645492857122e-07, | |
"total": 5.917115006325028e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1690012.7831401995 | |
} | |
} | |
} | |
} |