IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
ec6496a verified
raw
history blame
9.02 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": 797.401088,
"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.97715234375,
"mean": 7.97715234375,
"stdev": 0.0,
"p50": 7.97715234375,
"p90": 7.97715234375,
"p95": 7.97715234375,
"p99": 7.97715234375,
"values": [
7.97715234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3982653548563985e-06,
"ram": 1.2948567684174513e-06,
"gpu": 3.4405583079974433e-06,
"total": 7.133680431271293e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.439744,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0075820779800417,
"mean": 0.013994195527500577,
"stdev": 0.0005885176493199646,
"p50": 0.013912575721740723,
"p90": 0.014074681282043457,
"p95": 0.014152089357376099,
"p99": 0.016041247081756617,
"values": [
0.01868185615539551,
0.014962688446044922,
0.013928447723388672,
0.013763584136962891,
0.01397657585144043,
0.013939711570739746,
0.013934592247009277,
0.013898752212524413,
0.01386291217803955,
0.013849599838256836,
0.01385267162322998,
0.013916159629821777,
0.014451711654663087,
0.014005248069763183,
0.013888511657714844,
0.013891584396362304,
0.014038016319274902,
0.01384447956085205,
0.013891615867614747,
0.013905920028686524,
0.013813759803771973,
0.013998080253601074,
0.01389363193511963,
0.01389363193511963,
0.013918208122253419,
0.013908991813659668,
0.013990912437438965,
0.013884415626525879,
0.01386086368560791,
0.013841407775878906,
0.013839360237121581,
0.01387827205657959,
0.013851648330688476,
0.013831168174743653,
0.013839360237121581,
0.013864959716796875,
0.013848575592041015,
0.013921279907226563,
0.013862848281860352,
0.013830143928527832,
0.013873151779174805,
0.013958144187927245,
0.013921279907226563,
0.01385267162322998,
0.013826047897338867,
0.013835264205932616,
0.013872063636779786,
0.01375641632080078,
0.013433792114257813,
0.013410304069519043,
0.013436927795410156,
0.013759488105773926,
0.014146559715270996,
0.014072896003723145,
0.014138367652893067,
0.014128128051757812,
0.01407487964630127,
0.013961215972900391,
0.01398470401763916,
0.013953023910522461,
0.013989888191223144,
0.013993984222412109,
0.014014464378356933,
0.014035967826843262,
0.014041088104248046,
0.013957119941711426,
0.01397862434387207,
0.013983743667602539,
0.014006272315979004,
0.01400937557220459,
0.014158847808837891,
0.013961215972900391
]
},
"throughput": {
"unit": "samples/s",
"value": 71.4581983676631
},
"energy": {
"unit": "kWh",
"cpu": 1.6491647317700584e-07,
"ram": 9.002936448587782e-08,
"gpu": 3.4869240858333924e-07,
"total": 6.036382462462228e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1656621.3393842876
}
}
}
}