Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. #3204

Open
aalbersk opened this issue Jun 24, 2024 · 1 comment
Labels
java Pull requests that update Java code

Comments

@aalbersk
Copy link

Hi, I've been running models with Torchserve 0.11.0 on Sagemaker and noticed following warning:
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. when starting the Torchserve.

I read that this method was removed in Java8 (https://stackoverflow.com/questions/23808803/sun-reflect-reflection-getcallerclass-alternative?noredirect=1&lq=1). How does lack of support for this method affect performance? What is required to get rid of this warning when running torchserve?

@agunapal agunapal added the java Pull requests that update Java code label Jun 24, 2024
@agunapal
Copy link
Collaborator

Hi @aalbersk We benchmark TorchServe on a nightly basis and In general, we haven't see the java portion of TorchServe show any regression.

But we will look into this warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

2 participants