-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Refactor Naming Conventions, Update Dependencies, Enhance Exampl…
…es, and Add Volume Validation Check (#470) **Reason for Change**: This PR includes a bunch of renaming and chore changes. It includes: 1. Package renaming to avoid hyphens in package names for phi-2 and phi-3. 2. Updating pip dependencies required for phi-3 3. Use huggingface naming for plugins with hyphens 4. Add phi3 to examples folder 5. Readme: Update phi-3 example requests 6. Change ConfigMapTemplate back to Config and update the comments 7. Fix a device error encountered by inference API UTs by explicitly specifying device 8. Raise not implemented error in validation for using volume
- Loading branch information
1 parent
e592eb3
commit f2b3504
Showing
22 changed files
with
156 additions
and
137 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 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
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
20 changes: 0 additions & 20 deletions
20
examples/fine-tuning/kaito_workspace_tuning_falcon_7b.yaml
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,19 @@ | ||
apiVersion: kaito.sh/v1alpha1 | ||
kind: Workspace | ||
metadata: | ||
name: workspace-tuning-phi-3 | ||
resource: | ||
instanceType: "Standard_NC6s_v3" | ||
labelSelector: | ||
matchLabels: | ||
app: tuning-phi-3 | ||
tuning: | ||
preset: | ||
name: phi-3-mini-128k-instruct | ||
method: qlora | ||
input: | ||
urls: | ||
- "https://huggingface.co/datasets/philschmid/dolly-15k-oai-style/resolve/main/data/train-00000-of-00001-54e3756291ca09c6.parquet?download=true" | ||
output: | ||
image: "ACR_REPO_HERE.azurecr.io/ADAPTER_HERE:0.0.1" # Tuning Output ACR Path | ||
imagePushSecret: ACR_REGISTRY_SECRET_HERE |
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,13 @@ | ||
apiVersion: kaito.sh/v1alpha1 | ||
kind: Workspace | ||
metadata: | ||
name: workspace-phi-3-mini | ||
resource: | ||
instanceType: "Standard_NC6s_v3" | ||
labelSelector: | ||
matchLabels: | ||
apps: phi-3 | ||
inference: | ||
preset: | ||
name: phi-3-mini-4k-instruct | ||
# Note: This configuration also works with the phi-3-mini-128k-instruct preset |
Oops, something went wrong.