forked from ServiceNow/Fast-LLM
-
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.
[docs] revamp documentation (ServiceNow#17)
Co-authored-by: Sean Hughes <hughesthe1st@users.noreply.github.com>
- Loading branch information
1 parent
f4053af
commit 5eeef37
Showing
43 changed files
with
1,415 additions
and
762 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# See https://github.com/DavidAnson/markdownlint/blob/v0.32.1/schema/.markdownlint.yaml for schema documentation | ||
|
||
# Default state for all rules | ||
default: true | ||
|
||
# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md007.md | ||
MD007: | ||
# Spaces for indent | ||
indent: 2 | ||
|
||
# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md010.md | ||
MD010: | ||
# Include code blocks | ||
code_blocks: false | ||
# Fenced code languages to ignore | ||
ignore_code_languages: [] | ||
# Number of spaces for each hard tab | ||
spaces_per_tab: 2 | ||
|
||
# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md013.md | ||
MD013: false | ||
|
||
# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md024.md | ||
MD024: false | ||
|
||
# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md030.md | ||
MD030: | ||
# Spaces for single-line unordered list items | ||
ul_single: 1 | ||
# Spaces for single-line ordered list items | ||
ol_single: 1 | ||
# Spaces for multi-line unordered list items | ||
ul_multi: 1 | ||
# Spaces for multi-line ordered list items | ||
ol_multi: 1 |
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 |
---|---|---|
@@ -1,62 +1,3 @@ | ||
# Contributing to Fast-LLM 🚀 | ||
# Contributing to Fast-LLM | ||
|
||
Thank you for your interest in contributing to Fast-LLM! We're thrilled to have you here, and your support is invaluable in helping us accelerate LLM training to full speed. This guide will walk you through the steps to contribute, from reporting issues to submitting changes and setting up your development environment. | ||
|
||
If you have questions or want to start a discussion, feel free to [open a discussion](https://github.com/ServiceNow/Fast-LLM/discussions) on our GitHub page. | ||
|
||
## Getting Started | ||
|
||
To get started with contributing to Fast-LLM, follow these steps to set up your environment: | ||
|
||
1. **Set Up the Development Environment**: Fast-LLM is built on [PyTorch](https://pytorch.org/) and [Triton](https://triton-lang.org/). Check out our [setup guide](https://servicenow.github.io/Fast-LLM/development/setup) for instructions on getting everything ready, including the development environment and dependencies. | ||
2. **Learn Our Best Practices**: Get familiar with our [development best practices](https://servicenow.github.io/Fast-LLM/development/dev-practices/), which cover code style, pre-commit hooks, and testing strategies. | ||
3. **Launch Fast-LLM Locally or with Docker**: Need help getting started? Follow the instructions in the [launching section](https://servicenow.github.io/Fast-LLM/development/launching) to get Fast-LLM up and running. | ||
|
||
## How to Report a Bug 🐞 | ||
|
||
Found a bug? Let's squash it together! [Open an issue](https://github.com/ServiceNow/Fast-LLM/issues/new/choose) and select "Bug report." Please include as much information as possible: | ||
|
||
- Steps to reproduce the issue. | ||
- What you expected to happen versus what actually happened. | ||
- Logs, Fast-LLM configuration, and error messages. | ||
- Details about your environment setup (e.g., CUDA hardware, PyTorch version, CUDA version). | ||
|
||
If you're familiar with the codebase, consider adding a failing unit test to demonstrate the problem (optional, but helpful!). | ||
|
||
## Proposing Changes | ||
|
||
Before diving into code, [open an issue](https://github.com/ServiceNow/Fast-LLM/issues) to discuss your proposal. This is especially important if you're planning significant changes or adding new dependencies. Once your idea is approved, follow these steps: | ||
|
||
1. **Fork the Repository**: [Fork Fast-LLM](https://github.com/ServiceNow/Fast-LLM/fork) to your own GitHub account. | ||
2. **Clone Your Fork Locally**: Use `git clone` to bring the code to your local machine. | ||
3. **Create a New Branch**: Name your branch descriptively, such as `feature/awesome-feature` or `fix/nasty-bug`. | ||
4. **Make Your Changes**: Work your magic! Don't forget to add or update tests, benchmarks, or configurations as needed. | ||
5. **Create a Properly Titled Pull Request**: When you're ready to open a PR, make sure to use a clear and descriptive title that follows our [PR title guidelines](https://servicenow.github.io/Fast-LLM/development/pr-title-guidelines). This title will become the commit message for the squashed merge. | ||
6. **Push to Your Fork**: Push the branch to your GitHub fork. | ||
7. **Open a Pull Request**: [Submit a pull request](https://github.com/ServiceNow/Fast-LLM/compare) to the `main` branch. Reference the original issue number and provide a brief summary of your changes. | ||
|
||
### Guidelines for a Successful Pull Request | ||
|
||
Here are some tips to ensure your pull request gets reviewed and merged promptly: | ||
|
||
- **Follow our coding standards**: Stick to our [development best practices](https://servicenow.github.io/Fast-LLM/development/dev-practices/) to keep the code clean and consistent. | ||
- **Write tests**: Verify your changes with unit tests for new features or bug fixes. | ||
- **Test on GPUs and real-world workloads**: Since Fast-LLM is all about training large language models, make sure your changes work smoothly in GPU environments and on typical training setups. | ||
- **Run benchmarks and performance tests**: Make sure your changes don't slow things down. If there's any impact on performance, provide benchmark results to back it up. | ||
- **Avoid introducing new issues**: Check that there are no new runtime warnings, type checker errors, linting problems, or unhandled edge cases. | ||
- **Comment non-trivial code**: Make your code easy to understand for others. | ||
- **Keep sensitive data out**: Make sure your code or commit messages don't expose private or proprietary information. | ||
- **Use the [PR template](https://github.com/ServiceNow/Fast-LLM/blob/main/.github/PULL_REQUEST_TEMPLATE.md)**: Complete the checklist to make sure everything is in order before hitting submit. | ||
|
||
## Seeking Help or Clarification | ||
|
||
If you're unsure about something or need help, you've got options: | ||
|
||
- **GitHub Discussions**: [Start a discussion](https://github.com/ServiceNow/Fast-LLM/discussions) if you need advice or just want to chat. | ||
- **Project Maintainers**: Mention a maintainer in an issue or pull request if you need a review or guidance. | ||
|
||
## Contributors | ||
|
||
We're grateful for all the awesome contributors who help make Fast-LLM better. Join our contributors' list and make your first contribution! | ||
|
||
To learn more about the team and maintainers, visit our [About page](https://servicenow.github.io/Fast-LLM/about-us/). | ||
Please refer to the [contributing guidelines](https://servicenow.github.io/Fast-LLM/developers/contributing) for more information on how to contribute to Fast-LLM. |
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
Oops, something went wrong.