IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c9c61d8
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 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.3.1", | |
"optimum_benchmark_commit": "5ae03a669d2c4893dc609854294ec3bac19528a3", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.668288, | |
"max_global_vram": 841.752576, | |
"max_process_vram": 46840.700928, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3737080078125, | |
"mean": 7.3737080078125, | |
"stdev": 0.0, | |
"p50": 7.3737080078125, | |
"p90": 7.3737080078125, | |
"p95": 7.3737080078125, | |
"p99": 7.3737080078125, | |
"values": [ | |
7.3737080078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.823808, | |
"max_global_vram": 896.929792, | |
"max_process_vram": 216753.905664, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9963849978446959, | |
"mean": 0.007907817443211873, | |
"stdev": 0.00032506918824663935, | |
"p50": 0.008003146648406982, | |
"p90": 0.008163465976715089, | |
"p95": 0.008297984123229981, | |
"p99": 0.008521303176879883, | |
"values": [ | |
0.008223625183105468, | |
0.008295944213867187, | |
0.008495622634887696, | |
0.00820074462890625, | |
0.007998507022857666, | |
0.0081605863571167, | |
0.008105385780334472, | |
0.007937066078186035, | |
0.008370183944702148, | |
0.008298664093017579, | |
0.008291943550109863, | |
0.00841002368927002, | |
0.00817642593383789, | |
0.008166345596313476, | |
0.008127145767211914, | |
0.00814090633392334, | |
0.008352423667907715, | |
0.008148745536804199, | |
0.008160426139831542, | |
0.008109545707702637, | |
0.008109384536743165, | |
0.008125704765319824, | |
0.008150824546813965, | |
0.009587295532226562, | |
0.008529863357543944, | |
0.008018026351928711, | |
0.008039626121520996, | |
0.008022665977478027, | |
0.008065864562988282, | |
0.008030985832214356, | |
0.008050025939941407, | |
0.00800506591796875, | |
0.007967785835266113, | |
0.007951147079467773, | |
0.007978346824645996, | |
0.007997226238250733, | |
0.008027305603027344, | |
0.007954505920410157, | |
0.00799018621444702, | |
0.008031146049499512, | |
0.00800474739074707, | |
0.0079530668258667, | |
0.008037225723266601, | |
0.008008586883544921, | |
0.008027947425842286, | |
0.007996266841888427, | |
0.008042186737060546, | |
0.00799610710144043, | |
0.008017066955566407, | |
0.00799946689605713, | |
0.008018507003784179, | |
0.008029067039489746, | |
0.007503310203552246, | |
0.007387629985809326, | |
0.007461550235748291, | |
0.007576590061187744, | |
0.007422831058502197, | |
0.007534510135650635, | |
0.007372910022735595, | |
0.007513548851013184, | |
0.007482510089874267, | |
0.0075351490974426266, | |
0.007396590232849121, | |
0.007649068832397461, | |
0.007474508762359619, | |
0.007350990772247315, | |
0.007365709781646729, | |
0.007416749954223633, | |
0.0077058677673339845, | |
0.007326671123504639, | |
0.00752954912185669, | |
0.0073420310020446775, | |
0.007739789009094238, | |
0.0074602699279785155, | |
0.007654988765716552, | |
0.007610669136047363, | |
0.007480110168457031, | |
0.007361391067504883, | |
0.007582028865814209, | |
0.007568428993225098, | |
0.007481389999389648, | |
0.007202511787414551, | |
0.007606829166412353, | |
0.007667149066925049, | |
0.0075588288307189945, | |
0.007680428028106689, | |
0.007465710163116455, | |
0.007623309135437011, | |
0.007538829803466797, | |
0.007599309921264648, | |
0.00737083101272583, | |
0.007947946071624756, | |
0.008015786170959473, | |
0.007988265991210938, | |
0.007957706928253174, | |
0.008105225563049316, | |
0.008001545906066894, | |
0.008019946098327636, | |
0.007997226238250733, | |
0.008014825820922852, | |
0.008055146217346192, | |
0.008073225021362304, | |
0.008057065963745117, | |
0.0080460262298584, | |
0.008006985664367677, | |
0.008045705795288086, | |
0.008107304573059082, | |
0.008068105697631837, | |
0.007972426891326904, | |
0.008042346000671387, | |
0.008046186447143555, | |
0.008083306312561035, | |
0.008027626037597655, | |
0.008060425758361816, | |
0.008063466072082519, | |
0.008033705711364745, | |
0.008043465614318847, | |
0.007958506107330322, | |
0.008034026145935059, | |
0.007999626159667969, | |
0.007994505882263183, | |
0.007962825775146485, | |
0.00799930715560913, | |
0.008034666061401368, | |
0.008007946014404297, | |
0.007978025913238526 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.45714284393442 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |