
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
6d2bba3
verified
{ | |
"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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 800.432128, | |
"max_global_vram": 1410.859008, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07640268707275391 | |
], | |
"count": 1, | |
"total": 0.07640268707275391, | |
"mean": 0.07640268707275391, | |
"p50": 0.07640268707275391, | |
"p90": 0.07640268707275391, | |
"p95": 0.07640268707275391, | |
"p99": 0.07640268707275391, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1189.51936, | |
"max_global_vram": 1442.316288, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.606656 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.014855168342590331, | |
0.01457151985168457, | |
0.014780415534973144, | |
0.014753791809082031, | |
0.01444863986968994, | |
0.014441472053527832, | |
0.014573568344116212, | |
0.014531583786010742, | |
0.014361599922180175, | |
0.014402624130249023, | |
0.014935040473937988, | |
0.014648320198059082, | |
0.014877696037292481, | |
0.014516127586364747, | |
0.014499839782714843, | |
0.014689184188842774, | |
0.014622624397277833, | |
0.01479475212097168, | |
0.014428159713745118, | |
0.014418944358825684, | |
0.014786591529846191, | |
0.01447935962677002, | |
0.014403583526611329, | |
0.014503935813903808, | |
0.014584832191467285, | |
0.014864383697509765, | |
0.014806015968322754, | |
0.014889887809753418, | |
0.014625727653503418, | |
0.01449779224395752, | |
0.014538751602172852, | |
0.014693375587463378, | |
0.01477836799621582, | |
0.014444543838500976, | |
0.014640128135681153, | |
0.014395392417907715, | |
0.014457856178283691, | |
0.015321087837219239, | |
0.013710335731506347, | |
0.013806591987609864, | |
0.013891584396362304, | |
0.014145536422729492, | |
0.013971455574035644, | |
0.014682111740112304, | |
0.013611007690429687, | |
0.013223936080932617, | |
0.013231103897094726, | |
0.013104127883911134, | |
0.013398015975952148, | |
0.013275103569030762, | |
0.013038592338562012, | |
0.013055999755859376, | |
0.01305292797088623, | |
0.0129965763092041, | |
0.013039615631103516, | |
0.013034496307373047, | |
0.013241344451904297, | |
0.013208576202392578, | |
0.013001728057861327, | |
0.01306931209564209, | |
0.013632479667663575, | |
0.013958144187927245, | |
0.013888511657714844, | |
0.014005248069763183, | |
0.015771648406982423, | |
0.015569919586181641, | |
0.014021632194519042, | |
0.01358233642578125, | |
0.013678400039672852, | |
0.013796352386474609, | |
0.013820032119750976 | |
], | |
"count": 71, | |
"total": 1.0063774709701536, | |
"mean": 0.014174330577044416, | |
"p50": 0.014428159713745118, | |
"p90": 0.014855168342590331, | |
"p95": 0.014912464141845702, | |
"p99": 0.015630438232421873, | |
"stdev": 0.0006790850373532684, | |
"stdev_": 4.790949623067624 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 70.55006898311784 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6434458613014522e-07, | |
"ram": 8.974450754270874e-08, | |
"gpu": 3.2722248400004394e-07, | |
"total": 5.813115776728979e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1720247.8643263779 | |
} | |
} | |
} | |
} |