flowmaster commited on
Commit
02c7547
·
1 Parent(s): 9c8864d

fix(build): reference vendored yue2 wheel by HF resolve URL

Browse files

The Space build mounts only requirements.txt at pip time (relative
wheels/ path is not present in the image yet), so pip reported the file
missing. Point the requirement at the wheel's HF resolve URL instead;
the file itself stays vendored in-repo (non-LFS).

Files changed (1) hide show
  1. requirements.txt +2 -2
requirements.txt CHANGED
@@ -26,10 +26,10 @@ transformers>=4.47.0
26
 
27
  # YuE2-3B inference wheel (m-a-p/YuE2-3B ships it). The upstream wheel's
28
  # Requires-Dist pins (torch==2.10.0, huggingface-hub==0.36.2) would break the
29
- # diffusers pin above, so wheels/yue2_infer-0.1.5-py3-none-any.whl is the same
30
  # wheel repackaged WITHOUT Requires-Dist. Core runtime only needs torch +
31
  # transformers + tiktoken + soundfile, all already resolved here.
32
- wheels/yue2_infer-0.1.5-py3-none-any.whl
33
  tiktoken>=0.12.0
34
 
35
  # Use prebuilt CUDA wheel to avoid compiling from source (causes HF build timeout)
 
26
 
27
  # YuE2-3B inference wheel (m-a-p/YuE2-3B ships it). The upstream wheel's
28
  # Requires-Dist pins (torch==2.10.0, huggingface-hub==0.36.2) would break the
29
+ # diffusers pin above, so https://huggingface.co/spaces/abalanescu/flow2/resolve/main/wheels/yue2_infer-0.1.5-py3-none-any.whl is the same
30
  # wheel repackaged WITHOUT Requires-Dist. Core runtime only needs torch +
31
  # transformers + tiktoken + soundfile, all already resolved here.
32
+ https://huggingface.co/spaces/abalanescu/flow2/resolve/main/wheels/yue2_infer-0.1.5-py3-none-any.whl
33
  tiktoken>=0.12.0
34
 
35
  # Use prebuilt CUDA wheel to avoid compiling from source (causes HF build timeout)