rapidsai / docs

RAPIDS Documentation Site
https://docs.rapids.ai
36 stars 50 forks source link

add uv pip install method #510

Closed raybellwaves closed 6 months ago

raybellwaves commented 6 months ago

Closes https://github.com/rapidsai/docs/issues/498

See the build at https://deploy-preview-510--docs-rapids-ai.netlify.app/install

Works as expected

Screenshot 2024-04-13 at 10 45 03 PM

Apologies for the linting edits as well

While uv pip offers a ~2-3 x RAPIDS install (4 min 19 s -> 1 min 34 s: https://colab.research.google.com/drive/1d3_gb_4y2Xgvl6xBBdknfwUV8Heq-nzJ) compared to pip it may not be as stable. However, from my experience the astral folks are pretty quick at fixing bugs (e.g. https://github.com/astral-sh/uv/issues/2477). I don't know if the docs here also need to include a section on how to download uv and troubleshoot.

netlify[bot] commented 6 months ago

Deploy Preview for docs-rapids-ai ready!

Built without sensitive environment variables

Name Link
Latest commit 67beb58b55aba82e71de2164947860c16ee6769a
Latest deploy log https://app.netlify.com/sites/docs-rapids-ai/deploys/661b428cdb7b1d0008db3147
Deploy Preview https://deploy-preview-510--docs-rapids-ai.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

bdice commented 6 months ago

@raybellwaves I'm really eager to play more with uv on my own system, but I don't think it's stable enough to be used for the default installation of RAPIDS. For the same reasons, we have stuck with conda as our default installation command even when mamba presented a compelling alternative (until conda added the libmamba solver, which is now the best of both worlds -- hopefully pip can borrow some ideas for improved performance from uv). I encourage users to try out uv but I don't think we're ready to make this switch.

I'll close this PR for cleanup -- but feel free to keep using uv and share your findings if you run into any issues with RAPIDS and uv.