IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4f3e6a3 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 904.35584,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 152,
"total": 0.9967458219528198,
"mean": 0.006557538302321183,
"stdev": 0.00046725132727598763,
"p50": 0.006577136039733887,
"p90": 0.006721200180053711,
"p95": 0.006829465627670288,
"p99": 0.009368980836868287,
"values": [
0.009774080276489258,
0.009401375770568848,
0.009337856292724609,
0.006922239780426025,
0.00683622407913208,
0.006768608093261718,
0.006782976150512696,
0.0067359042167663575,
0.006721504211425781,
0.006731776237487793,
0.006718463897705078,
0.006639616012573242,
0.0066447358131408694,
0.006614016056060791,
0.006557695865631104,
0.006542335987091064,
0.006591487884521485,
0.0066119680404663084,
0.00667955207824707,
0.006672383785247803,
0.006669280052185059,
0.006659071922302246,
0.006625279903411865,
0.006606847763061524,
0.006631423950195312,
0.006666207790374756,
0.006622208118438721,
0.006660096168518067,
0.006653952121734619,
0.006639616012573242,
0.006615039825439453,
0.006620160102844238,
0.006636544227600098,
0.006646783828735352,
0.006652927875518798,
0.00653107213973999,
0.0065146880149841305,
0.00653004789352417,
0.006564864158630371,
0.006586368083953857,
0.006546432018280029,
0.006551583766937256,
0.006608895778656006,
0.006605823993682861,
0.0066416640281677245,
0.006687744140625,
0.006658016204833984,
0.0066416640281677245,
0.006653952121734619,
0.006575071811676025,
0.006574079990386963,
0.006638591766357422,
0.006643712043762207,
0.006578144073486328,
0.006657023906707763,
0.006618015766143799,
0.006524928092956543,
0.006576128005981445,
0.006563839912414551,
0.0065484800338745115,
0.006626304149627686,
0.006717440128326416,
0.006585343837738037,
0.0066375679969787596,
0.006617087841033936,
0.0066109437942504885,
0.0066304001808166506,
0.006582272052764892,
0.006595583915710449,
0.006591487884521485,
0.0066119680404663084,
0.006706175804138184,
0.006696959972381592,
0.006626304149627686,
0.006702047824859619,
0.00664467191696167,
0.006654975891113281,
0.006617087841033936,
0.006602752208709717,
0.006552576065063476,
0.006590400218963623,
0.006494207859039307,
0.006455296039581298,
0.006370304107666015,
0.006394879817962646,
0.006437888145446777,
0.0063805441856384275,
0.006262784004211426,
0.006269951820373535,
0.006519807815551758,
0.0066109437942504885,
0.00667852783203125,
0.00679423999786377,
0.006762495994567871,
0.00685152006149292,
0.006923264026641846,
0.006908927917480469,
0.006590432167053223,
0.006823935985565186,
0.006562816143035889,
0.006529024124145508,
0.006583295822143555,
0.006518784046173095,
0.006493184089660644,
0.0065177597999572755,
0.0065443840026855465,
0.00643174409866333,
0.006452223777770996,
0.006472703933715821,
0.006509568214416504,
0.006529024124145508,
0.006337535858154297,
0.006308864116668702,
0.006244351863861084,
0.006291456222534179,
0.006165567874908447,
0.006211584091186524,
0.0062044157981872555,
0.0061716799736022945,
0.006195199966430664,
0.006184959888458252,
0.006200319766998291,
0.0061634879112243655,
0.006189055919647217,
0.006177792072296143,
0.0062044157981872555,
0.006201344013214111,
0.006177792072296143,
0.0062044157981872555,
0.0061859841346740725,
0.00619926404953003,
0.006178815841674804,
0.0062679038047790524,
0.006210559844970703,
0.0062494721412658695,
0.0061972479820251464,
0.006179840087890625,
0.006200319766998291,
0.006177792072296143,
0.006199295997619629,
0.006180863857269287,
0.006170656204223633,
0.006189055919647217,
0.006207488059997559,
0.006184959888458252,
0.006162432193756104,
0.00616755199432373,
0.006148032188415527,
0.006176767826080322,
0.006151167869567871,
0.006169600009918213,
0.006170623779296875
]
},
"throughput": {
"unit": "samples/s",
"value": 152.49624994886088
},
"energy": {
"unit": "kWh",
"cpu": 7.691480015091394e-08,
"ram": 4.2047399957872195e-08,
"gpu": 1.3634029666234398e-07,
"total": 2.5530249677113013e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3916922.132165693
}
}
}
}