IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
809c2ae verified
raw
history blame
8.91 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.224-212.876.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 794.574848,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9897119140625,
"mean": 7.9897119140625,
"stdev": 0.0,
"p50": 7.9897119140625,
"p90": 7.9897119140625,
"p95": 7.9897119140625,
"p99": 7.9897119140625,
"values": [
7.9897119140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.437289893752058e-06,
"ram": 1.3166496497173203e-06,
"gpu": 3.203613674000738e-06,
"total": 6.957553217470116e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1183.797248,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0077285451889038,
"mean": 0.014604761524476866,
"stdev": 0.0004670471272971558,
"p50": 0.014411775588989258,
"p90": 0.015056077003479003,
"p95": 0.01511772117614746,
"p99": 0.0163780207824707,
"values": [
0.016717824935913086,
0.01621811294555664,
0.015052800178527831,
0.015093759536743164,
0.014920703887939453,
0.014952447891235352,
0.014783488273620606,
0.0148602876663208,
0.014954496383666992,
0.015069184303283691,
0.014898176193237305,
0.015037471771240235,
0.015071231842041016,
0.014973952293395995,
0.01548697566986084,
0.014926848411560058,
0.01500057601928711,
0.014957568168640138,
0.014973952293395995,
0.014144448280334473,
0.014220288276672363,
0.01427353572845459,
0.01448236846923828,
0.014494720458984376,
0.014249983787536622,
0.014249983787536622,
0.014224384307861328,
0.014188544273376465,
0.014142463684082032,
0.014100480079650878,
0.014223360061645507,
0.014393343925476074,
0.01415782356262207,
0.014325759887695312,
0.014169088363647461,
0.014376959800720214,
0.014737407684326171,
0.014574591636657714,
0.014227456092834472,
0.014236672401428223,
0.014241791725158692,
0.014106623649597168,
0.014026752471923828,
0.014163968086242675,
0.014295040130615234,
0.01476198387145996,
0.014838784217834473,
0.014915583610534668,
0.015133695602416992,
0.014747648239135743,
0.014665727615356445,
0.014629887580871583,
0.01467903995513916,
0.014418944358825684,
0.014341119766235352,
0.014389247894287109,
0.014346240043640136,
0.014864383697509765,
0.014401535987854003,
0.014411775588989258,
0.014333951950073242,
0.014328831672668458,
0.014418944358825684,
0.014364671707153321,
0.014303232192993164,
0.014344191551208496,
0.014382080078125,
0.014394368171691894,
0.014334976196289062
]
},
"throughput": {
"unit": "samples/s",
"value": 68.47082017217802
},
"energy": {
"unit": "kWh",
"cpu": 1.6754510854849397e-07,
"ram": 9.153258586742469e-08,
"gpu": 3.3840402659158523e-07,
"total": 5.974817210075038e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1673691.369693703
}
}
}
}