IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
4f0e386
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.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": 1, | |
"num_choices": 2, | |
"sequence_length": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 798.547968, | |
"max_global_vram": 1403.518976, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.8518486328125, | |
"mean": 7.8518486328125, | |
"stdev": 0.0, | |
"p50": 7.8518486328125, | |
"p90": 7.8518486328125, | |
"p95": 7.8518486328125, | |
"p99": 7.8518486328125, | |
"values": [ | |
7.8518486328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.231523576388333e-07, | |
"ram": 4.901236632346289e-07, | |
"gpu": 1.5875012699994098e-06, | |
"total": 3.000777290872872e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1186.4064, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.606656 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 71, | |
"total": 1.00025657749176, | |
"mean": 0.014088120809743102, | |
"stdev": 0.0004357210544172913, | |
"p50": 0.014225407600402832, | |
"p90": 0.014425087928771972, | |
"p95": 0.01448857593536377, | |
"p99": 0.0151612416267395, | |
"values": [ | |
0.01547878360748291, | |
0.015025152206420898, | |
0.015017984390258789, | |
0.014148608207702636, | |
0.013537280082702637, | |
0.013394944190979004, | |
0.013442048072814941, | |
0.013407232284545899, | |
0.013331456184387207, | |
0.013421600341796874, | |
0.013396991729736327, | |
0.013476863861083984, | |
0.013452287673950195, | |
0.013505536079406738, | |
0.01354751968383789, | |
0.01348300838470459, | |
0.013412351608276368, | |
0.013441056251525878, | |
0.013501472473144531, | |
0.013423616409301758, | |
0.013415424346923829, | |
0.013502464294433594, | |
0.013443072319030762, | |
0.014062591552734375, | |
0.014279680252075195, | |
0.014334976196289062, | |
0.014239680290222169, | |
0.014225407600402832, | |
0.014331904411315918, | |
0.0142674560546875, | |
0.01437388801574707, | |
0.014445568084716797, | |
0.014382080078125, | |
0.014301152229309081, | |
0.014245887756347657, | |
0.014262271881103515, | |
0.014222335815429688, | |
0.014283743858337403, | |
0.014238719940185546, | |
0.014245887756347657, | |
0.014301183700561524, | |
0.014216192245483398, | |
0.014253055572509766, | |
0.01428172779083252, | |
0.014246912002563476, | |
0.014228480339050293, | |
0.01427353572845459, | |
0.014255104064941406, | |
0.014233599662780762, | |
0.014225407600402832, | |
0.014202848434448242, | |
0.014425087928771972, | |
0.014367744445800782, | |
0.01447116756439209, | |
0.01450598430633545, | |
0.014460895538330078, | |
0.014402591705322265, | |
0.014276608467102051, | |
0.014246912002563476, | |
0.014230527877807618, | |
0.014179327964782714, | |
0.014179327964782714, | |
0.014199808120727539, | |
0.014223423957824707, | |
0.014178303718566895, | |
0.014201855659484864, | |
0.014217215538024902, | |
0.01420902442932129, | |
0.014213120460510254, | |
0.014213120460510254, | |
0.014186495780944825 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 70.98178767095872 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5888565232407517e-07, | |
"ram": 8.659802661715813e-08, | |
"gpu": 3.311261908266657e-07, | |
"total": 5.766098697678989e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1734274.8579772438 | |
} | |
} | |
} | |
} |