-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentation for Quick Start and Base Model deployment #745
Open
xieus
wants to merge
1
commit into
main
Choose a base branch
from
xieus/add_install_prerequisites
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Quickstart | |
Install AIBrix | ||
^^^^^^^^^^^^^^ | ||
|
||
Get your kubernetes cluster ready, run following commands to install aibrix components in your cluster. | ||
Install Docker and Kubernetes, get your Kubernetes cluster ready, and run the following commands to install AIBrix components in your Kubernetes cluster. | ||
|
||
.. note:: | ||
If you just want to install specific components or specific version, please check installation guidance for more installation options. | ||
|
@@ -30,9 +30,12 @@ Wait for few minutes and run `kubectl get pods -n aibrix-system` to check pod st | |
aibrix-redis-master-84769768cb-fsq45 1/1 Running 0 5h24m | ||
|
||
|
||
Deploy base model | ||
Deploy Base Model | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
.. note:: | ||
In the given example, please ensure that your node is equipped with NVIDIA GPUs. Otherwise, the pod will stuck in pending state. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Most users will expect to run this on GPU env. I think here we do not want to implicitly mention NVIDIA GPUs is needed. Technically, amd gpus or other NPUs works as well. we can say device plugin for accelerator is needed. |
||
|
||
Save yaml as `model.yaml` and run `kubectl apply -f model.yaml`. | ||
|
||
.. literalinclude:: ../../../samples/quickstart/model.yaml | ||
|
@@ -44,7 +47,7 @@ Ensure that: | |
2. The `--served-model-name` argument value in the `Deployment` command is also consistent with the `Service` name and `model.aibrix.ai/name` label. | ||
|
||
|
||
Invoke the model endpoint using gateway api | ||
Invoke the Model Endpoint via Gateway API | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Depending on where you deployed the AIBrix, you can use either of the following options to query the gateway. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, docker is not necessary, people may need other container runtimes like containerd or cri-o.
After getting Kubernetes ready
should be good. container runtime is prerequsite to run kubernetes. Most of the users will use public cloud provides kubernetes in prod, there's no need toinstall
it.