IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d0aacc9 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"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": {},
"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.223-211.872.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.819968,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.38939501953125,
"mean": 7.38939501953125,
"stdev": 0.0,
"p50": 7.38939501953125,
"p90": 7.38939501953125,
"p95": 7.38939501953125,
"p99": 7.38939501953125,
"values": [
7.38939501953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.076814368062478e-07,
"ram": 4.81738405232409e-07,
"gpu": 1.6711124479996606e-06,
"total": 3.0605322900383174e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1085.423616,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9966009597778319,
"mean": 0.007382229331687645,
"stdev": 0.00020543797719815529,
"p50": 0.007323647975921631,
"p90": 0.007535206413269043,
"p95": 0.007696691083908081,
"p99": 0.008153006267547606,
"values": [
0.008279040336608886,
0.00790835189819336,
0.007898111820220948,
0.007863296031951903,
0.007838719844818116,
0.007740416049957275,
0.008583168029785156,
0.007449600219726562,
0.00728985595703125,
0.007259136199951172,
0.007342080116271973,
0.007252992153167725,
0.007258111953735351,
0.007252992153167725,
0.007351295948028564,
0.007267327785491944,
0.0075560321807861324,
0.007677951812744141,
0.007388160228729248,
0.00722431993484497,
0.0072427520751953125,
0.007323647975921631,
0.007241727828979493,
0.007200767993927002,
0.00722431993484497,
0.00725708818435669,
0.007384128093719482,
0.007512063980102539,
0.007506944179534912,
0.007514111995697022,
0.0074793601036071775,
0.007489535808563232,
0.007473152160644531,
0.007323647975921631,
0.007228415966033935,
0.007204864025115967,
0.0071833600997924804,
0.007420928001403809,
0.0075162239074707034,
0.007554048061370849,
0.007486464023590088,
0.007514111995697022,
0.0075345921516418455,
0.007304192066192627,
0.007230463981628418,
0.007243775844573975,
0.007225344181060791,
0.007296000003814697,
0.007312384128570557,
0.007218175888061523,
0.007233535766601563,
0.007230463981628418,
0.007229440212249756,
0.007233535766601563,
0.007251967906951904,
0.007468031883239746,
0.007518208026885987,
0.007506944179534912,
0.0074670081138610836,
0.007360511779785156,
0.007365632057189942,
0.0074065918922424315,
0.007367680072784424,
0.007477248191833496,
0.007464960098266602,
0.007267327785491944,
0.007227392196655274,
0.007235583782196045,
0.007217152118682861,
0.0072120318412780765,
0.007217184066772461,
0.007218175888061523,
0.007220287799835205,
0.0072468481063842774,
0.007205855846405029,
0.007219168186187744,
0.00723967981338501,
0.007217152118682861,
0.007222271919250488,
0.007196671962738037,
0.007222271919250488,
0.007228415966033935,
0.007262207984924316,
0.0072622718811035155,
0.007200767993927002,
0.007215104103088379,
0.007226367950439453,
0.007206912040710449,
0.007231488227844239,
0.007216127872467041,
0.007201791763305664,
0.00723967981338501,
0.007269375801086426,
0.007555039882659912,
0.007489535808563232,
0.007475200176239013,
0.007506944179534912,
0.007444479942321777,
0.007505856037139893,
0.007501823902130127,
0.007476223945617676,
0.007535615921020508,
0.007488512039184571,
0.007526400089263916,
0.007528448104858398,
0.00744755220413208,
0.007477248191833496,
0.007457791805267334,
0.0074403839111328125,
0.007479296207427978,
0.0075673599243164065,
0.007271423816680909,
0.007194623947143554,
0.007194623947143554,
0.0072048320770263675,
0.007222271919250488,
0.007205887794494629,
0.007208960056304932,
0.007186431884765625,
0.007193600177764893,
0.007214079856872559,
0.007231488227844239,
0.007245823860168457,
0.0074967041015625,
0.007475200176239013,
0.007493631839752197,
0.007472127914428711,
0.007493631839752197,
0.007494656085968018,
0.007488512039184571,
0.007543807983398438,
0.007478271961212158,
0.007479328155517578,
0.007484416007995606,
0.007468031883239746
]
},
"throughput": {
"unit": "samples/s",
"value": 135.4604354686704
},
"energy": {
"unit": "kWh",
"cpu": 8.678517156832534e-08,
"ram": 4.744779185044617e-08,
"gpu": 1.564457861459868e-07,
"total": 2.906787495647583e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3440223.9637308507
}
}
}
}