Troubleshooting

If things don’t work as expected, use this page to help guide your debugging. The more information you can gather, the easier it will be for you to fix the problem yourself or provide detailed information in a bug report. If you’re running into backend-specific errors, also take a look at the troubleshooting section for your backend.

Use the latest version

The inference server is in continuous development and every commit to the repository is tested so using the main branch directly should be the best way to get the latest features and bug fixes. Make sure you are using the latest version and that your container and source code versions match.

Use server logs

You will need access to the running server to debug most issues. While the server may respond to erroneous requests from the client with information about what failed, it will probably not have sufficient context to learn the underlying cause. Instead, you should look at the server logs, if they are enabled. By default, the server logs are in ~/.amdinfer/logs/server.log. The home directory where the logs are located depend on how the server was started. If it is running as root, as is the case in deployment containers, the root user’s home directory is in /root/*. If it is running as the non-root user in the development container, the home directory is in /home/amdinfer-user/*.

Build errors

You may encounter some errors during building the server with amdinfer build. Most commonly, the resolution to these errors is to try building again with one or more flags:

  • --regen: delete the CMakeCache.txt and regenerate the CMake configuration. This will help rebuild the project if you have cached variables or if the configuration is incomplete

  • --clean: do a clean build

If you have build errors, try adding one or both of these flags to see if that resolves your problem first.