
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0a8110e
verified
{ | |
"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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 791.023616, | |
"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.4182197265625, | |
"mean": 7.4182197265625, | |
"stdev": 0.0, | |
"p50": 7.4182197265625, | |
"p90": 7.4182197265625, | |
"p95": 7.4182197265625, | |
"p99": 7.4182197265625, | |
"values": [ | |
7.4182197265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0737747541667157e-06, | |
"ram": 5.72415526903962e-07, | |
"gpu": 1.7802792019998986e-06, | |
"total": 3.426469483070576e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.987648, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9971128315925596, | |
"mean": 0.006972817004143776, | |
"stdev": 0.00016690478686476223, | |
"p50": 0.0069550080299377445, | |
"p90": 0.007167590427398681, | |
"p95": 0.007320473575592041, | |
"p99": 0.007455231885910034, | |
"values": [ | |
0.007426047801971435, | |
0.007357439994812012, | |
0.007036928176879883, | |
0.007018496036529541, | |
0.006987808227539062, | |
0.006927328109741211, | |
0.007012383937835693, | |
0.006999040126800537, | |
0.0070348801612854, | |
0.006927360057830811, | |
0.006974463939666748, | |
0.006993919849395752, | |
0.006956031799316406, | |
0.006851583957672119, | |
0.006889472007751465, | |
0.006965248107910156, | |
0.006952960014343262, | |
0.006938623905181885, | |
0.006994976043701172, | |
0.007005184173583984, | |
0.006970335960388183, | |
0.006872064113616944, | |
0.0069550080299377445, | |
0.007076831817626953, | |
0.006988800048828125, | |
0.006941696166992187, | |
0.0069847040176391605, | |
0.006988800048828125, | |
0.006972415924072266, | |
0.006916096210479736, | |
0.006963263988494873, | |
0.006964223861694336, | |
0.006994944095611572, | |
0.006998015880584717, | |
0.006874112129211426, | |
0.006892543792724609, | |
0.006890495777130127, | |
0.006910975933074951, | |
0.006923264026641846, | |
0.006935520172119141, | |
0.006949888229370117, | |
0.006906879901885986, | |
0.0070225920677185055, | |
0.007053376197814942, | |
0.007027743816375732, | |
0.006966271877288818, | |
0.006972415924072266, | |
0.006965248107910156, | |
0.007008255958557129, | |
0.007027711868286133, | |
0.007020544052124023, | |
0.006975488185882568, | |
0.006989823818206787, | |
0.00695091199874878, | |
0.006923264026641846, | |
0.006866943836212158, | |
0.006944767951965332, | |
0.006875135898590088, | |
0.006986752033233643, | |
0.007000063896179199, | |
0.00690176010131836, | |
0.0069027838706970214, | |
0.006945792198181152, | |
0.007465983867645264, | |
0.0069847040176391605, | |
0.006908927917480469, | |
0.00695091199874878, | |
0.006975488185882568, | |
0.007044095993041993, | |
0.007055391788482666, | |
0.006988800048828125, | |
0.007027711868286133, | |
0.006975488185882568, | |
0.006945792198181152, | |
0.007857151985168457, | |
0.007321599960327148, | |
0.007310336112976074, | |
0.007422976016998291, | |
0.0072540159225463864, | |
0.0072837119102478025, | |
0.007153664112091064, | |
0.007103487968444824, | |
0.007328767776489258, | |
0.007171072006225586, | |
0.006990848064422607, | |
0.006919167995452881, | |
0.006949888229370117, | |
0.007184383869171143, | |
0.007216127872467041, | |
0.007123968124389648, | |
0.007123968124389648, | |
0.007288832187652588, | |
0.0074403839111328125, | |
0.0071526398658752445, | |
0.007077888011932373, | |
0.0069918718338012695, | |
0.006980607986450196, | |
0.007051263809204102, | |
0.0070553278923034665, | |
0.006972415924072266, | |
0.006876160144805908, | |
0.00687718391418457, | |
0.006879231929779053, | |
0.006806528091430664, | |
0.0068607678413391115, | |
0.006817728042602539, | |
0.006790143966674805, | |
0.006793216228485107, | |
0.006803455829620361, | |
0.006796288013458252, | |
0.006747136116027832, | |
0.0067983360290527345, | |
0.006797311782836914, | |
0.006825984001159668, | |
0.0068055038452148435, | |
0.006802400112152099, | |
0.006814720153808594, | |
0.006803455829620361, | |
0.006795231819152832, | |
0.006806528091430664, | |
0.006782976150512696, | |
0.007127039909362793, | |
0.006841343879699707, | |
0.006811647891998291, | |
0.006782976150512696, | |
0.006791168212890625, | |
0.00683622407913208, | |
0.0067338237762451176, | |
0.006816768169403077, | |
0.006815743923187256, | |
0.006803455829620361, | |
0.0068269758224487305, | |
0.006853695869445801, | |
0.006841343879699707, | |
0.006795263767242431, | |
0.006876192092895508, | |
0.006841343879699707, | |
0.0068085122108459475, | |
0.006793216228485107, | |
0.006845439910888672, | |
0.006848512172698974, | |
0.007001088142395019, | |
0.006842400074005127 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.41406054478762 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.052973965419318e-08, | |
"ram": 4.4028418513283645e-08, | |
"gpu": 1.5638334506122162e-07, | |
"total": 2.8094150322869844e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3559459.846649845 | |
} | |
} | |
} | |
} |