add jax to pyai

This commit is contained in:
ben0i0d 2025-02-06 13:17:33 +08:00
parent 4182a38b0d
commit c1d92590b8
2 changed files with 2 additions and 1 deletions

View File

@ -2,5 +2,6 @@ FROM eoelab.org:1027/eoeair/jupyter:py-c
# install torch
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
pip install jax[cpu] && \
pip cache purge

View File

@ -1,6 +1,6 @@
FROM eoelab.org:1027/eoeair/jupyter:scipy-g
# install torch transformers
RUN pip install torch torchvision torchaudio && \
RUN pip install torch torchvision torchaudio "jax[cuda12]" && \
pip cache purge