multimodalart HF staff commited on
Commit
946af1b
·
verified ·
1 Parent(s): 0464fd2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -12,7 +12,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
12
  ca-certificates \
13
  build-essential \
14
  libsndfile1 \
15
- && rm -rf /var/lib/apt/lists/*
 
16
 
17
  # Create non-root user first
18
  RUN useradd -m -u 1000 user
@@ -47,11 +48,14 @@ RUN pip install flash-attn --no-build-isolation
47
  WORKDIR $HOME/app
48
 
49
  RUN git lfs install && \
50
- git clone https://github.com/multimodal-art-projection/YuE.git && \
51
  cd YuE && \
52
  git lfs pull && \
 
 
 
53
  pip install -r requirements.txt
54
-
55
  WORKDIR $HOME/app/YuE/inference
56
  RUN git clone https://huggingface.co/m-a-p/xcodec_mini_infer
57
 
 
12
  ca-certificates \
13
  build-essential \
14
  libsndfile1 \
15
+ && rm -rf /var/lib/apt/lists/* \
16
+ && git lfs install --system
17
 
18
  # Create non-root user first
19
  RUN useradd -m -u 1000 user
 
48
  WORKDIR $HOME/app
49
 
50
  RUN git lfs install && \
51
+ git clone --recursive https://github.com/multimodal-art-projection/YuE.git && \
52
  cd YuE && \
53
  git lfs pull && \
54
+ cd inference && \
55
+ git lfs checkout && \
56
+ cd .. && \
57
  pip install -r requirements.txt
58
+
59
  WORKDIR $HOME/app/YuE/inference
60
  RUN git clone https://huggingface.co/m-a-p/xcodec_mini_infer
61