-
Notifications
You must be signed in to change notification settings - Fork 70
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
0 parents
commit d68ae92
Showing
196 changed files
with
79,634 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,5 @@ | ||
BasedOnStyle: Google | ||
ColumnLimit: 120 | ||
ContinuationIndentWidth: 4 | ||
IndentWidth: 4 | ||
TabWidth: 4 |
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,2 @@ | ||
[flake8] | ||
max-line-length = 120 |
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 @@ | ||
name: Generate and Deploy Doxygen Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Doxygen Action | ||
uses: mattnotmitt/doxygen-action@v1.1.0 | ||
with: | ||
doxyfile-path: "./Doxyfile" # default is ./Doxyfile | ||
working-directory: "." # default is . | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs |
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,32 @@ | ||
*.o | ||
*.a | ||
*.pyc | ||
*.cuu | ||
.DS_Store | ||
.build/ | ||
.cache/ | ||
.direnv/ | ||
.envrc | ||
.swiftpm | ||
.venv | ||
.vs/ | ||
.vscode/ | ||
|
||
assets/ | ||
*.bin | ||
*.zip | ||
*.txt | ||
*.json | ||
test_* | ||
!test_*.cc | ||
!test_*.cu | ||
demo | ||
profile_* | ||
!profile_*.cc | ||
libtorch/ | ||
|
||
transformer/chat | ||
transformer/voicechat | ||
transformer/output.wav | ||
transformer/tmpfile | ||
transformer/TTS |
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,6 @@ | ||
[submodule "json"] | ||
path = json | ||
url = https://github.com/nlohmann/json | ||
[submodule "transformer/json"] | ||
path = llm/json | ||
url = https://github.com/nlohmann/json |
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,51 @@ | ||
exclude: "code_generator/tflite/.*" | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: mixed-line-ending | ||
args: ["--fix=lf"] | ||
- id: end-of-file-fixer | ||
- id: check-merge-conflict | ||
- id: requirements-txt-fixer | ||
- id: fix-encoding-pragma | ||
args: ["--remove"] | ||
- id: debug-statements | ||
- id: check-toml | ||
- repo: https://github.com/executablebooks/mdformat | ||
rev: 0.7.10 | ||
hooks: | ||
- id: mdformat | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
args: ["--sp", "pyproject.toml"] | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-comprehensions==3.7.0 | ||
- flake8-docstrings==1.6.0 | ||
- repo: local | ||
hooks: | ||
- id: pylint | ||
name: pylint | ||
entry: pylint | ||
language: system | ||
types: [python] | ||
require_serial: true | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.910-1 | ||
hooks: | ||
- id: mypy | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v13.0.0 | ||
hooks: | ||
- id: clang-format |
Oops, something went wrong.