multimodalart HF staff commited on
Commit
a39b430
·
verified ·
1 Parent(s): 8a61fed

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -10
Dockerfile CHANGED
@@ -47,22 +47,17 @@ RUN pip install flash-attn --no-build-isolation
47
  # First clone repositories and create directories
48
  WORKDIR $HOME/app
49
 
50
- # Clone YuE repository and install dependencies with proper LFS handling
51
  RUN git lfs install && \
52
- git clone https://github.com/multimodal-art-projection/YuE.git && \
53
  cd YuE && \
54
- git lfs fetch && \
55
  git lfs pull && \
 
56
  git lfs checkout && \
 
57
  pip install -r requirements.txt
58
-
59
- # Go to inference directory and clone the required model
60
  WORKDIR $HOME/app/YuE/inference
61
-
62
- # Clone xcodec_mini_infer with proper LFS handling
63
- RUN git clone https://huggingface.co/m-a-p/xcodec_mini_infer && \
64
- cd xcodec_mini_infer && \
65
- git lfs pull && \
66
 
67
  # Create output directory
68
  RUN mkdir -p $HOME/app/output
 
47
  # First clone repositories and create directories
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
 
62
  # Create output directory
63
  RUN mkdir -p $HOME/app/output