IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
3f2c793 verified
raw
history blame
7.88 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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.289728,
"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.14",
"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": 959.524864,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0067025604248048,
"mean": 0.014178909301757813,
"stdev": 0.00047087219810710613,
"p50": 0.014135295867919923,
"p90": 0.014680064201354981,
"p95": 0.014971392154693603,
"p99": 0.015605513763427732,
"values": [
0.015223808288574218,
0.015846336364746094,
0.015502304077148437,
0.015351807594299317,
0.014718976020812988,
0.014408703804016113,
0.013524031639099121,
0.013549568176269532,
0.01358950424194336,
0.013675519943237305,
0.01364684772491455,
0.013617152214050294,
0.013763584136962891,
0.013934592247009277,
0.013911040306091308,
0.014451711654663087,
0.01435142421722412,
0.014237759590148925,
0.014254079818725587,
0.014326784133911133,
0.014495776176452637,
0.014680064201354981,
0.014665727615356445,
0.014452735900878906,
0.01447116756439209,
0.014387200355529785,
0.014425087928771972,
0.014427136421203614,
0.014561280250549317,
0.014337023735046387,
0.014312447547912598,
0.014306303977966308,
0.014476287841796874,
0.01395199966430664,
0.013934528350830078,
0.014520319938659668,
0.014698495864868164,
0.014575615882873535,
0.014436351776123046,
0.014706687927246094,
0.014144512176513671,
0.01420083236694336,
0.014492671966552734,
0.014668800354003907,
0.014135295867919923,
0.01395404815673828,
0.013859840393066406,
0.013838303565979005,
0.013875200271606445,
0.013817855834960938,
0.014183423995971679,
0.014565376281738282,
0.013883392333984374,
0.013847552299499511,
0.01380352020263672,
0.013775872230529786,
0.013813759803771973,
0.013784064292907714,
0.013814784049987794,
0.013830143928527832,
0.013821951866149903,
0.013749183654785157,
0.013729791641235351,
0.013884415626525879,
0.013947936058044433,
0.013748224258422852,
0.013802495956420899,
0.013750240325927735,
0.013749247550964355,
0.013791232109069825,
0.013730815887451172
]
},
"throughput": {
"unit": "samples/s",
"value": 70.5272865999662
},
"energy": {
"unit": "kWh",
"cpu": 1.5878576702541774e-07,
"ram": 8.65385656737241e-08,
"gpu": 3.236780367200006e-07,
"total": 5.690023694191424e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1757461.925898191
}
}
}
}