IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
472b6f8 verified
raw
history blame
9.05 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.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 800.858112,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07755059051513671
],
"count": 1,
"total": 0.07755059051513671,
"mean": 0.07755059051513671,
"p50": 0.07755059051513671,
"p90": 0.07755059051513671,
"p95": 0.07755059051513671,
"p99": 0.07755059051513671,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1189.941248,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.013509632110595703,
0.013247488021850586,
0.013223936080932617,
0.013227007865905761,
0.013205504417419434,
0.013239295959472656,
0.013242367744445802,
0.013229056358337403,
0.013202431678771973,
0.013201343536376952,
0.0132608642578125,
0.013191167831420898,
0.01323519992828369,
0.013234175682067872,
0.013196288108825683,
0.01325977611541748,
0.013289471626281739,
0.013186047554016114,
0.01316864013671875,
0.013302751541137695,
0.013197312355041504,
0.013520895957946777,
0.013880319595336914,
0.013843456268310546,
0.013846528053283692,
0.013792256355285644,
0.013807616233825683,
0.013794303894042969,
0.013773823738098144,
0.014014464378356933,
0.014094335556030273,
0.013809663772583008,
0.013817855834960938,
0.01407692813873291,
0.01386291217803955,
0.013728768348693847,
0.013732864379882812,
0.013816831588745117,
0.013997056007385255,
0.013991935729980469,
0.013891584396362304,
0.01385267162322998,
0.01377791976928711,
0.01384447956085205,
0.01375641632080078,
0.01375436782836914,
0.013742079734802246,
0.013853695869445801,
0.013821951866149903,
0.013801471710205078,
0.013722623825073242,
0.013726719856262207,
0.013747200012207032,
0.013700096130371094,
0.013812671661376954,
0.01376255989074707,
0.013741056442260742,
0.013726719856262207,
0.013958144187927245,
0.013806591987609864,
0.013891584396362304,
0.01374518394470215,
0.013834239959716797,
0.013757439613342285,
0.013717503547668456,
0.013816831588745117,
0.013690879821777344,
0.013789183616638183,
0.013783040046691895,
0.013788160324096679,
0.013765631675720215,
0.013728768348693847,
0.01370419216156006,
0.013728768348693847
],
"count": 74,
"total": 1.0097950048446653,
"mean": 0.013645878443846831,
"p50": 0.013750783920288086,
"p90": 0.013888204956054688,
"p95": 0.013993727827072144,
"p99": 0.014081628141403197,
"stdev": 0.00027119639932303115,
"stdev_": 1.9873868907671417
},
"throughput": {
"unit": "samples/s",
"value": 73.28220049116133
},
"energy": {
"unit": "kWh",
"cpu": 1.647767493441509e-07,
"ram": 8.994467220579997e-08,
"gpu": 3.3632357152777905e-07,
"total": 5.9104499307773e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1691918.5708565628
}
}
}
}