IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
b426219 verified
raw
history blame
8.96 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-212.873.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.2",
"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": 773.025792,
"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.42168994140625,
"mean": 7.42168994140625,
"stdev": 0.0,
"p50": 7.42168994140625,
"p90": 7.42168994140625,
"p95": 7.42168994140625,
"p99": 7.42168994140625,
"values": [
7.42168994140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0846339645834432e-06,
"ram": 5.782678836402492e-07,
"gpu": 1.7013902500005035e-06,
"total": 3.3642920982241957e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.761344,
"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.0069973459243775,
"mean": 0.01438567637034825,
"stdev": 0.0006282921574620623,
"p50": 0.014263296127319336,
"p90": 0.014966931438446044,
"p95": 0.015372099399566649,
"p99": 0.016585287246704102,
"values": [
0.015852543830871584,
0.01641164779663086,
0.014961600303649902,
0.015014911651611328,
0.014936063766479492,
0.014876704216003418,
0.014722047805786133,
0.01508249568939209,
0.01489408016204834,
0.014644224166870118,
0.014836671829223633,
0.014819328308105468,
0.014715904235839844,
0.014299103736877442,
0.01510912036895752,
0.01697177505493164,
0.014931936264038086,
0.014656512260437012,
0.01471180820465088,
0.014474176406860351,
0.014458880424499512,
0.01445683193206787,
0.014310400009155273,
0.014392319679260255,
0.014279680252075195,
0.014147583961486816,
0.014228480339050293,
0.014451711654663087,
0.014149632453918457,
0.014149632453918457,
0.014239744186401367,
0.014231552124023437,
0.014716927528381347,
0.01459712028503418,
0.014370816230773926,
0.014218239784240723,
0.014312479972839355,
0.014113792419433594,
0.01409945583343506,
0.014246912002563476,
0.013947936058044433,
0.014409728050231933,
0.014694399833679199,
0.014887935638427734,
0.015587264060974122,
0.01439027214050293,
0.014150655746459961,
0.014145536422729492,
0.014065664291381836,
0.01419264030456543,
0.014081024169921874,
0.014103551864624024,
0.01400115203857422,
0.013785087585449218,
0.013676544189453126,
0.013721599578857421,
0.013677568435668945,
0.013686783790588379,
0.013686783790588379,
0.013692928314208984,
0.013666303634643554,
0.013669343948364257,
0.01368883228302002,
0.013651968002319336,
0.01368064022064209,
0.013719552040100098,
0.014197792053222656,
0.013722623825073242,
0.013644800186157227,
0.013675583839416503
]
},
"throughput": {
"unit": "samples/s",
"value": 69.51358936874178
},
"energy": {
"unit": "kWh",
"cpu": 1.6264572382989926e-07,
"ram": 8.884892022887823e-08,
"gpu": 3.587826310137044e-07,
"total": 6.102772750724818e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1638599.4380689193
}
}
}
}