IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
55a0c21 verified
raw
history blame
8.95 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.252864,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 797.159424,
"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.8457978515625,
"mean": 7.8457978515625,
"stdev": 0.0,
"p50": 7.8457978515625,
"p90": 7.8457978515625,
"p95": 7.8457978515625,
"p99": 7.8457978515625,
"values": [
7.8457978515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.910830826400898e-07,
"ram": 5.274317150188143e-07,
"gpu": 1.7397236139991834e-06,
"total": 3.258238411658088e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.308672,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0103420515060428,
"mean": 0.014433457878657751,
"stdev": 0.0004442206889883159,
"p50": 0.014329855918884277,
"p90": 0.014961734676361083,
"p95": 0.015103385877609253,
"p99": 0.015759928588867187,
"values": [
0.01602764892578125,
0.015534144401550293,
0.0156396484375,
0.014624735832214356,
0.014254079818725587,
0.01417625617980957,
0.014139391899108887,
0.013999103546142578,
0.014186495780944825,
0.014979071617126465,
0.014739456176757813,
0.01430016040802002,
0.014228480339050293,
0.014508031845092773,
0.014249983787536622,
0.014496767997741699,
0.014797920227050782,
0.014699520111083985,
0.014674943923950195,
0.014277631759643555,
0.014260224342346191,
0.014102527618408203,
0.014484383583068848,
0.014261247634887696,
0.014320639610290528,
0.014339072227478027,
0.014223360061645507,
0.014285823822021485,
0.014376959800720214,
0.015024127960205079,
0.014724096298217774,
0.014621696472167968,
0.014296064376831055,
0.014239744186401367,
0.014077856063842773,
0.014366720199584961,
0.014663680076599121,
0.014910464286804198,
0.015053824424743652,
0.014959808349609374,
0.014630047798156739,
0.014638976097106933,
0.015143936157226562,
0.014672896385192872,
0.01444764804840088,
0.014304256439208985,
0.01407487964630127,
0.014467071533203125,
0.014548992156982422,
0.014849023818969726,
0.014932991981506348,
0.014557184219360352,
0.014428159713745118,
0.014455807685852052,
0.014413887977600098,
0.014112768173217773,
0.014273568153381348,
0.014251104354858398,
0.01407472038269043,
0.014164992332458496,
0.014082048416137695,
0.0142673921585083,
0.014063615798950196,
0.014047167778015136,
0.014277631759643555,
0.013567999839782715,
0.01358847999572754,
0.01356390380859375,
0.013610976219177246,
0.013704128265380859
]
},
"throughput": {
"unit": "samples/s",
"value": 69.28346681765463
},
"energy": {
"unit": "kWh",
"cpu": 1.6776754333921346e-07,
"ram": 9.166747439761841e-08,
"gpu": 3.4453079205631704e-07,
"total": 6.03965809793149e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1655722.8634224974
}
}
}
}