Add Apple ML-Sharp
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
FROM continuumio/miniconda3:latest
|
||||
|
||||
WORKDIR /workspace/ml-sharp
|
||||
COPY ml-sharp .
|
||||
|
||||
RUN conda create -n sharp python=3.13
|
||||
SHELL ["conda", "run", "-n", "sharp", "/bin/bash", "-c"]
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip3 install --no-cache-dir \
|
||||
--index-url https://download.pytorch.org/whl/cu130 \
|
||||
#--extra-index-url https://mirrors.tencent.com/pytorch-wheels/whl/cu130/ \
|
||||
torch \
|
||||
torchvision
|
||||
|
||||
WORKDIR /workspace
|
||||
RUN echo "conda activate sharp" >> ~/.profile
|
||||
CMD ["/bin/bash", "-l"]
|
||||
Reference in New Issue
Block a user