IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5887f60 verified
raw
history blame
12 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": 1106.034688,
"max_global_vram": 68702.69952,
"max_process_vram": 3989.868544,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08032859802246094
],
"count": 1,
"total": 0.08032859802246094,
"mean": 0.08032859802246094,
"p50": 0.08032859802246094,
"p90": 0.08032859802246094,
"p95": 0.08032859802246094,
"p99": 0.08032859802246094,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1228.828672,
"max_global_vram": 68702.69952,
"max_process_vram": 245753.26208,
"max_reserved": 555.74528,
"max_allocated": 499.442688
},
"latency": {
"unit": "s",
"values": [
0.007318090915679931,
0.006971530914306641,
0.007310410976409912,
0.007629772186279297,
0.007582730770111084,
0.007213770866394043,
0.007204171180725098,
0.006917130947113037,
0.00708673095703125,
0.007239370822906494,
0.007318571090698243,
0.007010571002960205,
0.007016971111297608,
0.006708169937133789,
0.006739049911499023,
0.006712009906768799,
0.006750250816345215,
0.00669936990737915,
0.0067003297805786136,
0.006735530853271485,
0.006768010139465332,
0.006700009822845459,
0.006745770931243896,
0.006759850025177002,
0.0067574501037597655,
0.006752651214599609,
0.006797770023345947,
0.006715050220489502,
0.006752171039581299,
0.006779369831085205,
0.006724490165710449,
0.006713930130004883,
0.0067947301864624025,
0.0067296109199523925,
0.006759689807891846,
0.006738249778747559,
0.0068030509948730465,
0.006769289970397949,
0.006749129772186279,
0.007004331111907959,
0.006703050136566162,
0.006716011047363281,
0.006896649837493897,
0.006706891059875489,
0.006730090141296387,
0.006697450160980225,
0.006735529899597168,
0.0067648100852966304,
0.006759369850158691,
0.006741450786590576,
0.006752170085906982,
0.00707201099395752,
0.0067499299049377445,
0.006741769790649414,
0.006787051200866699,
0.006745930194854736,
0.006770411014556885,
0.006740489959716797,
0.006768650054931641,
0.006739211082458496,
0.006755370140075684,
0.006705770015716553,
0.006754890918731689,
0.006730569839477539,
0.006698729991912841,
0.006734409809112549,
0.006733930110931397,
0.006731689929962158,
0.006740170001983643,
0.006751211166381836,
0.0067854499816894535,
0.007694091796875,
0.007681931972503662,
0.007619370937347412,
0.007420650959014893,
0.007143051147460938,
0.007104970932006836,
0.006985929965972901,
0.007084331035614014,
0.0071534509658813476,
0.007180171012878418,
0.007085771083831787,
0.007342091083526611,
0.007183371067047119,
0.007483851909637451,
0.0074801712036132815,
0.007245450973510742,
0.007160971164703369,
0.007290091991424561,
0.00708257007598877,
0.0072097711563110355,
0.007218730926513672,
0.0071176099777221676,
0.007000330924987793,
0.0071723308563232425,
0.006725931167602539,
0.006915530204772949,
0.006792490959167481,
0.00675121021270752,
0.006766089916229248,
0.006778730869293213,
0.0067788901329040524,
0.007563211917877197,
0.0076897721290588375,
0.007716011047363281,
0.007710571765899658,
0.007712172031402588,
0.007178250789642334,
0.00713585090637207,
0.00716641092300415,
0.00728209114074707,
0.0073009710311889645,
0.0072201709747314454,
0.007161450862884521,
0.007180010795593262,
0.0073507318496704105,
0.007436971187591553,
0.007318090915679931,
0.007300651073455811,
0.007198410987854004,
0.007102251052856445,
0.007065771102905273,
0.007082251071929932,
0.0069504108428955075,
0.007273450851440429,
0.006995850086212159,
0.006958889961242676,
0.006959210872650146,
0.00682112979888916,
0.006769771099090576,
0.006782889842987061,
0.006821131229400635,
0.006809770107269287,
0.00681312894821167,
0.006787530899047852,
0.0068044900894165036,
0.006817770957946777,
0.006826889991760254,
0.00685697078704834,
0.007165931224822998,
0.007247691154479981,
0.007019851207733154,
0.007212971210479736
],
"count": 143,
"total": 0.9998380055427554,
"mean": 0.006991874164634652,
"p50": 0.00685697078704834,
"p90": 0.007349003696441651,
"p95": 0.007615706920623779,
"p99": 0.007711499919891358,
"stdev": 0.0002851434370705293,
"stdev_": 4.078211797815285
},
"throughput": {
"unit": "samples/s",
"value": 143.02316896062922
},
"energy": null,
"efficiency": null
}
}
}