File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2929 python -m pip install -e .[all]
3030
3131 - name : Build wheels
32- uses : pypa/cibuildwheel@v2.19.2
32+ uses : pypa/cibuildwheel@v2.20.0
3333 env :
3434 # disable repair
3535 CIBW_REPAIR_WHEEL_COMMAND : " "
5656 platforms : linux/arm64
5757
5858 - name : Build wheels
59- uses : pypa/cibuildwheel@v2.19.2
59+ uses : pypa/cibuildwheel@v2.20.0
6060 env :
6161 CIBW_SKIP : " *musllinux* pp*"
6262 CIBW_REPAIR_WHEEL_COMMAND : " "
Original file line number Diff line number Diff line change 3030 python -m pip install -e .[all]
3131
3232 - name : Build wheels
33- uses : pypa/cibuildwheel@v2.19.2
33+ uses : pypa/cibuildwheel@v2.20.0
3434 env :
3535 # disable repair
3636 CIBW_REPAIR_WHEEL_COMMAND : " "
Original file line number Diff line number Diff line change @@ -777,11 +777,12 @@ def generate(
777777 else :
778778 break
779779 if longest_prefix > 0 :
780- if self .verbose :
781- print ("Llama.generate: prefix-match hit" , file = sys .stderr )
782780 reset = False
783781 tokens = tokens [longest_prefix :]
784782 self .n_tokens = longest_prefix
783+ if self .verbose :
784+ print (f"Llama.generate: { longest_prefix } prefix-match hit, "
785+ f"remaining { len (tokens )} prompt tokens to eval" , file = sys .stderr )
785786
786787 # Reset the model state
787788 if reset :
@@ -2159,7 +2160,7 @@ def from_pretrained(
21592160
21602161 files = [
21612162 file ["name" ] if isinstance (file , dict ) else file
2162- for file in hffs .ls (repo_id )
2163+ for file in hffs .ls (repo_id , recursive = True ) )
21632164 ]
21642165
21652166 # split each file into repo_id, subfolder, filename
You can’t perform that action at this time.
0 commit comments