IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
024d1d5
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_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": 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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.3.1", | |
"optimum_benchmark_commit": "aa06eb5e1bf688ecb03b7568e9e816d4af962b61", | |
"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": 903.704576, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 40105.234432, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.7987451171875, | |
"mean": 6.7987451171875, | |
"stdev": 0.0, | |
"p50": 6.7987451171875, | |
"p90": 6.7987451171875, | |
"p95": 6.7987451171875, | |
"p99": 6.7987451171875, | |
"values": [ | |
6.7987451171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.242176, | |
"max_global_vram": 896.946176, | |
"max_process_vram": 225164.988416, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 0.9959647045135499, | |
"mean": 0.007114033603668211, | |
"stdev": 0.0009678451962143001, | |
"p50": 0.0069416739940643315, | |
"p90": 0.007933785057067872, | |
"p95": 0.008067552137374878, | |
"p99": 0.008157268543243407, | |
"values": [ | |
0.007083993911743164, | |
0.007183834075927735, | |
0.007401432991027832, | |
0.0075063929557800295, | |
0.007678553104400635, | |
0.007361433982849121, | |
0.0072342329025268555, | |
0.007223672866821289, | |
0.007169114112854004, | |
0.007093274116516114, | |
0.007070713043212891, | |
0.0070425539016723635, | |
0.017449583053588867, | |
0.005150556087493896, | |
0.006985273838043213, | |
0.006962073802947998, | |
0.006984474182128907, | |
0.007026233196258545, | |
0.006971834182739257, | |
0.0069667139053344726, | |
0.0069473528861999515, | |
0.006915833950042725, | |
0.00819951343536377, | |
0.007155033111572265, | |
0.006806394100189209, | |
0.006757113933563232, | |
0.00675839376449585, | |
0.006755194187164307, | |
0.006770073890686035, | |
0.00676271390914917, | |
0.0067582340240478515, | |
0.006794394016265869, | |
0.00679103422164917, | |
0.006760794162750244, | |
0.006790234088897705, | |
0.006801593780517578, | |
0.00678287410736084, | |
0.006778233051300049, | |
0.00679487419128418, | |
0.006787193775177002, | |
0.006771033763885498, | |
0.0067673540115356446, | |
0.006798714160919189, | |
0.0067839941978454586, | |
0.006951513767242431, | |
0.006949594020843506, | |
0.006980154037475586, | |
0.006950393199920655, | |
0.006959834098815918, | |
0.006916153907775879, | |
0.007036472797393799, | |
0.006942234039306641, | |
0.006962394237518311, | |
0.006882713794708252, | |
0.0070019130706787105, | |
0.007098713874816895, | |
0.007117273807525634, | |
0.007062553882598877, | |
0.006937113761901856, | |
0.006889753818511963, | |
0.006922712802886963, | |
0.006965273857116699, | |
0.0069411139488220214, | |
0.00691935396194458, | |
0.006950552940368652, | |
0.006997754096984863, | |
0.006806233882904053, | |
0.006793913841247559, | |
0.006778714179992676, | |
0.006786232948303223, | |
0.00680143404006958, | |
0.006821273803710937, | |
0.006843513965606689, | |
0.006812794208526611, | |
0.006861114025115967, | |
0.0067932729721069335, | |
0.006789113998413086, | |
0.006768313884735108, | |
0.0068078341484069825, | |
0.0068078341484069825, | |
0.006792473793029785, | |
0.006806233882904053, | |
0.0067737531661987305, | |
0.0068028740882873535, | |
0.006791354179382324, | |
0.00680527400970459, | |
0.0068083138465881345, | |
0.006805113792419434, | |
0.006817753791809082, | |
0.0068359928131103516, | |
0.0069857540130615235, | |
0.006812314033508301, | |
0.006809914112091064, | |
0.006769114017486573, | |
0.0068359928131103516, | |
0.006778394222259522, | |
0.00678127384185791, | |
0.006822554111480713, | |
0.006787993907928467, | |
0.006754874229431152, | |
0.006803353786468506, | |
0.006774553775787354, | |
0.006806873798370362, | |
0.006791193962097168, | |
0.007321914196014404, | |
0.007079514026641845, | |
0.007068634033203125, | |
0.007097912788391113, | |
0.007031673908233642, | |
0.006904633998870849, | |
0.0069052729606628414, | |
0.007079673767089844, | |
0.0069667139053344726, | |
0.006932794094085693, | |
0.0068791937828063966, | |
0.006975193977355957, | |
0.0069764738082885745, | |
0.00729999303817749, | |
0.007923353195190429, | |
0.008046712875366211, | |
0.008027671813964844, | |
0.008053273200988769, | |
0.008091193199157715, | |
0.008054073333740235, | |
0.008067192077636719, | |
0.008065113067626953, | |
0.008074393272399902, | |
0.008077431678771972, | |
0.008083992958068848, | |
0.008084953308105469, | |
0.008059673309326172, | |
0.007501273155212402, | |
0.007137753009796142, | |
0.0071374340057373045, | |
0.007122073173522949, | |
0.007108153820037842, | |
0.007132954120635986, | |
0.00710895299911499, | |
0.007102074146270752, | |
0.007090871810913086 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.56723031001283 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |