-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Mistral Guide and Assets (#3127)
- **Documentation** - Updated the summary of `mistral.md` to include specific details about the new functionality. - Modified section headers in `concurrency-quota-management.md` and `concurrency-control-and-prioritization.md`. - Made minor text modifications for clarity and consistency in various documentation files.
- Loading branch information
Showing
17 changed files
with
404 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,3 +123,4 @@ Duolingo | |
APIKey | ||
[Aa]uthz | ||
exat | ||
productizing |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,21 @@ | ||
flowchart LR | ||
classDef Orange fill:#F8773D,stroke:#000000,stroke-width:2px; | ||
classDef Green fill:#56AE89,stroke:#000000,stroke-width:2px; | ||
classDef Red fill:#F13C15,stroke:#000000,stroke-width:1px; | ||
classDef Pink fill:#ffb6c1,stroke:#000000,stroke-width:1px; | ||
|
||
TC[\Token Counter/] | ||
class TC Orange | ||
|
||
Scheduler | ||
class Scheduler Orange | ||
|
||
SDK | ||
class SDK Green | ||
|
||
subgraph Aperture_Cloud ["Aperture Cloud"] | ||
Scheduler -- "Counting" --> TC | ||
end | ||
class Aperture_Cloud Green | ||
|
||
SDK -- "Schedule Request" --> Scheduler |
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 @@ | ||
5df63f64375615e3ec9761cb92b987af |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
git_root=$(git rev-parse --show-toplevel) | ||
|
||
# shellcheck disable=SC1091 | ||
source "$git_root"/docs/tools/aperturectl/validate_common.sh | ||
|
||
generate_from_values \ | ||
values.yaml \ | ||
tmp | ||
|
||
# copy the generated policy and graph to this (assets) directory so that they can be used in the docs | ||
cp tmp/policies/mistral-concurrency-scheduling-cr.yaml policy.yaml | ||
cp tmp/graphs/mistral-concurrency-scheduling-cr.mmd graph.mmd | ||
|
||
# git add the generated policy and graph | ||
"$git_root"/scripts/git_add_safely.sh policy.yaml graph.mmd | ||
|
||
# remove the tmp directory | ||
rm -rf tmp |
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,21 @@ | ||
# yaml-language-server: $schema=../../../../../blueprints/concurrency-scheduling/base/gen/definitions.json | ||
blueprint: concurrency-scheduling/base | ||
uri: ../../../../../blueprints | ||
policy: | ||
policy_name: "mistral-concurrency-scheduling" | ||
components: [] | ||
concurrency_scheduler: | ||
alerter: | ||
alert_name: "Too many inflight requests" | ||
concurrency_limiter: | ||
max_inflight_duration: "60s" | ||
max_concurrency: 2 | ||
scheduler: | ||
priority_label_key: "priority" | ||
tokens_label_key: "tokens" | ||
workload_label_key: "workload" | ||
selectors: | ||
- control_point: "mistral-prompt" | ||
resources: | ||
flow_control: | ||
classifiers: [] |
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
Oops, something went wrong.