IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8960e0c verified
raw
history blame
9.06 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_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.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.506176,
"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.15139892578125,
"mean": 7.15139892578125,
"stdev": 0.0,
"p50": 7.15139892578125,
"p90": 7.15139892578125,
"p95": 7.15139892578125,
"p99": 7.15139892578125,
"values": [
7.15139892578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0603654715749952e-06,
"ram": 5.655251141561735e-07,
"gpu": 0.0,
"total": 1.6258905857311686e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.851648,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0081185598373412,
"mean": 0.01380984328544303,
"stdev": 0.00041369311151882605,
"p50": 0.013918208122253419,
"p90": 0.014310963249206544,
"p95": 0.014420992088317871,
"p99": 0.014640701446533204,
"values": [
0.014640128135681153,
0.014424063682556153,
0.01431443214416504,
0.014418944358825684,
0.01408614444732666,
0.013891584396362304,
0.013919232368469238,
0.01389568042755127,
0.01418239974975586,
0.014150655746459961,
0.014062591552734375,
0.014099391937255859,
0.014239744186401367,
0.014103551864624024,
0.014021632194519042,
0.013989919662475587,
0.01396735954284668,
0.01400115203857422,
0.014031871795654297,
0.014045184135437011,
0.014346240043640136,
0.014147583961486816,
0.014051327705383301,
0.014189567565917969,
0.014081024169921874,
0.014082048416137695,
0.013918208122253419,
0.01417420768737793,
0.01397043228149414,
0.01349120044708252,
0.013569024085998535,
0.0141331844329834,
0.014462976455688477,
0.014297087669372559,
0.014642175674438476,
0.013991935729980469,
0.014063615798950196,
0.013785087585449218,
0.013917183876037598,
0.013937664031982423,
0.01376255989074707,
0.013732864379882812,
0.013802495956420899,
0.014116864204406738,
0.013814784049987794,
0.013354944229125977,
0.01324953556060791,
0.0132741117477417,
0.013319168090820312,
0.013206527709960938,
0.013186047554016114,
0.013505536079406738,
0.013376511573791505,
0.013205504417419434,
0.013277183532714844,
0.013476832389831543,
0.013566944122314453,
0.014343199729919433,
0.013641728401184081,
0.013287424087524414,
0.01316864013671875,
0.013232159614562988,
0.013220864295959473,
0.01319321632385254,
0.013167615890502929,
0.013244416236877441,
0.013270015716552735,
0.013271039962768554,
0.013294591903686523,
0.01357209587097168,
0.01347379207611084,
0.0142673921585083,
0.013504511833190918
]
},
"throughput": {
"unit": "samples/s",
"value": 72.41211788797784
},
"energy": {
"unit": "kWh",
"cpu": 1.5280513766824014e-07,
"ram": 8.351338109060187e-08,
"gpu": 3.3608288994873045e-07,
"total": 5.724014087075724e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1747025.7493913306
}
}
}
}