IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e26cd79
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": "dc29eecfd7850e87154a5a92442eb64d237d0070", | |
"transformers_version": "4.41.0", | |
"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": 1009.135616, | |
"max_global_vram": 1877.508096, | |
"max_process_vram": 197300.936704, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9949955711364745, | |
"mean": 0.00765381208566519, | |
"stdev": 0.00021724936087220978, | |
"p50": 0.007602646589279175, | |
"p90": 0.00777071008682251, | |
"p95": 0.007843358564376832, | |
"p99": 0.00839165657997131, | |
"values": [ | |
0.007842566013336182, | |
0.007797767162322998, | |
0.007844007015228272, | |
0.007801287174224854, | |
0.007989605903625489, | |
0.007864326000213624, | |
0.008038247108459472, | |
0.007997447013854981, | |
0.007317767143249511, | |
0.007328005790710449, | |
0.007689766883850098, | |
0.0076816058158874516, | |
0.007649607181549072, | |
0.007690085887908936, | |
0.0077108869552612305, | |
0.007762406826019287, | |
0.007789766788482666, | |
0.007719205856323242, | |
0.007732807159423828, | |
0.007690086841583252, | |
0.007756485939025879, | |
0.007787847042083741, | |
0.007818246841430664, | |
0.007743845939636231, | |
0.007768805980682373, | |
0.007667686939239502, | |
0.007635046005249024, | |
0.00761392593383789, | |
0.008536006927490234, | |
0.009678567886352539, | |
0.007594086170196533, | |
0.007553126811981201, | |
0.007574407100677491, | |
0.007538405895233155, | |
0.007540486812591553, | |
0.007603206157684326, | |
0.007567687034606934, | |
0.007600485801696777, | |
0.007588167190551758, | |
0.007619046211242676, | |
0.007586246013641358, | |
0.0076252870559692385, | |
0.007599366188049316, | |
0.007580327033996582, | |
0.0076089658737182615, | |
0.007578406810760498, | |
0.0076579270362854, | |
0.007744485855102539, | |
0.00759632682800293, | |
0.007567686080932617, | |
0.007591846942901611, | |
0.00764976692199707, | |
0.007651525974273682, | |
0.007586087226867676, | |
0.007580965995788574, | |
0.007602087020874023, | |
0.007576965808868409, | |
0.007596167087554931, | |
0.007580327033996582, | |
0.007583206176757813, | |
0.007578086853027344, | |
0.00757408618927002, | |
0.007552806854248047, | |
0.007607205867767334, | |
0.007589447021484375, | |
0.007676327228546142, | |
0.007583526134490967, | |
0.007622567176818848, | |
0.0075948858261108395, | |
0.00757056713104248, | |
0.007622725963592529, | |
0.007579687118530273, | |
0.007614566802978516, | |
0.0076040058135986325, | |
0.00762080717086792, | |
0.007600646018981933, | |
0.007581767082214356, | |
0.007573925971984864, | |
0.007653286933898926, | |
0.007610086917877197, | |
0.007644805908203125, | |
0.0076820869445800785, | |
0.007661606788635254, | |
0.007657765865325928, | |
0.007577287197113037, | |
0.007596005916595459, | |
0.007594407081604004, | |
0.0075937662124633785, | |
0.007598886966705323, | |
0.007594566822052002, | |
0.007596965789794922, | |
0.0075787267684936524, | |
0.0075942459106445315, | |
0.00758864688873291, | |
0.007614406108856201, | |
0.007576966762542724, | |
0.007598886966705323, | |
0.00761392593383789, | |
0.007610406875610352, | |
0.007607046127319336, | |
0.007631846904754639, | |
0.007604166984558105, | |
0.007593445777893067, | |
0.007619687080383301, | |
0.007585926055908203, | |
0.007583207130432129, | |
0.007578085899353027, | |
0.007611526012420654, | |
0.00764544677734375, | |
0.007595205783843994, | |
0.007604967117309571, | |
0.007608166217803955, | |
0.007590887069702149, | |
0.007608966827392578, | |
0.007584166049957275, | |
0.007597927093505859, | |
0.007604485988616944, | |
0.007567047119140625, | |
0.00759872579574585, | |
0.007584167003631592, | |
0.007614887237548828, | |
0.007583045959472656, | |
0.007583686828613281, | |
0.007587845802307129, | |
0.00760688591003418, | |
0.007620645999908447, | |
0.007598406791687011, | |
0.007582406997680664, | |
0.007574885845184326, | |
0.007585607051849365 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.65384788749884 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |