IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cc2af1c verified
raw
history blame
10.6 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": "5",
"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.2",
"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": 1389.441024,
"max_global_vram": 12.926976,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 12.3900546875,
"mean": 12.3900546875,
"stdev": 0.0,
"p50": 12.3900546875,
"p90": 12.3900546875,
"p95": 12.3900546875,
"p99": 12.3900546875,
"values": [
12.3900546875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1518.538752,
"max_global_vram": 13.06624,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 113,
"total": 0.9998656196594244,
"mean": 0.008848368315570123,
"stdev": 0.00013599079884215904,
"p50": 0.008828927993774414,
"p90": 0.00903193473815918,
"p95": 0.009080254554748535,
"p99": 0.009181693840026857,
"values": [
0.00893084716796875,
0.008828927993774414,
0.008892447471618652,
0.009321725845336915,
0.008917407035827636,
0.008870527267456055,
0.008858367919921875,
0.008777566909790039,
0.008794367790222168,
0.008908766746520996,
0.008766688346862794,
0.008728927612304687,
0.008774527549743652,
0.008877886772155761,
0.008842367172241211,
0.008842368125915528,
0.008975486755371093,
0.008936766624450684,
0.008795488357543945,
0.008690849304199218,
0.008723809242248535,
0.00871260929107666,
0.008880767822265625,
0.008959966659545899,
0.008948766708374023,
0.00888508701324463,
0.008746527671813964,
0.008747488021850587,
0.008906367301940919,
0.008928927421569824,
0.008835968017578124,
0.008859487533569336,
0.008765567779541015,
0.008791486740112304,
0.00880668830871582,
0.0087457275390625,
0.00874124813079834,
0.008768608093261718,
0.008919967651367187,
0.008960288047790527,
0.0089169282913208,
0.008787647247314453,
0.008751808166503906,
0.008808927536010742,
0.0088734073638916,
0.008937406539916991,
0.009037087440490723,
0.008963967323303223,
0.008812606811523438,
0.008742207527160645,
0.008959966659545899,
0.008926847457885741,
0.008849247932434082,
0.008784446716308594,
0.008739168167114258,
0.008679807662963867,
0.008733728408813476,
0.008827168464660645,
0.009092926025390625,
0.008973406791687013,
0.008989087104797363,
0.008894367218017578,
0.008807007789611816,
0.008804927825927735,
0.00877996826171875,
0.008863648414611817,
0.009027326583862304,
0.009021886825561523,
0.009036927223205567,
0.00918332576751709,
0.009169726371765137,
0.009155965805053711,
0.009071806907653808,
0.009117886543273926,
0.00905644702911377,
0.008996767044067383,
0.008947807312011719,
0.00901436710357666,
0.009033086776733399,
0.009044767379760742,
0.008927007675170899,
0.008926207542419434,
0.008756928443908692,
0.008843168258666993,
0.008768287658691407,
0.008865086555480958,
0.008776127815246582,
0.008692288398742675,
0.008705087661743164,
0.008707008361816405,
0.008600128173828126,
0.008635489463806153,
0.00878444766998291,
0.00880076789855957,
0.008780608177185059,
0.008738368034362794,
0.008675329208374024,
0.00869468879699707,
0.00877676773071289,
0.008782527923583984,
0.008877726554870605,
0.008945246696472169,
0.008873248100280761,
0.008782208442687988,
0.008725407600402833,
0.008742688179016113,
0.00870316791534424,
0.008650209426879883,
0.008645407676696778,
0.008592288017272949,
0.008665087699890137,
0.008613409042358399,
0.008629729270935058
]
},
"throughput": {
"unit": "samples/s",
"value": 113.01518701932193
},
"energy": null,
"efficiency": null
}
}
}