IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
63854ff verified
raw
history blame
9.11 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 887.033856,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.605184
},
"latency": {
"unit": "s",
"values": [
8.3361748046875
],
"count": 1,
"total": 8.3361748046875,
"mean": 8.3361748046875,
"p50": 8.3361748046875,
"p90": 8.3361748046875,
"p95": 8.3361748046875,
"p99": 8.3361748046875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1029508861116237e-06,
"ram": 5.608311599326941e-07,
"gpu": 1.8675014939999873e-06,
"total": 3.5312835400443053e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1274.79808,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.01390182399749756,
0.01345638370513916,
0.013714431762695312,
0.013903871536254882,
0.013928447723388672,
0.014000127792358399,
0.014338047981262207,
0.014109696388244629,
0.013932543754577637,
0.013935615539550781,
0.014023679733276367,
0.013913087844848633,
0.01394380760192871,
0.01388748836517334,
0.013918272018432617,
0.01398476791381836,
0.013934592247009277,
0.013892640113830566,
0.013969408035278321,
0.013884415626525879,
0.014003199577331543,
0.013941760063171387,
0.01395199966430664,
0.014294015884399413,
0.016328704833984374,
0.01508351993560791,
0.014416895866394042,
0.014002176284790039,
0.014027744293212891,
0.014094335556030273,
0.014043135643005371,
0.01397657585144043,
0.013956095695495606,
0.014078975677490235,
0.01408512020111084,
0.014026752471923828,
0.014155776023864745,
0.01399500846862793,
0.013956095695495606,
0.014208000183105468,
0.014004223823547364,
0.013926400184631347,
0.014040063858032227,
0.01396735954284668,
0.013925375938415528,
0.014041088104248046,
0.014008319854736329,
0.013926400184631347,
0.01409945583343506,
0.013982720375061035,
0.01396735954284668,
0.014219264030456542,
0.013950976371765136,
0.013993984222412109,
0.013964287757873535,
0.013917183876037598,
0.013902912139892578,
0.013990912437438965,
0.013947903633117676,
0.0135731201171875,
0.01344921588897705,
0.01386291217803955,
0.013918208122253419,
0.014407679557800293,
0.014010368347167968,
0.01395199966430664,
0.013911040306091308,
0.013905856132507324,
0.01415167999267578,
0.013961215972900391,
0.013947903633117676,
0.013898752212524413
],
"count": 72,
"total": 1.0099251813888548,
"mean": 0.014026738630400763,
"p50": 0.013965823650360108,
"p90": 0.014202777767181396,
"p95": 0.014369382190704346,
"p99": 0.015444623556137092,
"stdev": 0.00034040379020441425,
"stdev_": 2.4268206542798354
},
"throughput": {
"unit": "samples/s",
"value": 71.29240990009298
},
"energy": {
"unit": "kWh",
"cpu": 1.6638046503665403e-07,
"ram": 9.084490579015424e-08,
"gpu": 3.6098022705555204e-07,
"total": 6.182055978823604e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1617584.8349245973
}
}
}
}