-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add e2e test for updating adapters (#566)
**Reason for Change**: Add e2e tests for updating adapters and validation of it Add controller revision validation to e2e test **Requirements** - [ ] added unit tests and e2e tests (if applicable). **Issue Fixed**: <!-- If this PR fixes GitHub issue 4321, add "Fixes #4321" to the next line. --> **Notes for Reviewers**: Signed-off-by: Bangqi Zhu <bangqizhu@microsoft.com> Co-authored-by: Bangqi Zhu <bangqizhu@microsoft.com>
- Loading branch information
1 parent
ab3851a
commit 61d9a1f
Showing
12 changed files
with
158 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM busybox:latest | ||
|
||
ARG ADAPTER_PATH=docker/adapters/adapter1 | ||
|
||
RUN mkdir -p /data | ||
|
||
COPY ${ADAPTER_PATH}/adapter_config.json /data/ | ||
COPY ${ADAPTER_PATH}/adapter_model.safetensors /data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"alpha_pattern": {}, | ||
"auto_mapping": null, | ||
"base_model_name_or_path": "/workspace/tfs/weights", | ||
"bias": "none", | ||
"fan_in_fan_out": false, | ||
"inference_mode": true, | ||
"init_lora_weights": true, | ||
"layers_pattern": null, | ||
"layers_to_transform": null, | ||
"lora_alpha": 16, | ||
"lora_dropout": 0.01, | ||
"modules_to_save": null, | ||
"peft_type": "LORA", | ||
"r": 4, | ||
"rank_pattern": {}, | ||
"revision": null, | ||
"target_modules": [ | ||
"query_key_value" | ||
], | ||
"task_type": "CAUSAL_LM" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters