IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6ccdaf3 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "4",
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 909.33248,
"max_global_vram": 841.785344,
"max_process_vram": 46627.741696,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.27208984375,
"mean": 8.27208984375,
"stdev": 0.0,
"p50": 8.27208984375,
"p90": 8.27208984375,
"p95": 8.27208984375,
"p99": 8.27208984375,
"values": [
8.27208984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1024.499712,
"max_global_vram": 898.023424,
"max_process_vram": 224915.132416,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9986487922668457,
"mean": 0.007623273223411035,
"stdev": 0.0007683327553954165,
"p50": 0.007514385223388672,
"p90": 0.007847023963928222,
"p95": 0.00786926507949829,
"p99": 0.008674943256378166,
"values": [
0.007462066173553467,
0.00741230583190918,
0.007441585063934326,
0.007415825843811035,
0.007400306224822998,
0.007411985874176025,
0.007426866054534912,
0.0074639849662780765,
0.007740465164184571,
0.007527666091918945,
0.007488945007324219,
0.007507505893707275,
0.007512625217437744,
0.0074865460395812985,
0.00749486494064331,
0.007469746112823486,
0.007463184833526612,
0.007491186141967774,
0.007532945156097412,
0.007543506145477295,
0.007519666194915771,
0.007521745204925537,
0.007501426219940185,
0.007512945175170899,
0.0075433459281921385,
0.0074860649108886715,
0.007501905918121338,
0.007492465019226074,
0.007476146221160889,
0.007469104766845703,
0.007526546001434326,
0.007437105178833008,
0.0074742259979248046,
0.0074427051544189455,
0.007466546058654785,
0.0074743847846984865,
0.007473266124725342,
0.007467504978179932,
0.007486226081848145,
0.007473744869232178,
0.007515666007995606,
0.00747742509841919,
0.007471025943756104,
0.007479185104370117,
0.007506385803222656,
0.007502224922180176,
0.00749358606338501,
0.007506064891815186,
0.007529264926910401,
0.00750830602645874,
0.007488784790039063,
0.0074859061241149905,
0.0074817447662353515,
0.007516146183013916,
0.007528785228729248,
0.007514225959777832,
0.007527824878692627,
0.00756910514831543,
0.007544626235961914,
0.007489425182342529,
0.00751758623123169,
0.007544944763183594,
0.007528145790100097,
0.007514385223388672,
0.015460129737854003,
0.004293111801147461,
0.007567184925079346,
0.007537586212158203,
0.007528144836425782,
0.007532625198364258,
0.007503026008605957,
0.007496304988861084,
0.007478385925292969,
0.0074836649894714355,
0.007517426013946533,
0.007505424976348877,
0.007511506080627442,
0.007506064891815186,
0.007501266002655029,
0.007493744850158692,
0.007523985862731933,
0.007501105785369873,
0.007516624927520752,
0.007525586128234864,
0.007535824775695801,
0.007505745887756348,
0.007511505126953125,
0.007488786220550537,
0.007491505146026612,
0.0075219058990478515,
0.007510385036468506,
0.0074987058639526365,
0.007536625862121582,
0.007538865089416504,
0.0075433459281921385,
0.007553424835205078,
0.007490705966949463,
0.007531185150146485,
0.007545265197753906,
0.00750446605682373,
0.00751726484298706,
0.00787742519378662,
0.007492785930633545,
0.008877263069152833,
0.008202863693237304,
0.007742064952850342,
0.0077846250534057615,
0.00797326421737671,
0.007800145149230957,
0.007845425128936767,
0.00781310510635376,
0.007910544872283936,
0.00786222505569458,
0.007828464984893799,
0.007814064979553222,
0.007845584869384765,
0.007856144905090331,
0.007875504970550538,
0.00785294485092163,
0.007863025188446044,
0.00783598518371582,
0.007852784156799316,
0.007831823825836182,
0.007843985080718993,
0.007829905033111572,
0.007848464965820312,
0.007847023963928222,
0.007840785026550293,
0.007768304824829102,
0.0077203049659729005,
0.007821585178375244
]
},
"throughput": {
"unit": "samples/s",
"value": 131.17724771152172
},
"energy": null,
"efficiency": null
}
}
}