The Caveat of PyTorch Hook

Recently I extensively use hook as a “wrapper” of available models. Is there any caveat about using the PyTorch hook in the production stage? I saw hook is commonly used in development stage (visualization or debugging) is that any threats that I need to aware of if I use it in production (especially the forward hook)?