Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 3e9ce0c

Browse files
Initial commit
Co-authored-by: Kleomenis Katevas <[email protected]>
0 parents  commit 3e9ce0c

File tree

536 files changed

+101760
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

536 files changed

+101760
-0
lines changed

.clang-format

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run the following command to reformat a file:
2+
# clang-format -i -style=Google <file>
3+
# Or use clang-format-diff to only reformat the changed lines:
4+
# https://clang.llvm.org/docs/ClangFormat.html
5+
BasedOnStyle: Google
6+
DerivePointerAlignment: false
7+
ColumnLimit: 100
8+
PointerAlignment: Left
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: "🐛 Bug Report"
3+
about: Submit a bug report to help us improve MLC-LLM
4+
title: '[Bug] '
5+
labels: ['bug']
6+
assignees: ''
7+
8+
---
9+
10+
## 🐛 Bug
11+
12+
<!-- A clear and concise description of what the bug is. -->
13+
14+
## To Reproduce
15+
16+
Steps to reproduce the behavior:
17+
18+
1.
19+
1.
20+
1.
21+
22+
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
23+
24+
## Expected behavior
25+
26+
<!-- A clear and concise description of what you expected to happen. -->
27+
28+
## Environment
29+
30+
- Platform (e.g. WebGPU/Vulkan/IOS/Android/CUDA):
31+
- Operating system (e.g. Ubuntu/Windows/MacOS/...):
32+
- Device (e.g. iPhone 12 Pro, PC+RTX 3090, ...)
33+
- How you installed MLC-LLM (`conda`, source):
34+
- How you installed TVM-Unity (`pip`, source):
35+
- Python version (e.g. 3.10):
36+
- GPU driver version (if applicable):
37+
- CUDA/cuDNN version (if applicable):
38+
- TVM Unity Hash Tag (`python -c "import tvm; print('\n'.join(f'{k}: {v}' for k, v in tvm.support.libinfo().items()))"`, applicable if you compile models):
39+
- Any other relevant information:
40+
41+
## Additional context
42+
43+
<!-- Add any other context about the problem here. -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: Check the MLC-LLM Documentation
5+
url: https://llm.mlc.ai/docs/
6+
about: Our documentation might provide answers to your questions.
7+
- name: Chat on Discord
8+
url: https://discord.gg/9Xpy2HGBuD
9+
about: Join the Discord Server to live chat with the community.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: "\U0001F4DA Documentation"
3+
about: Report an issue related to https://llm.mlc.ai/docs/
4+
title: '[Doc] '
5+
labels: ['documentation']
6+
assignees: ''
7+
8+
---
9+
10+
## 📚 Documentation
11+
12+
### Suggestion
13+
<!-- Please leave your general suggestion to our documentation here. -->
14+
15+
### Bug
16+
- Link to the buggy documentation/tutorial:
17+
- Description of the bug:
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: "\U0001F680 Feature Request"
3+
about: Submit a proposal/request for a new MLC-LLM feature, or an enhancement on existing features.
4+
title: '[Feature Request] '
5+
labels: ['feature request']
6+
assignees: ''
7+
8+
---
9+
10+
## 🚀 Feature
11+
<!-- A brief description of the feature proposal -->
12+
13+
## Motivation
14+
15+
<!-- Please outline the motivation for the proposal, and how could this feature benefit the MLC-LLM project/community. -->
16+
17+
## Alternatives
18+
19+
<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
20+
21+
## Additional context
22+
23+
<!-- Add any other context or screenshots about the feature request here. -->

.github/ISSUE_TEMPLATE/general.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: "❓ General Questions"
3+
about: General questions you have about MLC-LLM.
4+
title: '[Question] '
5+
labels: ['question']
6+
assignees: ''
7+
8+
---
9+
10+
## ❓ General Questions
11+
12+
<!-- Describe your questions -->
13+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: "️️⚙️ Model Request"
3+
about: Request a new model in MLC-LLM
4+
title: '[Model Request] '
5+
labels: ['new-models']
6+
assignees: ''
7+
8+
---
9+
10+
## ⚙️ Request New Models
11+
12+
- Link to an existing implementation (e.g. Hugging Face/Github): <!-- Link to the model -->
13+
- Is this model architecture supported by MLC-LLM? (the list of [supported models](https://llm.mlc.ai/docs/prebuilt_models.html)) <!-- Yes/No -->
14+
15+
## Additional context
16+
17+
<!-- Add any other context that you think would be helpful for the community to add this model -->
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: " 🏎️ Speed Report"
3+
about: Submit a speed report of an model running in MLC-LLM
4+
title: '[Speed] '
5+
labels: ['performance']
6+
assignees: ''
7+
8+
---
9+
10+
# 🏎️ Speed Report
11+
12+
<!-- Please search if there are existing issues discuss the speed of the model you are using, if there are, we encourage you reply in the existed issue instead of creating a new one. -->
13+
14+
- The model code: <!-- e.g. vicuna-7b-1.1 -->
15+
16+
17+
- The model configuration (e.g. quantization mode, running data type, etc.):
18+
- Device (e.g. MacBook Pro M2, PC+RTX 3080):
19+
- OS (if applicable):
20+
- Encode speed (Token/s):
21+
- Decode speed (Token/s):
22+
- Memory usage (if applicable):
23+
24+
<!-- Note that the measured speed might reflect peak performance if the prompt/chat history is short. -->

.github/ISSUE_TEMPLATE/tracking.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: "Tracking"
3+
about: A tracking issue that tracks ongoing item in the project
4+
title: '[Tracking] '
5+
labels: ['status: tracking']
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
12+
A tracking issue contains a list of action items
13+
that can be executed to complete a feature or fix.
14+
15+
We use tracking issues when we have a clear list of action items
16+
related to feature items as they provide fine-grained
17+
view of action items and provide clarity on what it takes to implement a feature.
18+
19+
When to open a tracking issue: Open a new tracking issue when you have
20+
clear, actionable items (as a rule of thumb, make sure action items
21+
items can be carried through if you are assigned to work on it and
22+
you can provide enough guides to others who plan to work on these actions).
23+
-->
24+
25+
26+
## Overview
27+
<!-- A brief overview of the task -->
28+
29+
30+
31+
## Action Items
32+
<!-- Please list set of action items to complete -->
33+
34+
- [ ]
35+
36+
37+
## Links to Related Issues and PRs
38+
39+
<!-- Cross link feature requests bug report issues related to the tracking item -->
40+
<!-- When there are new PRs, open up new PRs -->
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test_linux:
10+
name: Deploy Docs
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
submodules: recursive
17+
18+
- name: Configuring build Environment
19+
run: |
20+
sudo apt-get update
21+
python -m pip install -U pip wheel
22+
23+
- name: Setup Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: '3.0'
27+
28+
- name: Installing dependencies
29+
run: |
30+
python -m pip install -r docs/requirements.txt
31+
gem install jekyll jekyll-remote-theme
32+
33+
- name: Deploying on GitHub Pages
34+
if: github.ref == 'refs/heads/main'
35+
run: |
36+
git remote set-url origin https://x-access-token:${{ secrets.MLC_GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
37+
git config --global user.email "mlc-gh-actions-bot@nomail"
38+
git config --global user.name "mlc-gh-actions-bot"
39+
./scripts/gh_deploy_site.sh

0 commit comments

Comments
 (0)