IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
472e0f3
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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": "8320ce6f24eaa5099bd3b49d8d44c0c1368af14b", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.212288, | |
"max_global_vram": 897.142784, | |
"max_process_vram": 193506.680832, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9999219498634339, | |
"mean": 0.007691707306641798, | |
"stdev": 0.00023728245516022387, | |
"p50": 0.007599999904632568, | |
"p90": 0.007979567956924439, | |
"p95": 0.008022912645339966, | |
"p99": 0.008600041732788085, | |
"values": [ | |
0.009115200042724609, | |
0.0077684798240661625, | |
0.007765120029449463, | |
0.007733921051025391, | |
0.007763360023498535, | |
0.00777455997467041, | |
0.007669919967651367, | |
0.0076747207641601565, | |
0.007638720035552979, | |
0.007665599822998047, | |
0.007658239841461182, | |
0.007673760890960693, | |
0.007662720203399658, | |
0.007613440036773681, | |
0.007703680038452149, | |
0.007681921005249024, | |
0.007725120067596436, | |
0.007676000118255615, | |
0.00767903995513916, | |
0.007648800849914551, | |
0.007629759788513183, | |
0.007650879859924317, | |
0.00764896011352539, | |
0.007655520915985107, | |
0.0076169600486755374, | |
0.0076193599700927735, | |
0.00758351993560791, | |
0.007650560855865478, | |
0.007612959861755371, | |
0.007588319778442383, | |
0.007586239814758301, | |
0.007611680984497071, | |
0.0076622400283813475, | |
0.0075764799118041995, | |
0.007587200164794922, | |
0.007712480068206787, | |
0.007596800804138184, | |
0.007501440048217773, | |
0.007594079971313477, | |
0.007562079906463623, | |
0.007508961200714112, | |
0.007571519851684571, | |
0.007549920082092285, | |
0.0075313601493835446, | |
0.0075635209083557125, | |
0.007540480136871338, | |
0.007550079822540284, | |
0.007566080093383789, | |
0.007517920970916748, | |
0.007588960170745849, | |
0.0075833601951599125, | |
0.007562240123748779, | |
0.007578081130981446, | |
0.007553599834442139, | |
0.007583199977874756, | |
0.007600639820098877, | |
0.007544321060180664, | |
0.007529600143432617, | |
0.007550079822540284, | |
0.007556000232696533, | |
0.007580480098724365, | |
0.00756304121017456, | |
0.007562240123748779, | |
0.0075623998641967775, | |
0.00755072021484375, | |
0.007651200771331787, | |
0.007620960235595703, | |
0.00759935998916626, | |
0.007595359802246094, | |
0.007674080848693848, | |
0.007584640026092529, | |
0.007597760200500488, | |
0.007615839958190918, | |
0.007609920978546143, | |
0.007575039863586426, | |
0.00754911994934082, | |
0.007560480117797852, | |
0.007556961059570312, | |
0.007615039825439453, | |
0.007650400161743164, | |
0.007612800121307373, | |
0.008000961303710937, | |
0.008553919792175292, | |
0.00861888027191162, | |
0.008480799674987794, | |
0.008026081085205078, | |
0.007978559970855713, | |
0.007978879928588867, | |
0.0079966402053833, | |
0.007973920822143555, | |
0.008016960144042969, | |
0.008019040107727051, | |
0.008271039962768555, | |
0.008072481155395508, | |
0.007985919952392577, | |
0.007954559803009032, | |
0.007952479839324952, | |
0.007954881191253663, | |
0.00798576021194458, | |
0.0079552001953125, | |
0.007959519863128662, | |
0.00793600082397461, | |
0.007787680149078369, | |
0.007570879936218262, | |
0.007543039798736572, | |
0.007529760837554932, | |
0.007555359840393066, | |
0.007544159889221191, | |
0.007545599937438965, | |
0.0075416011810302734, | |
0.007537759780883789, | |
0.007571839809417725, | |
0.007558879852294922, | |
0.007572481155395508, | |
0.007581120014190674, | |
0.007573279857635498, | |
0.007563680171966553, | |
0.00759744119644165, | |
0.0076100797653198245, | |
0.007558720111846924, | |
0.007567039966583252, | |
0.00757696008682251, | |
0.007579520225524903, | |
0.007559360027313233, | |
0.007566720008850098, | |
0.007559840202331543, | |
0.007606241226196289, | |
0.007599040031433106, | |
0.007602399826049805, | |
0.0075313601493835446 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.01014730975254 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |