IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9ebb6e4 verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.966208,
"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.20840478515625,
"mean": 7.20840478515625,
"stdev": 0.0,
"p50": 7.20840478515625,
"p90": 7.20840478515625,
"p95": 7.20840478515625,
"p99": 7.20840478515625,
"values": [
7.20840478515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0805043909284804e-06,
"ram": 5.759258244646048e-07,
"gpu": 1.7458347300047805e-06,
"total": 3.4022649453978656e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.973824,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.9976687970161439,
"mean": 0.006520711091608782,
"stdev": 0.00020358919785549474,
"p50": 0.00643891191482544,
"p90": 0.006830080032348633,
"p95": 0.006856307220458984,
"p99": 0.007084876785278319,
"values": [
0.007044095993041993,
0.007129055976867676,
0.007223296165466309,
0.007019519805908203,
0.006799359798431396,
0.0069283838272094726,
0.006924223899841308,
0.006833151817321777,
0.006799359798431396,
0.006864927768707276,
0.006847487926483154,
0.006830080032348633,
0.006756351947784424,
0.00673689603805542,
0.0067645440101623535,
0.00677785587310791,
0.0068249602317810056,
0.006829023838043213,
0.006826047897338867,
0.006831103801727295,
0.0068055038452148435,
0.006740928173065186,
0.006800384044647217,
0.006917119979858399,
0.006850560188293457,
0.0068351998329162595,
0.006830080032348633,
0.00684441614151001,
0.006752255916595459,
0.006788064002990723,
0.006820864200592041,
0.006534143924713135,
0.006512639999389648,
0.0063836159706115725,
0.006384640216827392,
0.0064133119583129885,
0.006464511871337891,
0.006414271831512451,
0.006468639850616455,
0.0064767999649047855,
0.0064430079460144046,
0.006591487884521485,
0.006565887928009034,
0.006518784046173095,
0.006554656028747559,
0.006546432018280029,
0.006474751949310303,
0.006431807994842529,
0.006482944011688232,
0.0065484800338745115,
0.006500351905822754,
0.0064849920272827145,
0.00653107213973999,
0.006496255874633789,
0.006418432235717773,
0.006416384220123291,
0.006434815883636475,
0.006552576065063476,
0.006533120155334473,
0.006398975849151611,
0.0064430079460144046,
0.0064471039772033695,
0.006425600051879882,
0.006437888145446777,
0.00642252779006958,
0.0064440321922302245,
0.006481919765472412,
0.006555647850036621,
0.00658841609954834,
0.0065075201988220215,
0.006549503803253174,
0.0065484800338745115,
0.006464511871337891,
0.006490111827850342,
0.0065146880149841305,
0.006384607791900635,
0.006492159843444824,
0.006428671836853027,
0.006372352123260498,
0.006332352161407471,
0.00618393611907959,
0.0063539199829101565,
0.00643891191482544,
0.006232063770294189,
0.0061296639442443845,
0.006105088233947754,
0.006141952037811279,
0.0064839677810668945,
0.006562816143035889,
0.0066826238632202144,
0.006606847763061524,
0.006684671878814697,
0.006785024166107178,
0.0068392958641052244,
0.0068249602317810056,
0.006604800224304199,
0.00638976001739502,
0.006388735771179199,
0.00638259220123291,
0.006358079910278321,
0.006401023864746094,
0.006391808032989502,
0.006392831802368164,
0.006397952079772949,
0.006393856048583985,
0.006412288188934326,
0.006398015975952148,
0.006362112045288086,
0.0063805441856384275,
0.0063836159706115725,
0.006707200050354004,
0.006481919765472412,
0.006394879817962646,
0.006449151992797852,
0.00637337589263916,
0.006368256092071533,
0.006387712001800537,
0.006354944229125976,
0.0064174079895019534,
0.006364160060882569,
0.00638156795501709,
0.006396927833557129,
0.006376448154449463,
0.006377471923828125,
0.006372352123260498,
0.006392831802368164,
0.006371327877044678,
0.006329343795776367,
0.006386688232421875,
0.0063498239517211915,
0.006355967998504639,
0.006397952079772949,
0.006363135814666748,
0.00638976001739502,
0.006405119895935059,
0.006396927833557129,
0.006411263942718506,
0.006384640216827392,
0.006403071880340576,
0.006370304107666015,
0.00633955192565918,
0.006384640216827392,
0.006354944229125976,
0.006367199897766114,
0.006358016014099121,
0.006358016014099121,
0.006355967998504639,
0.006375423908233643,
0.006392831802368164,
0.006398975849151611,
0.006364192008972168,
0.006377471923828125,
0.006351871967315674
]
},
"throughput": {
"unit": "samples/s",
"value": 153.35750747903188
},
"energy": {
"unit": "kWh",
"cpu": 7.551896127802745e-08,
"ram": 4.1194903239754394e-08,
"gpu": 1.459371772278818e-07,
"total": 2.6265104174566365e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3807333.081009986
}
}
}
}