You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried custom backend for my text generating model. I have allocated some memory and released them. However, to match the logic of the model, I have changed them about the request and response process. I tried running it and it successfully loaded the model, but I found there was a memory leak. My code is based on the bls_custom example. I tried observing from the original code and my code and actually saw that my code's memory increased (1000 requests increased by about 3Mb) while the original code would increase and decrease. Can you take a look and show me where the problem is? I'm also new to C++, so the code will have a lot of confusing places
I tried custom backend for my text generating model. I have allocated some memory and released them. However, to match the logic of the model, I have changed them about the request and response process. I tried running it and it successfully loaded the model, but I found there was a memory leak. My code is based on the bls_custom example. I tried observing from the original code and my code and actually saw that my code's memory increased (1000 requests increased by about 3Mb) while the original code would increase and decrease. Can you take a look and show me where the problem is? I'm also new to C++, so the code will have a lot of confusing places
The text was updated successfully, but these errors were encountered: