-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"label": "Developer Guide", | ||
"position": 6 | ||
} |
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,25 @@ | ||
--- | ||
sidebar_position: 0 | ||
--- | ||
|
||
# Supporting a New Hardware | ||
|
||
ServerlessLLM actively expands support for new hardware configurations to meet diverse deployment needs. | ||
|
||
## Support Standards | ||
Hardware is considered supported by ServerlessLLM if: | ||
1. Any of the inference backends used (e.g., Transformers, vLLM) can run model inference on the hardware. | ||
2. ServerlessLLM Store can successfully load model checkpoints on the hardware. | ||
|
||
## Steps to Support a New Hardware | ||
1. **Check Inference Backend Compatibility**: Refer to the specific inference backend documentation (e.g., for vLLM, Transformers) for hardware support. | ||
2. **ServerlessLLM Store Configuration**: | ||
- If the hardware provides CUDA-compatible APIs (e.g., ROCm), adjust the build script (`CMakeLists.txt`) by adding necessary compiler flags. | ||
- For non-CUDA-compatible APIs, implementing a custom checkpoint loading function might be required. | ||
|
||
## Verifying Hardware Support in ServerlessLLM Store | ||
The hardware support is verified if it successfully completes the [Quick Start Guide](https://serverlessllm.github.io/docs/stable/getting_started/quickstart/) examples, showcasing checkpoint loading and inference functionality without errors. | ||
|
||
If the hardware is not publicly available (i.e., can't be tested by the ServerlessLLM team), a screenshot or output log of the successful execution of the Quick Start Guide examples is required to verify hardware support. | ||
|
||
If you encounter any issues or have questions, please reach out to the ServerlessLLM team by raising an issue on the [GitHub repository](https://github.com/ServerlessLLM/ServerlessLLM/issues). |