IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
661d9c7 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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": "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-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.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": 791.334912,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3526640625,
"mean": 7.3526640625,
"stdev": 0.0,
"p50": 7.3526640625,
"p90": 7.3526640625,
"p95": 7.3526640625,
"p99": 7.3526640625,
"values": [
7.3526640625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0392684020830798e-06,
"ram": 5.537592941036581e-07,
"gpu": 1.690834685999943e-06,
"total": 3.283862382186681e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1080.754176,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9972951388359071,
"mean": 0.006648634258906046,
"stdev": 0.00018516933050798928,
"p50": 0.00670361590385437,
"p90": 0.0068649982452392575,
"p95": 0.0069198337078094484,
"p99": 0.007006791744232178,
"values": [
0.007035903930664063,
0.00698367977142334,
0.007003136157989502,
0.006945792198181152,
0.006918144226074219,
0.006874112129211426,
0.0069212160110473635,
0.006930431842803955,
0.006918144226074219,
0.0068249602317810056,
0.006793216228485107,
0.006792191982269287,
0.006783999919891357,
0.006714303970336914,
0.006646783828735352,
0.0066826238632202144,
0.006746079921722412,
0.0067358717918396,
0.0067758078575134275,
0.0067645440101623535,
0.006778880119323731,
0.006740960121154785,
0.006703104019165039,
0.006776832103729248,
0.006811679840087891,
0.0067573761940002445,
0.006829055786132812,
0.00682092809677124,
0.006789120197296142,
0.0067276802062988285,
0.006772736072540283,
0.00678604793548584,
0.006764480113983154,
0.006810624122619629,
0.00679423999786377,
0.006681600093841553,
0.006673408031463623,
0.00669593620300293,
0.006739967823028564,
0.006711296081542969,
0.006748127937316895,
0.006726655960083008,
0.006731776237487793,
0.006864895820617676,
0.006819839954376221,
0.006765567779541016,
0.00679423999786377,
0.006789120197296142,
0.006762495994567871,
0.006714367866516113,
0.006792191982269287,
0.006797311782836914,
0.0067686400413513184,
0.006781951904296875,
0.006758399963378906,
0.006785024166107178,
0.006694943904876709,
0.0067573761940002445,
0.0067041277885437015,
0.00672051191329956,
0.0068577280044555666,
0.00669593620300293,
0.006677504062652588,
0.00672870397567749,
0.00673689603805542,
0.0067010560035705566,
0.006755392074584961,
0.006738944053649902,
0.006729728221893311,
0.006865920066833496,
0.006863872051239014,
0.006918144226074219,
0.0068689918518066405,
0.00689356803894043,
0.006792191982269287,
0.006739967823028564,
0.006752255916595459,
0.006715392112731934,
0.0066979842185974124,
0.006717440128326416,
0.00667955207824707,
0.006662144184112549,
0.006574079990386963,
0.006502399921417237,
0.006654975891113281,
0.006620160102844238,
0.006457344055175781,
0.006351871967315674,
0.0064143362045288085,
0.006464511871337891,
0.00672870397567749,
0.006782976150512696,
0.006781951904296875,
0.006692895889282227,
0.006964223861694336,
0.007010303974151612,
0.0066979842185974124,
0.006535168170928955,
0.006584320068359375,
0.006493184089660644,
0.006451200008392334,
0.006499328136444092,
0.0064860482215881345,
0.006618112087249756,
0.0065771517753601075,
0.006556672096252441,
0.006583295822143555,
0.006592512130737305,
0.006536191940307618,
0.006558720111846924,
0.006486015796661377,
0.006404096126556396,
0.006549503803253174,
0.006346752166748047,
0.006387712001800537,
0.00638156795501709,
0.006368288040161133,
0.006372352123260498,
0.006348800182342529,
0.006397952079772949,
0.006379519939422608,
0.00637337589263916,
0.0063907837867736815,
0.0063539199829101565,
0.006395904064178467,
0.006367263793945313,
0.006360064029693604,
0.006364160060882569,
0.0063836159706115725,
0.006387712001800537,
0.006397952079772949,
0.00643891191482544,
0.0063907837867736815,
0.006368256092071533,
0.006364160060882569,
0.0063937921524047855,
0.0063836159706115725,
0.006416384220123291,
0.0063805441856384275,
0.006354944229125976,
0.006385663986206055,
0.006364160060882569,
0.0064767999649047855,
0.006751232147216797,
0.006411263942718506,
0.006396927833557129,
0.006492159843444824,
0.006598656177520752,
0.00657203197479248,
0.006363135814666748
]
},
"throughput": {
"unit": "samples/s",
"value": 150.40682959217824
},
"energy": {
"unit": "kWh",
"cpu": 7.563939582890824e-08,
"ram": 4.135528669307882e-08,
"gpu": 1.4184370866241985e-07,
"total": 2.588383911844069e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3863414.524499805
}
}
}
}