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
If you navigate to https://www.nebari.dev/docs/how-tos/pytorch-best-practices you will get a 301 redirect to https://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 from https://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 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 http://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.
Also see the FAQ answer to [Why doesn't my code recognize the GPU(s) on Nebari?][why gpus not recognized]
[pytorch installation matrix]: https://pytorch.org/get-started
[why gpus not recognized]: ../faq#why-doesnt-my-code-recognize-the-gpus-on-nebari
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:
Adam-D-Lewis
changed the title
[BUG] - Inconsistent behavior of prod and local deployments
[BUG] - Inconsistent behavior of prod and local deployments and sometimes broken link
Apr 11, 2024
Adam-D-Lewis
changed the title
[BUG] - Inconsistent behavior of prod and local deployments and sometimes broken link
[BUG] - Inconsistent behavior of prod and local deployments and flaky broken link
Apr 11, 2024
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
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 http://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: