IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
576d1ad verified
raw
history blame
9.13 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.493888,
"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.10634619140625,
"mean": 7.10634619140625,
"stdev": 0.0,
"p50": 7.10634619140625,
"p90": 7.10634619140625,
"p95": 7.10634619140625,
"p99": 7.10634619140625,
"values": [
7.10634619140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0525969995392694e-06,
"ram": 5.609896207900533e-07,
"gpu": 1.8622237120003576e-06,
"total": 3.47581033232968e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.835264,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0024911317825318,
"mean": 0.0135471774565207,
"stdev": 0.0004430456998194158,
"p50": 0.013485535621643067,
"p90": 0.013869260787963867,
"p95": 0.014207743597030639,
"p99": 0.015328757534027099,
"values": [
0.015618047714233398,
0.015221759796142579,
0.014839808464050292,
0.01388646411895752,
0.013811712265014648,
0.013296735763549805,
0.013290528297424317,
0.013392895698547362,
0.013578240394592284,
0.013369343757629394,
0.01343283176422119,
0.013511679649353027,
0.01347379207611084,
0.013395968437194825,
0.013410304069519043,
0.013399040222167969,
0.013305855751037597,
0.013328384399414063,
0.013356032371520997,
0.013327360153198242,
0.013634559631347656,
0.013587455749511718,
0.01339395236968994,
0.01338368034362793,
0.013488127708435058,
0.01338265609741211,
0.013247488021850586,
0.013334527969360351,
0.013524991989135742,
0.013298687934875488,
0.013288543701171876,
0.013365247726440429,
0.013466624259948731,
0.013828096389770507,
0.013721599578857421,
0.013417471885681152,
0.013332448005676269,
0.013412351608276368,
0.013270015716552735,
0.013201408386230469,
0.013225919723510742,
0.01295257568359375,
0.013592639923095702,
0.014002176284790039,
0.014134271621704102,
0.014114815711975098,
0.013829119682312012,
0.013737983703613281,
0.013788127899169922,
0.01355571174621582,
0.013771776199340821,
0.014344191551208496,
0.013717503547668456,
0.013515775680541992,
0.013504511833190918,
0.013536288261413574,
0.013519871711730956,
0.013537343978881835,
0.013464511871337891,
0.013494336128234863,
0.013523967742919921,
0.013492287635803223,
0.013540351867675781,
0.013482943534851074,
0.013530079841613769,
0.013528063774108886,
0.013518848419189454,
0.013530112266540528,
0.013438976287841797,
0.013420543670654296,
0.012807168006896973,
0.012892160415649414,
0.012825599670410156,
0.012793855667114258
]
},
"throughput": {
"unit": "samples/s",
"value": 73.81611433152574
},
"energy": {
"unit": "kWh",
"cpu": 1.5650123183490243e-07,
"ram": 8.556844389688385e-08,
"gpu": 3.4907557165789523e-07,
"total": 5.911452473896815e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1691631.63269213
}
}
}
}