IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
6bde285 verified
raw
history blame
9 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": 885.10464,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.605184
},
"latency": {
"unit": "s",
"values": [
8.3003916015625
],
"count": 1,
"total": 8.3003916015625,
"mean": 8.3003916015625,
"p50": 8.3003916015625,
"p90": 8.3003916015625,
"p95": 8.3003916015625,
"p99": 8.3003916015625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.955368819445219e-07,
"ram": 5.263312924939226e-07,
"gpu": 1.7766680879991933e-06,
"total": 3.2985362624376377e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1272.848384,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.015215616226196289,
0.015112352371215821,
0.015051648139953614,
0.015059967994689942,
0.015076383590698243,
0.015106047630310059,
0.015184896469116211,
0.015380479812622071,
0.015357952117919921,
0.015067135810852051,
0.015089664459228515,
0.015351840019226074,
0.015132672309875488,
0.015257599830627442,
0.015031295776367188,
0.01508351993560791,
0.015080448150634765,
0.014968864440917969,
0.014968832015991211,
0.014912511825561523,
0.015440896034240722,
0.015459327697753907,
0.015541248321533203,
0.015003583908081054,
0.015122431755065918,
0.015242239952087403,
0.014979071617126465,
0.014888959884643555,
0.015013888359069824,
0.014925824165344239,
0.014979071617126465,
0.01508454418182373,
0.015252479553222656,
0.014962688446044922,
0.014569472312927247,
0.014525440216064453,
0.014527520179748536,
0.0144650239944458,
0.014573568344116212,
0.014053376197814941,
0.014081024169921874,
0.014113792419433594,
0.014081024169921874,
0.014048255920410157,
0.013980671882629395,
0.014027775764465332,
0.014078975677490235,
0.014036992073059081,
0.013446144104003906,
0.013416447639465333,
0.013511520385742187,
0.013468671798706054,
0.013493247985839844,
0.013577216148376465,
0.013426848411560059,
0.01345132827758789,
0.013627360343933106,
0.013529151916503905,
0.013529088020324707,
0.013443072319030762,
0.013492095947265624,
0.013524991989135742,
0.01354751968383789,
0.013444064140319824,
0.013497344017028809,
0.01356492805480957,
0.013503487586975099,
0.013889535903930664,
0.013845503807067871
],
"count": 69,
"total": 0.9977784662246707,
"mean": 0.014460557481516966,
"p50": 0.014573568344116212,
"p90": 0.015253503608703613,
"p95": 0.015371468734741212,
"p99": 0.015485542297363281,
"stdev": 0.0007217615180290039,
"stdev_": 4.991242688613749
},
"throughput": {
"unit": "samples/s",
"value": 69.15362711832991
},
"energy": {
"unit": "kWh",
"cpu": 1.6723208025235808e-07,
"ram": 9.130123546584275e-08,
"gpu": 3.4974597619718644e-07,
"total": 6.082792919153872e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1643981.6598903746
}
}
}
}