IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
a1e3739 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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.11424,
"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.0026065921783445,
"mean": 0.014322951316833496,
"stdev": 0.00037082749202428585,
"p50": 0.014362624168395996,
"p90": 0.014719078350067138,
"p95": 0.014903568029403687,
"p99": 0.01530567702293396,
"values": [
0.014474240303039551,
0.015132672309875488,
0.014877696037292481,
0.015690752029418945,
0.01505174446105957,
0.01469644832611084,
0.014362624168395996,
0.014354432106018066,
0.014364671707153321,
0.014551039695739745,
0.014428159713745118,
0.014438400268554688,
0.014644224166870118,
0.01445792007446289,
0.014389247894287109,
0.014516223907470703,
0.014503935813903808,
0.014319616317749024,
0.014355456352233887,
0.014460927963256836,
0.01448857593536377,
0.014818304061889649,
0.014531583786010742,
0.014432319641113281,
0.014578687667846679,
0.014444543838500976,
0.014336000442504883,
0.014659647941589355,
0.014674943923950195,
0.014321663856506347,
0.014326784133911133,
0.014368767738342286,
0.014355456352233887,
0.014924736022949218,
0.014756863594055175,
0.014494720458984376,
0.014426112174987793,
0.01447321605682373,
0.014213120460510254,
0.014375871658325195,
0.014289919853210448,
0.014243840217590332,
0.014362624168395996,
0.01448857593536377,
0.014714879989624024,
0.014173215866088867,
0.014249983787536622,
0.01418239974975586,
0.014089216232299804,
0.013907967567443847,
0.013912063598632812,
0.01389363193511963,
0.01396019172668457,
0.013849599838256836,
0.013936639785766602,
0.013916159629821777,
0.014424063682556153,
0.01386393642425537,
0.013807616233825683,
0.013830143928527832,
0.013798399925231934,
0.01387827205657959,
0.013831168174743653,
0.013905920028686524,
0.013835264205932616,
0.013823967933654785,
0.013842368125915527,
0.013843456268310546,
0.01387827205657959,
0.013800479888916016
]
},
"throughput": {
"unit": "samples/s",
"value": 69.81801291363176
},
"energy": {
"unit": "kWh",
"cpu": 1.5768879774021127e-07,
"ram": 8.617742402125977e-08,
"gpu": 3.1523417031578604e-07,
"total": 5.59100392077257e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1788587.549160257
}
}
}
}