We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 146221c commit d81ce0cCopy full SHA for d81ce0c
.github/workflows/cache-hf-model.yml
@@ -14,12 +14,15 @@
14
name: "Cache HuggingFace Model"
15
16
on:
17
- workflow_dispatch:
18
- inputs:
19
- hf-model-id:
20
- type: string
21
- description: HuggingFace repo ID of the model to cache
22
- required: true
+ push:
+ branches:
+ - "maanug/cache-hf-model"
+ # workflow_dispatch:
+ # inputs:
+ # hf-model-id:
23
+ # type: string
24
+ # description: HuggingFace repo ID of the model to cache
25
+ # required: true
26
27
jobs:
28
download:
@@ -41,7 +44,8 @@ jobs:
41
44
42
45
- name: Download model
43
46
env:
- MODEL_ID: ${{ github.event.inputs.hf-model-id }}
47
+ # MODEL_ID: ${{ github.event.inputs.hf-model-id }}
48
+ MODEL_ID: "google/gemma-3-270m"
49
shell: python
50
run: |
51
import os
0 commit comments