IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bc0a131 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "6",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1105.989632,
"max_global_vram": 68702.69952,
"max_process_vram": 4471.496704,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.07776557159423828
],
"count": 1,
"total": 0.07776557159423828,
"mean": 0.07776557159423828,
"p50": 0.07776557159423828,
"p90": 0.07776557159423828,
"p95": 0.07776557159423828,
"p99": 0.07776557159423828,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1228.791808,
"max_global_vram": 68702.69952,
"max_process_vram": 241911.844864,
"max_reserved": 555.74528,
"max_allocated": 499.442688
},
"latency": {
"unit": "s",
"values": [
0.007253292083740234,
0.006818891048431397,
0.006841452121734619,
0.0068617711067199706,
0.006871692180633545,
0.00686129093170166,
0.006883691787719726,
0.006836171150207519,
0.006858090877532959,
0.006823531150817871,
0.00685697078704834,
0.006849612236022949,
0.006843851089477539,
0.006833771228790283,
0.0068691310882568355,
0.00686657190322876,
0.007101451873779297,
0.006849451065063477,
0.006813770771026612,
0.00679745101928711,
0.00685697078704834,
0.00685233211517334,
0.006816650867462158,
0.006804491996765137,
0.007198731899261474,
0.006858891010284424,
0.006880490779876709,
0.0069030518531799315,
0.00690385103225708,
0.006847211837768555,
0.006833930969238281,
0.006872972011566162,
0.006927371978759766,
0.006916010856628418,
0.0068932919502258305,
0.006869931221008301,
0.007042891979217529,
0.006888651847839355,
0.006858891010284424,
0.006871372222900391,
0.006904971122741699,
0.00688289213180542,
0.007086252212524414,
0.006850410938262939,
0.006880331993103028,
0.006864971160888672,
0.006898571014404297,
0.006858252048492432,
0.006871211051940918,
0.0068334522247314455,
0.007558571815490723,
0.007512972831726074,
0.007293131828308106,
0.007184011936187744,
0.0071355319023132325,
0.0069899320602416996,
0.007081292152404785,
0.0068476910591125486,
0.006843050956726074,
0.007247211933135986,
0.007510892868041992,
0.007245131969451904,
0.007198731899261474,
0.0068670520782470705,
0.0070611310005187986,
0.006842892169952392,
0.007235052108764649,
0.007266571998596191,
0.007248012065887452,
0.007266571998596191,
0.007353452205657959,
0.007754093170166016,
0.007672973155975342,
0.00767313289642334,
0.007766252994537354,
0.007763213157653809,
0.0076900930404663085,
0.007717453002929688,
0.007701932907104492,
0.007697292804718018,
0.007766892910003662,
0.007701132774353027,
0.007531851768493652,
0.007651052951812744,
0.0076955327987670895,
0.007696012973785401,
0.007686573028564453,
0.007696173191070557,
0.007683692932128906,
0.007608333110809326,
0.007438571929931641,
0.007684652805328369,
0.007705452919006347,
0.007667693138122558,
0.007700013160705566,
0.007653613090515137,
0.00727921199798584,
0.007284331798553467,
0.007243692874908447,
0.007242891788482666,
0.007111532211303711,
0.007065132141113282,
0.007088651180267334,
0.006906731128692627,
0.00709201192855835,
0.0068696122169494625,
0.006941290855407714,
0.006901772022247315,
0.006846731185913086,
0.006839372158050537,
0.006940170764923096,
0.006876650810241699,
0.006912971973419189,
0.006898251056671143,
0.006911211967468261,
0.006896491050720215,
0.00780577278137207,
0.007725452899932862,
0.007409932136535645,
0.0072510519027709965,
0.007255531787872314,
0.007238573074340821,
0.0072273721694946285,
0.007119051933288574,
0.007391372203826904,
0.0072822518348693846,
0.007218253135681152,
0.007217452049255371,
0.0071465721130371095,
0.007119371891021729,
0.007262571811676026,
0.007275211811065674,
0.007258891105651855,
0.007156651973724365,
0.007099691867828369,
0.007244011878967285,
0.00756337308883667,
0.007463212966918945,
0.007730253219604492
],
"count": 139,
"total": 0.9958243818283087,
"mean": 0.007164204185815167,
"p50": 0.007099691867828369,
"p90": 0.007696045017242432,
"p95": 0.007718252992630005,
"p99": 0.007766649742126465,
"stdev": 0.00032153421434722313,
"stdev_": 4.488066029494913
},
"throughput": {
"unit": "samples/s",
"value": 139.58284466262973
},
"energy": null,
"efficiency": null
}
}
}