Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Bug Report
description: File a bug report
title: "[Title here. keep it short]"
labels: ["bug"]
assignees:
- octocat
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
One second before you create, search if it's already created [issues](https://github.com/thewh1teagle/vibe/issues?q=is:issue+label:bug+)

Also, you can try enable debug mode by set `debug: true` in the creation of the struct and rerun to see more logs.

- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: |
1. Step one...
2. Step two...
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What OS are you seeing the problem on?
multiple: true
options:
- Window
- Linux
- MacOS
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.

render: shell
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Feature request
description: Suggest an idea for this project
title: '[Title here. keep it short]'
labels: ['feature']
assignees:
- thewh1teagle
body:
- type: markdown
attributes:
value: |
💚💜 Thank you for interest. ❤️💛
*Please prioritize checking existing issues first*. [bugs](https://github.com/thewh1teagle/sherpa-rs/issues?q=is:issue+label:bug+)
I will repay with higher-quality code.

- type: textarea
id: describe-the-feature
attributes:
label: Describe the feature
description: Also tell us why you think it useful
placeholder: Description...
validations:
required: true
File renamed without changes.
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
options: ""

- platform: "windows-latest" # Windows Cuda
options: '--features "cuda"'
options: '--features "cuda" --no-default-features'
cuda-version: "12.5.0"

- platform: "windows-latest" # Windows Cuda
options: '--features "cuda"'
options: '--features "cuda" --no-default-features'
cuda-version: "11.8.0"

- platform: "windows-latest" # Windows DirectML
options: '--features "directml"'
options: '--features "directml" --no-default-features'
- platform: "ubuntu-22.04" # Linux Cuda
options: '--features "cuda"'
cuda-version: "12.4.1"
Expand All @@ -58,7 +58,7 @@ jobs:
submodules: "true"

- name: Setup cuda for Windows
run: scripts/setup_cuda.ps1
run: .github/scripts/setup_cuda.ps1
env:
INPUT_CUDA_VERSION: ${{ matrix.cuda-version }}
if: matrix.platform == 'windows-latest' && contains(matrix.options, 'cuda')
Expand Down Expand Up @@ -88,11 +88,6 @@ jobs:
run: |
cargo build ${{ matrix.options }} ${{ github.event.inputs.cargo_args }}

- name: Modify shared libraries path
if: contains(matrix.platform, 'ubuntu') && contains(matrix.options, 'cuda')
run: |
echo "LD_LIBRARY_PATH=$PWD/target/debug:$LD_LIBRARY_PATH" >> $GITHUB_ENV

- name: Test Whisper
# Github actions doesn't have Nvidia GPUs
if: contains(matrix.options, 'cuda') != true
Expand Down
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
target/
*.onnx
*.onnx.*
Expand All @@ -6,7 +7,24 @@ tokens.txt
venv/
vits-piper*
*.wav
*.vocab
!samples/*.wav
*.bz2
sherpa-onnx-whisper*
*.txt
sherpa-onnx-pyannote-*
sherpa-onnx-zipformer-*
sherpa-onnx-moonshine-*
*.txt
!checksum.txt
sherpa-onnx-v*
jniLibs
!sys/dist.txt
sherpa-onnx-punct*
vits-*
sherpa-onnx-kws-*
.tmp/
jniLibs/
build/
kokoro-en-*/
matcha-*
kokoro-multi-lang-v1_0/
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "sys/sherpa-onnx"]
path = sys/sherpa-onnx
[submodule "crates/sherpa-rs-sys/sherpa-onnx"]
path = crates/sherpa-rs-sys/sherpa-onnx
url = https://github.com/k2-fsa/sherpa-onnx
21 changes: 0 additions & 21 deletions .vscode/c_cpp_properties.json

This file was deleted.

4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

Loading
Loading