IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
887ad18 verified
raw
history blame
7.89 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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.29792,
"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.12",
"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": 975.2576,
"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.0105680618286133,
"mean": 0.014233352983501596,
"stdev": 0.0009368257104767214,
"p50": 0.014131199836730958,
"p90": 0.014717951774597168,
"p95": 0.01530470371246338,
"p99": 0.0179808250427246,
"values": [
0.02048102378845215,
0.016909311294555664,
0.015560704231262207,
0.015542271614074708,
0.014823424339294433,
0.014441472053527832,
0.013966336250305175,
0.014058496475219727,
0.014206975936889648,
0.01437286376953125,
0.014449664115905762,
0.014611455917358398,
0.01428377628326416,
0.014131199836730958,
0.014133248329162598,
0.014118911743164063,
0.013938688278198242,
0.013993984222412109,
0.01397760009765625,
0.014054400444030762,
0.014270463943481445,
0.014717951774597168,
0.014233599662780762,
0.014155743598937988,
0.014161919593811035,
0.014147583961486816,
0.014015487670898438,
0.014022656440734863,
0.014317567825317384,
0.013963264465332031,
0.01426534366607666,
0.014013440132141113,
0.014363648414611817,
0.015067135810852051,
0.014791680335998534,
0.014551039695739745,
0.014041088104248046,
0.01416806411743164,
0.014435327529907227,
0.014334976196289062,
0.01426534366607666,
0.014213120460510254,
0.014326784133911133,
0.014392319679260255,
0.014534655570983887,
0.014511103630065919,
0.013952992439270019,
0.014600192070007324,
0.014024703979492188,
0.013894656181335448,
0.013783040046691895,
0.013505536079406738,
0.013489151954650879,
0.013700032234191894,
0.013913087844848633,
0.013678591728210449,
0.01439846420288086,
0.01353932762145996,
0.013499391555786134,
0.013502495765686035,
0.013468671798706054,
0.013436927795410156,
0.013428735733032226,
0.013458399772644044,
0.013447168350219727,
0.013510656356811524,
0.013401087760925292,
0.013384703636169434,
0.013881343841552735,
0.013812735557556152,
0.013518848419189454
]
},
"throughput": {
"unit": "samples/s",
"value": 70.25751424552857
},
"energy": {
"unit": "kWh",
"cpu": 1.6290078696594936e-07,
"ram": 8.863610284905704e-08,
"gpu": 3.4152995358904794e-07,
"total": 5.930668434040543e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1686150.5766538084
}
}
}
}