Add Apple ML-Sharp
This commit is contained in:
@@ -18,3 +18,7 @@
|
||||
path = mq3drecon/metaquest-3d-reconstruction
|
||||
url = https://github.com/t-34400/metaquest-3d-reconstruction
|
||||
branch = main
|
||||
[submodule "ml-sharp"]
|
||||
path = ml-sharp/ml-sharp
|
||||
url = https://github.com/apple/ml-sharp.git
|
||||
branch = main
|
||||
|
||||
@@ -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"]
|
||||
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
|
||||
ml-sharp:
|
||||
build:
|
||||
context: .
|
||||
image: ml-sharp:me
|
||||
extends:
|
||||
file: ../config.yml
|
||||
service: base-app
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./ml-sharp
|
||||
target: /workspace/ml-sharp
|
||||
- type: bind
|
||||
source: ./.cache
|
||||
target: /root/.cache
|
||||
Submodule
+1
Submodule ml-sharp/ml-sharp added at 1eaa046834
@@ -0,0 +1 @@
|
||||
docker compose run --rm -it --name ml-sharp ml-sharp
|
||||
Reference in New Issue
Block a user