Skip to content

Commit

Permalink
Merge branch 'main' into update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
anhuong authored Oct 3, 2024
2 parents 8bf3d4f + 7b97e9e commit 8252711
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ name: Format

on:
push:
branches: [ "main" ]
branches: [ "main", "release" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "release" ]

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Image
on:
push:
branches: [ "main" ]
branches: [ "main", "release" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "release" ]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Test
on:
push:
branches: [ "main" ]
branches: [ "main", "release" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "release" ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# https://help.github.com/en/articles/about-code-owners
#

* @anhuong @Ssukriti @alex-jw-brooks
* @anhuong @Ssukriti @aluu317 @fabianlim @kmehant
2 changes: 1 addition & 1 deletion tuning/utils/merge_model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def post_process_vLLM_adapters_new_tokens(
# vLLM requires renaming to output_embeddings
new_embeddings["output_embeddings"] = new_output_embeddings

elif "embed_tokens.weight" in k:
elif "embed_tokens.weight" in k or "wte.weight" in k:
embed_tokens = f.get_tensor(k)
# pull out tensor values of new tokens
new_input_embeddings = embed_tokens[-num_added_tokens:]
Expand Down

0 comments on commit 8252711

Please sign in to comment.