IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
c10c9fa verified
raw
history blame
7.93 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.2.1",
"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.584704,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0034430694580079,
"mean": 0.013936709298027884,
"stdev": 0.000304540270814966,
"p50": 0.013830080032348632,
"p90": 0.014352793502807616,
"p95": 0.01448596487045288,
"p99": 0.014827571125030518,
"values": [
0.014457856178283691,
0.0148602876663208,
0.014814208030700684,
0.014771200180053711,
0.014520319938659668,
0.014205951690673829,
0.0140830717086792,
0.014090239524841308,
0.013670399665832519,
0.013530112266540528,
0.01370019245147705,
0.01365401554107666,
0.014047103881835938,
0.013808639526367187,
0.01407590389251709,
0.01400115203857422,
0.013964320182800293,
0.014272416114807129,
0.014381055831909179,
0.014013407707214355,
0.013666208267211915,
0.013516799926757812,
0.013423616409301758,
0.013727744102478028,
0.01378598403930664,
0.013485055923461914,
0.013889535903930664,
0.014347264289855957,
0.014358528137207031,
0.014246912002563476,
0.014154751777648926,
0.014056447982788087,
0.013825023651123047,
0.013985792160034179,
0.013760512351989745,
0.013303808212280274,
0.013816831588745117,
0.014284799575805664,
0.014353407859802245,
0.014203904151916504,
0.01407692813873291,
0.014041119575500489,
0.013903871536254882,
0.014104576110839843,
0.013799424171447755,
0.014000255584716797,
0.013831040382385255,
0.01376972770690918,
0.013735936164855958,
0.01377791976928711,
0.01386393642425537,
0.013793279647827148,
0.013938688278198242,
0.013905920028686524,
0.013829119682312012,
0.01377791976928711,
0.013737983703613281,
0.013727775573730469,
0.013750271797180176,
0.013698047637939453,
0.013744128227233888,
0.013756575584411622,
0.013752320289611816,
0.013870944023132324,
0.013745152473449707,
0.013760640144348144,
0.013744128227233888,
0.013775872230529786,
0.013744128227233888,
0.013767680168151856,
0.01375641632080078,
0.013846559524536133
]
},
"throughput": {
"unit": "samples/s",
"value": 71.75294961067353
},
"energy": {
"unit": "kWh",
"cpu": 1.5990795471050124e-07,
"ram": 8.74269723214373e-08,
"gpu": 3.3605582440000374e-07,
"total": 5.833907514319422e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1714116.9919911886
}
}
}
}