IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3d19845 verified
raw
history blame
10.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"hub_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,
"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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 909.160448,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0018786244392397,
"mean": 0.007421323143994366,
"stdev": 0.00024644641538249917,
"p50": 0.0073768959045410155,
"p90": 0.007706252861022949,
"p95": 0.007784163236618041,
"p99": 0.008095638465881348,
"values": [
0.008121343612670898,
0.007740543842315674,
0.007848959922790527,
0.007797760009765625,
0.007814144134521485,
0.007755775928497314,
0.007774208068847656,
0.007677951812744141,
0.00724886417388916,
0.0072622718811035155,
0.007229440212249756,
0.0072499198913574215,
0.0076871681213378906,
0.007672832012176513,
0.007699552059173584,
0.0076912641525268555,
0.007693439960479736,
0.00764518404006958,
0.007634943962097168,
0.0076492481231689455,
0.007612415790557861,
0.007452703952789306,
0.007641088008880615,
0.007620607852935791,
0.007623712062835694,
0.007631872177124023,
0.007916672229766846,
0.0075939841270446775,
0.0076943359375,
0.007507967948913574,
0.007713791847229004,
0.008061951637268066,
0.007646207809448242,
0.007649280071258545,
0.007683072090148926,
0.007556096076965332,
0.007617536067962646,
0.0076390719413757325,
0.007600128173828125,
0.007597152233123779,
0.007569407939910889,
0.007555071830749512,
0.007482367992401123,
0.007710720062255859,
0.007549952030181885,
0.007194623947143554,
0.0073768959045410155,
0.0075632638931274416,
0.007622655868530274,
0.007577600002288819,
0.007675903797149658,
0.008112992286682129,
0.007670783996582031,
0.0076165437698364254,
0.007623680114746094,
0.007559167861938477,
0.007617504119873047,
0.007516160011291504,
0.0074917120933532715,
0.007450623989105225,
0.00740556812286377,
0.007631743907928467,
0.007472127914428711,
0.007450592041015625,
0.007235583782196045,
0.007237631797790528,
0.00744755220413208,
0.007484416007995606,
0.007724031925201416,
0.007521279811859131,
0.007577600002288819,
0.0076984319686889645,
0.00777833604812622,
0.007620607852935791,
0.007292928218841553,
0.007207935810089112,
0.007208960056304932,
0.0071535038948059085,
0.007223296165466309,
0.007250944137573242,
0.007227392196655274,
0.007327744007110596,
0.007203904151916504,
0.007158783912658692,
0.007294976234436036,
0.0071495680809020995,
0.007177216053009033,
0.00719155216217041,
0.007161952018737793,
0.007171072006225586,
0.007164927959442138,
0.00719974422454834,
0.007376863956451416,
0.007168000221252442,
0.007132160186767578,
0.007197696208953858,
0.007146399974822998,
0.007194623947143554,
0.00728985595703125,
0.007156735897064209,
0.007156735897064209,
0.007204864025115967,
0.007181312084197998,
0.00735430383682251,
0.007164927959442138,
0.007168000221252442,
0.007136288166046142,
0.007243840217590332,
0.007192575931549072,
0.007205887794494629,
0.007109632015228271,
0.007202816009521484,
0.007144447803497315,
0.0071526398658752445,
0.007163904190063477,
0.0071495361328125,
0.007203839778900147,
0.007353343963623047,
0.0071485438346862796,
0.007145472049713135,
0.007155712127685547,
0.007164927959442138,
0.007152448177337647,
0.007206816196441651,
0.007154687881469727,
0.007156735897064209,
0.007385087966918945,
0.00717523193359375,
0.007242591857910157,
0.00713318395614624,
0.007171072006225586,
0.007146495819091797,
0.0072130560874938965,
0.007239776134490967,
0.00719155216217041
]
},
"throughput": {
"unit": "samples/s",
"value": 134.74686125333866
},
"energy": {
"unit": "kWh",
"cpu": 8.491470700218565e-08,
"ram": 4.64189233804575e-08,
"gpu": 1.5764695151428502e-07,
"total": 2.8898058189692814e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3460440.121740339
}
}
}
}