mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-05 14:01:22 +02:00
ci : add HF_TOKEN to docker.yml workflow [no ci] (#3861)
This commit adds the HF_TOKEN secret to the docker workflows to avoid HF rate limiting which currently sometimes causes the jobs to fail. Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/27053852601/job/79854251771
This commit is contained in:
@@ -25,7 +25,7 @@ ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
|
||||
|
||||
COPY .. .
|
||||
# Enable cuBLAS
|
||||
RUN make base.en CMAKE_ARGS="-DGGML_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES='75;80;86;90'"
|
||||
RUN --mount=type=secret,id=HF_TOKEN,required=false,env=HF_TOKEN make base.en CMAKE_ARGS="-DGGML_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES='75;80;86;90'"
|
||||
|
||||
RUN find /app/build -name "*.o" -delete && \
|
||||
find /app/build -name "*.a" -delete && \
|
||||
|
||||
Reference in New Issue
Block a user