IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f4e7b6c verified
raw
history blame
7.89 kB
{
"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.3.0",
"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.142336,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.000133632659912,
"mean": 0.014086389192393129,
"stdev": 0.0007870449991154138,
"p50": 0.013996992111206055,
"p90": 0.014700544357299805,
"p95": 0.015127040386199952,
"p99": 0.016504934406280508,
"values": [
0.015121408462524414,
0.015286272048950195,
0.015096832275390625,
0.015338496208190918,
0.013991935729980469,
0.014082048416137695,
0.013932543754577637,
0.01420902442932129,
0.014161919593811035,
0.01417523193359375,
0.01459712028503418,
0.014153727531433105,
0.014060544013977052,
0.014073856353759765,
0.013963199615478516,
0.01397043228149414,
0.01409331226348877,
0.014700544357299805,
0.014232576370239258,
0.014162943840026856,
0.01409331226348877,
0.014060544013977052,
0.013998080253601074,
0.01428275203704834,
0.014340096473693848,
0.013996992111206055,
0.013932543754577637,
0.014541888236999511,
0.014573568344116212,
0.01922662353515625,
0.015132672309875488,
0.014376992225646973,
0.014126079559326172,
0.013775903701782227,
0.01363865566253662,
0.014253055572509766,
0.014362624168395996,
0.014425087928771972,
0.014492671966552734,
0.014154751777648926,
0.015005696296691894,
0.014286848068237304,
0.013932543754577637,
0.014004223823547364,
0.01374617576599121,
0.013554656028747558,
0.013520895957946777,
0.013453311920166015,
0.013493247985839844,
0.013495295524597169,
0.0134901762008667,
0.013551615715026855,
0.013460479736328124,
0.013519871711730956,
0.013469696044921875,
0.013499391555786134,
0.013709312438964843,
0.013534208297729493,
0.01348198413848877,
0.013445119857788086,
0.013658080101013183,
0.013905983924865722,
0.013830143928527832,
0.01368883228302002,
0.01346560001373291,
0.013429759979248047,
0.013458432197570801,
0.013480959892272949,
0.01347379207611084,
0.013428735733032226,
0.013469696044921875
]
},
"throughput": {
"unit": "samples/s",
"value": 70.99051334887267
},
"energy": {
"unit": "kWh",
"cpu": 1.6127791445892497e-07,
"ram": 8.779127442271151e-08,
"gpu": 3.4143796083783817e-07,
"total": 5.905071497194746e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1693459.5973563713
}
}
}
}