-
Notifications
You must be signed in to change notification settings - Fork 28
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
[BUG] - Inconsistent behavior of prod and local deployments and flaky broken link #426
Labels
type: bug 🐛
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you navigate to
https://www.nebari.dev/docs/how-tos/pytorch-best-practices
you will get a 301 redirect tohttps://www.nebari.dev/docs/how-tos/pytorch-best-practices/
(added trailing slash). The Why doesn't my code recognize the GPU(s) on Nebari? link on that page is broken when you click on it fromhttps://www.nebari.dev/docs/how-tos/pytorch-best-practices/
.However, if you click on "Best practices for Pytorch on Nebari" in the sidebar then you are taken to
![image](https://private-user-images.githubusercontent.com/23342526/321694288-523c0388-eeee-495b-a963-6036adf63dfd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxMDE4MDMsIm5iZiI6MTcyNTEwMTUwMywicGF0aCI6Ii8yMzM0MjUyNi8zMjE2OTQyODgtNTIzYzAzODgtZWVlZS00OTViLWE5NjMtNjAzNmFkZjYzZGZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDEwNTE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwMTBlZTViZDgyNTRiZWM0NmJmNjRjYzQ4NDQ1YjRjYmQ0YzNmMTIzZDU4ZGU4NWNiZWI3NGFkNjI5YmY5M2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.B9UfQ5OEbByWfyAtVW0rktAhDGMmgMvJx6lSN7JFDoY)
https://www.nebari.dev/docs/how-tos/pytorch-best-practices
and the "Why doesn't my code recognize the GPU(s) on Nebari?" links works as expected.Note, however that you don't get the redirect response when navigating to https://localhost:3000/docs/how-tos/pytorch-best-practices when deploying the docs locally. I see we're deploying through Netlify, so maybe it's a netlify setting that is causing the discrepancy, but I'm not familiar enough with Netlify to know for sure.
The cause for the broken link when the trailing slash is added is because the link is relative and the trailing slash is not expected. See below.
Expected behavior
No 301 redirect
How to Reproduce the problem?
see above
Command output
No response
Versions and dependencies used.
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: