IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
010f0e4 verified
raw
history blame
8.97 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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.727616,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07677542114257813
],
"count": 1,
"total": 0.07677542114257813,
"mean": 0.07677542114257813,
"p50": 0.07677542114257813,
"p90": 0.07677542114257813,
"p95": 0.07677542114257813,
"p99": 0.07677542114257813,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1188.806656,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.0140830717086792,
0.01398476791381836,
0.014071807861328126,
0.013742079734802246,
0.013666303634643554,
0.013791168212890625,
0.01374617576599121,
0.013675519943237305,
0.013778079986572265,
0.013971455574035644,
0.013956095695495606,
0.013738880157470703,
0.013829119682312012,
0.014041088104248046,
0.013839360237121581,
0.013899776458740234,
0.013836288452148437,
0.013798399925231934,
0.01408409595489502,
0.013775872230529786,
0.01366528034210205,
0.013741056442260742,
0.013771776199340821,
0.014114815711975098,
0.014137344360351562,
0.014023679733276367,
0.01377280044555664,
0.013730815887451172,
0.013752320289611816,
0.013660160064697266,
0.013644800186157227,
0.013637632369995116,
0.013705216407775878,
0.013743103981018067,
0.013750271797180176,
0.013820992469787598,
0.014048255920410157,
0.015538175582885743,
0.01626006317138672,
0.014354335784912109,
0.014243680000305176,
0.01409126377105713,
0.013887424468994141,
0.013920255661010742,
0.013944831848144532,
0.013889535903930664,
0.013829119682312012,
0.013966336250305175,
0.013896703720092773,
0.013832159996032715,
0.013845503807067871,
0.01387929630279541,
0.013884415626525879,
0.013858752250671387,
0.013841407775878906,
0.013853695869445801,
0.013884415626525879,
0.013840383529663085,
0.013907967567443847,
0.013819904327392578,
0.013833215713500976,
0.013812735557556152,
0.013840479850769043,
0.013854720115661622,
0.013840383529663085,
0.013848511695861817,
0.013942784309387207,
0.013868032455444336,
0.013927424430847168,
0.01366323184967041,
0.014124032020568847,
0.014223360061645507
],
"count": 72,
"total": 1.0030782699584964,
"mean": 0.013931642638312444,
"p50": 0.013847007751464843,
"p90": 0.0141124605178833,
"p95": 0.014232504034042357,
"p99": 0.01574752298355103,
"stdev": 0.0003685869960811327,
"stdev_": 2.645682247601637
},
"throughput": {
"unit": "samples/s",
"value": 71.77904472297972
},
"energy": {
"unit": "kWh",
"cpu": 1.610950002064517e-07,
"ram": 8.794704554914115e-08,
"gpu": 3.3525552345944693e-07,
"total": 5.842975692150398e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1711456.717753294
}
}
}
}