You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,3 +155,19 @@ Instead of a long and boring README, we prefer to provide you with different res
155
155
156
156
# License
157
157
SpeechBrain is released under the Apache License, version 2.0. The Apache license is a popular BSD-like license. SpeechBrain can be redistributed for free, even for commercial purposes, although you can not take off the license headers (and under some circumstances, you may have to distribute a license document). Apache is not a viral license like the GPL, which forces you to release your modifications to the source code. Also note that this project has no connection to the Apache Foundation, other than that we use the same license terms.
158
+
159
+
# Citing SpeechBrain
160
+
Please, cite SpeechBrain if you use it for your research or business.
161
+
162
+
```bibtex
163
+
@misc{speechbrain,
164
+
title={{SpeechBrain}: A General-Purpose Speech Toolkit},
165
+
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
Copy file name to clipboardExpand all lines: docs/contributing.md
+42-1Lines changed: 42 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ and where the implemented algorithm needs clarification.
133
133
- The CI pipeline is triggered by pull requests.
134
134
- Runs in a Ubuntu environment provided by GitHub
135
135
- GitHub offers a limited amount of CI pipeline minutes for free.
136
-
- CD would stand for continuous deployment, though we’re not doing that yet
136
+
- CD stands for continuous deployment, check out the "Releasing a new version" section.
137
137
138
138
### Our test suite
139
139
- Code linters are run. This means black and flake8. These are run on everything in speechbrain (the library directory), everything in recipes and everything in tests.
@@ -172,3 +172,44 @@ Fifthly, the code review is a place for professional constructive criticism,
172
172
a nice strategy to show (and validate) that you understand what the PR is really
173
173
doing is to provide some affirmative comments on its strengths.
174
174
175
+
## Releasing a new version
176
+
177
+
Here are a few guidelines for when and how to release a new version.
178
+
To begin with, as hinted in the "Continuous Integration" section, we would like to follow a
179
+
pretty tight release schedule, known as "Continuous Deployment". For us, this means a new
180
+
version should be released roughly once a week.
181
+
182
+
As for how to name the released version, we try to follow semantic versioning for this. More details
183
+
can be found at [semver.org](http://semver.org). As it applies to SpeechBrain, some examples
184
+
of what this would likely mean:
185
+
* Changes to the Brain class or other core elements often warrant a major version bump (e.g. 1.5.3 -> 2.0.0)
186
+
* Added classes or features warrant a minor version bump. Most weekly updates should fall into this.
187
+
* Patch version bumps should happen only for bug fixes.
188
+
189
+
When releasing a new version, there are a few user-initiated action that need to occur.
190
+
1. On the `develop` branch, update `speechbrain/version.txt` to say the new version:
191
+
X.Y.Z
192
+
2. Merge the `develop` branch into the `main` branch:
193
+
git checkout main
194
+
git merge develop
195
+
3. Push the `main` branch to github:
196
+
git push
197
+
4. Tag the `main` branch with the new version:
198
+
git tag vX.Y.Z
199
+
5. Push the new tag to github:
200
+
git push --tags
201
+
202
+
This kicks off an automatic action that creates a draft release with release notes.
203
+
Review the notes to make sure they make sense and remove commits that aren't important.
204
+
You can then publish the release to make it public.
205
+
Publishing a new release kicks off a series of automatic tools, listed below:
206
+
207
+
* The `main` branch is checked out and used for building a python package.
208
+
* The built package is uploaded to PyPI and the release is published there.
209
+
* Read the Docs uses Webhooks to get notified when a new version is published.
210
+
Read the Docs then builds the documentation and publishes the new version.
211
+
212
+
Maintainers of relevant accounts:
213
+
* Mirco Ravanelli maintains the GitHub and PyPI accounts
214
+
* Titouan Parcollet maintains the website at [speechbrain.github.io](speechbrain.github.io)
215
+
as well as accounts at Read the Docs and Discourse
Copy file name to clipboardExpand all lines: docs/index.rst
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,14 @@ Referencing SpeechBrain
31
31
--------
32
32
.. code-block:: txt
33
33
34
-
@misc{SB2021,
35
-
author = {Ravanelli, Mirco and Parcollet, Titouan and Rouhe, Aku and Plantinga, Peter and Rastorgueva, Elena and Lugosch, Loren and Dawalatabad, Nauman and Ju-Chieh, Chou and Heba, Abdel and Grondin, Francois and Aris, William and Liao, Chien-Feng and Cornell, Samuele and Yeh, Sung-Lin and Na, Hwidong and Gao, Yan and Fu, Szu-Wei and Subakan, Cem and De Mori, Renato and Bengio, Yoshua },
title={SpeechBrain: A General-Purpose Speech Toolkit},
36
+
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
Important: the batch size for each GPU process will be: `batch_size / data_parallel_count`. So you should consider changing the batch_size value according to you need.
18
+
Important: the batch size for each GPU process will be: `batch_size / Number of GPUs`. So you should consider changing the batch_size value according to you need.
14
19
15
20
## Multi-GPU training using Distributed Data Parallel (DDP)
Please, cite SpeechBrain if you use it for your research or business.
46
+
47
+
```bibtex
48
+
@misc{speechbrain,
49
+
title={{SpeechBrain}: A General-Purpose Speech Toolkit},
50
+
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
Please, cite SpeechBrain if you use it for your research or business.
50
+
51
+
```bibtex
52
+
@misc{speechbrain,
53
+
title={{SpeechBrain}: A General-Purpose Speech Toolkit},
54
+
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
0 commit comments