IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
33cba14 verified
raw
history blame
9.1 kB
{
"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.225-213.878.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 798.814208,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07655833435058594
],
"count": 1,
"total": 0.07655833435058594,
"mean": 0.07655833435058594,
"p50": 0.07655833435058594,
"p90": 0.07655833435058594,
"p95": 0.07655833435058594,
"p99": 0.07655833435058594,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1187.926016,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.013298656463623047,
0.01306009578704834,
0.013049856185913086,
0.013651968002319336,
0.013327360153198242,
0.013021183967590331,
0.013108223915100097,
0.013128640174865723,
0.013118464469909668,
0.013088768005371093,
0.013083647727966309,
0.013087743759155274,
0.012994560241699218,
0.013099007606506348,
0.013098015785217285,
0.012988415718078614,
0.012999679565429688,
0.013058048248291015,
0.012980223655700684,
0.012964863777160645,
0.013008895874023438,
0.013050880432128906,
0.013042688369750977,
0.013033472061157226,
0.013047807693481446,
0.013020159721374512,
0.012973055839538575,
0.012978176116943359,
0.013033472061157226,
0.01305395221710205,
0.012890111923217774,
0.013042688369750977,
0.013007935523986816,
0.013002752304077148,
0.013021183967590331,
0.013019136428833008,
0.013008895874023438,
0.013016063690185547,
0.013017087936401368,
0.01297920036315918,
0.012980223655700684,
0.014260224342346191,
0.014103551864624024,
0.014218239784240723,
0.014353407859802245,
0.014047231674194336,
0.013750271797180176,
0.01394380760192871,
0.014384127616882325,
0.013985792160034179,
0.013797375679016113,
0.013688863754272461,
0.013758463859558106,
0.013703167915344238,
0.013651968002319336,
0.013808639526367187,
0.013544447898864746,
0.013649920463562011,
0.013703167915344238,
0.013767680168151856,
0.01366323184967041,
0.013584383964538574,
0.013651935577392579,
0.01360588836669922,
0.01364684772491455,
0.013607935905456543,
0.013611007690429687,
0.013644800186157227,
0.013579263687133789,
0.01365503978729248,
0.013591551780700683,
0.013635616302490234,
0.013635583877563476,
0.013669376373291015,
0.013670399665832519
],
"count": 75,
"total": 1.004008476257324,
"mean": 0.01338677968343099,
"p50": 0.013128640174865723,
"p90": 0.013889740371704103,
"p95": 0.014137958240509034,
"p99": 0.014361394996643066,
"stdev": 0.0004019836770425749,
"stdev_": 3.0028407619206274
},
"throughput": {
"unit": "samples/s",
"value": 74.70056456055032
},
"energy": {
"unit": "kWh",
"cpu": 1.5753653667762427e-07,
"ram": 8.59852494641229e-08,
"gpu": 3.511698715789601e-07,
"total": 5.946916577207072e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1681543.6823726944
}
}
}
}