IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8e63a75
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "48414f58841d7ba7c7fd42d74fd524d1d23c3081", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1007.693824, | |
"max_global_vram": 1877.520384, | |
"max_process_vram": 229932.736512, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9983813753128046, | |
"mean": 0.007287455294254053, | |
"stdev": 0.00028566896671187655, | |
"p50": 0.007171532154083252, | |
"p90": 0.007657420825958252, | |
"p95": 0.007824589633941649, | |
"p99": 0.008093825416564941, | |
"values": [ | |
0.008103214263916015, | |
0.008077134132385254, | |
0.0076734528541564945, | |
0.007747532844543457, | |
0.007796333789825439, | |
0.007706733226776123, | |
0.007596972942352295, | |
0.007712492942810059, | |
0.007614412784576416, | |
0.00758577299118042, | |
0.007440173149108887, | |
0.00736577320098877, | |
0.00728193187713623, | |
0.00726097297668457, | |
0.00724097204208374, | |
0.007214571952819824, | |
0.007421933174133301, | |
0.007229132175445557, | |
0.007163853168487549, | |
0.007180491924285889, | |
0.0072516918182373045, | |
0.007265613079071045, | |
0.00724049186706543, | |
0.00723041296005249, | |
0.007234891891479492, | |
0.007195211887359619, | |
0.007294252872467041, | |
0.007385612964630127, | |
0.007484652042388916, | |
0.007594573020935059, | |
0.0075512127876281735, | |
0.007347373008728028, | |
0.007390412807464599, | |
0.007646732807159424, | |
0.008998894691467285, | |
0.007241932868957519, | |
0.00709857177734375, | |
0.007121932029724121, | |
0.007153451919555664, | |
0.007207372188568115, | |
0.007045772075653076, | |
0.0071073718070983885, | |
0.007171532154083252, | |
0.007114731788635254, | |
0.007112812042236328, | |
0.007020172119140625, | |
0.007314092159271241, | |
0.007208013057708741, | |
0.007236492156982422, | |
0.007312013149261475, | |
0.007246091842651368, | |
0.007248171806335449, | |
0.007329292774200439, | |
0.007110092163085937, | |
0.007225131988525391, | |
0.007275531768798828, | |
0.0073171319961547856, | |
0.007282571792602539, | |
0.007290892124176026, | |
0.007119692802429199, | |
0.007088972091674805, | |
0.00709249210357666, | |
0.007094252109527588, | |
0.007123531818389893, | |
0.007042731761932373, | |
0.007088811874389649, | |
0.007112492084503174, | |
0.007937613010406495, | |
0.0071251320838928225, | |
0.007189772129058838, | |
0.007143531799316406, | |
0.007139691829681397, | |
0.007141451835632324, | |
0.007151852130889893, | |
0.00712913179397583, | |
0.007085611820220947, | |
0.007072971820831299, | |
0.007082252025604248, | |
0.007085291862487793, | |
0.00712529182434082, | |
0.007106572151184082, | |
0.007111852169036865, | |
0.007092971801757813, | |
0.007133131980895996, | |
0.007082092761993408, | |
0.007069292068481445, | |
0.007083531856536865, | |
0.007080331802368164, | |
0.0071276922225952145, | |
0.0070811319351196285, | |
0.007079852104187012, | |
0.007058891773223877, | |
0.007052972793579102, | |
0.007072011947631836, | |
0.007063851833343506, | |
0.0071923317909240725, | |
0.0070969719886779786, | |
0.007074892044067383, | |
0.007056332111358642, | |
0.007073451995849609, | |
0.007166572093963623, | |
0.00715313196182251, | |
0.007093932151794434, | |
0.00713297176361084, | |
0.007052011966705322, | |
0.0070896120071411136, | |
0.007952173233032227, | |
0.007535851955413818, | |
0.0075243330001831055, | |
0.007487213134765625, | |
0.007735053062438965, | |
0.00798945379257202, | |
0.008013294219970704, | |
0.007716652870178223, | |
0.007523373126983642, | |
0.007504652976989746, | |
0.00759393310546875, | |
0.00761249303817749, | |
0.0076259331703186035, | |
0.007131212234497071, | |
0.00712305212020874, | |
0.007176173210144043, | |
0.0071801719665527345, | |
0.007184971809387207, | |
0.007133131980895996, | |
0.007155693054199218, | |
0.007140491962432861, | |
0.007148652076721191, | |
0.0071160120964050295, | |
0.007079691886901856, | |
0.007127851963043213, | |
0.007183852195739746, | |
0.007135211944580078, | |
0.0071092920303344725, | |
0.007150571823120117, | |
0.007160332202911377, | |
0.007162571907043457 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.22211109665 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |