IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
62d3a13 verified
raw
history blame
7.79 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 973.7216,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0061576690673828,
"mean": 0.014373680986676898,
"stdev": 0.00026425860773658167,
"p50": 0.014342656135559082,
"p90": 0.014797517108917236,
"p95": 0.014924031782150269,
"p99": 0.014994319257736206,
"values": [
0.014791680335998534,
0.014904319763183594,
0.014857215881347656,
0.014670751571655273,
0.014220288276672363,
0.01420902442932129,
0.014218239784240723,
0.014090239524841308,
0.014104576110839843,
0.014255104064941406,
0.014347264289855957,
0.014137344360351562,
0.014187520027160644,
0.014226431846618653,
0.014338047981262207,
0.014148608207702636,
0.014213120460510254,
0.014131199836730958,
0.014117888450622559,
0.014134271621704102,
0.01409331226348877,
0.01438003158569336,
0.01448140811920166,
0.014326784133911133,
0.014186464309692382,
0.01436569595336914,
0.0142673921585083,
0.01415987205505371,
0.014188544273376465,
0.014384127616882325,
0.01406873607635498,
0.0140697603225708,
0.01407795238494873,
0.014150624275207519,
0.014461952209472656,
0.01448960018157959,
0.014296064376831055,
0.014125056266784668,
0.014151647567749023,
0.014020607948303223,
0.014054400444030762,
0.014038016319274902,
0.013894656181335448,
0.014030847549438476,
0.014228480339050293,
0.014315520286560059,
0.015007743835449219,
0.014940159797668457,
0.014850048065185547,
0.014645248413085938,
0.014537728309631348,
0.014452735900878906,
0.014501888275146485,
0.014515232086181641,
0.014433279991149902,
0.014564352035522461,
0.014943231582641601,
0.014523391723632812,
0.014533632278442383,
0.014446592330932618,
0.01448857593536377,
0.014561280250549317,
0.014525440216064453,
0.014503935813903808,
0.014445568084716797,
0.014445568084716797,
0.014988287925720215,
0.014632960319519044,
0.014562303543090821,
0.01449779224395752
]
},
"throughput": {
"unit": "samples/s",
"value": 69.57160110391413
},
"energy": {
"unit": "kWh",
"cpu": 1.6822979810278927e-07,
"ram": 9.195499344161976e-08,
"gpu": 3.5134613397182783e-07,
"total": 6.115309255162369e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1635240.2769423781
}
}
}
}