IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
2d2bcd1 verified
raw
history blame
8.94 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.571136,
"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.40731005859375,
"mean": 7.40731005859375,
"stdev": 0.0,
"p50": 7.40731005859375,
"p90": 7.40731005859375,
"p95": 7.40731005859375,
"p99": 7.40731005859375,
"values": [
7.40731005859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0865976298602063e-06,
"ram": 5.775475891457028e-07,
"gpu": 0.0,
"total": 1.664145219005909e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.33536,
"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.0109317760467529,
"mean": 0.014441882514953616,
"stdev": 0.0005147904783201,
"p50": 0.014327807903289795,
"p90": 0.01467023391723633,
"p95": 0.015607207965850828,
"p99": 0.016405309295654296,
"values": [
0.016441343307495117,
0.016389120101928712,
0.01529139232635498,
0.01392739200592041,
0.013744128227233888,
0.015382528305053711,
0.016299968719482423,
0.015758336067199705,
0.014463007926940918,
0.014240768432617188,
0.014179327964782714,
0.014491647720336913,
0.014251999855041504,
0.014228480339050293,
0.014414848327636719,
0.014403583526611329,
0.01437183952331543,
0.014424063682556153,
0.014400511741638184,
0.014360544204711913,
0.014341119766235352,
0.014342144012451171,
0.014400511741638184,
0.014294015884399413,
0.014331904411315918,
0.014246912002563476,
0.014243840217590332,
0.014050304412841797,
0.014096384048461913,
0.014102527618408203,
0.014078975677490235,
0.014229503631591797,
0.014347264289855957,
0.01426028823852539,
0.014064640045166015,
0.014127103805541993,
0.014107647895812989,
0.014108736038208008,
0.014025728225708007,
0.014119935989379882,
0.014217215538024902,
0.014303232192993164,
0.014367744445800782,
0.014279680252075195,
0.014321663856506347,
0.014345215797424317,
0.014328831672668458,
0.014451711654663087,
0.014477312088012695,
0.014466048240661621,
0.0145797119140625,
0.014601216316223145,
0.01448140811920166,
0.014361599922180175,
0.014325759887695312,
0.01542249584197998,
0.014509056091308594,
0.014355456352233887,
0.014346240043640136,
0.014326784133911133,
0.014355456352233887,
0.014318592071533203,
0.014337023735046387,
0.014247936248779297,
0.014241791725158692,
0.014242815971374511,
0.014202879905700684,
0.014238719940185546,
0.014240799903869629,
0.014253055572509766
]
},
"throughput": {
"unit": "samples/s",
"value": 69.24305047936555
},
"energy": {
"unit": "kWh",
"cpu": 1.6214655980668198e-07,
"ram": 8.862579480104672e-08,
"gpu": 4.002480679459396e-07,
"total": 6.510204225536683e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1536050.122786375
}
}
}
}