Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
meenchen committed Aug 24, 2023
0 parents commit d68ae92
Show file tree
Hide file tree
Showing 196 changed files with 79,634 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BasedOnStyle: Google
ColumnLimit: 120
ContinuationIndentWidth: 4
IndentWidth: 4
TabWidth: 4
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120
25 changes: 25 additions & 0 deletions .github/workflows/doxygen.yml
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
32 changes: 32 additions & 0 deletions .gitignore
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
6 changes: 6 additions & 0 deletions .gitmodules
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
51 changes: 51 additions & 0 deletions .pre-commit-config.yaml
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
Loading

0 comments on commit d68ae92

Please sign in to comment.