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
6 changes: 3 additions & 3 deletions .github/workflows/gigaam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt', 'setup.py') }}
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
Expand All @@ -57,7 +57,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
pip install --no-cache-dir torch==2.8.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cpu
pip install --no-cache-dir -e .[longform,tests]
pip install --no-cache-dir -e ".[longform,tests]"

- name: Show disk usage after install
run: df -h
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-lint-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-lint-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-lint-

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cd GigaAM
pip install -e .

# (optionally) Verify the installation:
pip install -e .[tests]
pip install -e ".[tests]"
pytest -v tests/test_loading.py -m partial # or `-m full` to test all models
```

Expand Down Expand Up @@ -79,9 +79,9 @@ For detailed results, see [here](./evaluation.md).
* Accept the conditions to access [pyannote/segmentation-3.0](https://huggingface.co/pyannote/segmentation-3.0) files and content

```bash
pip install -e .[longform]
pip install -e ".[longform]"
# optionally run longform testing
pip install -e .[tests]
pip install -e ".[tests]"
HF_TOKEN=<your hf token> pytest -v tests/test_longform.py
```
</details>
Expand Down
6 changes: 3 additions & 3 deletions README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cd GigaAM
pip install -e .

# (опционально) Проверить установку:
pip install -e .[tests]
pip install -e ".[tests]"
pytest -v tests/test_loading.py -m partial # или `-m full` для тестирования всех моделей
```

Expand Down Expand Up @@ -78,9 +78,9 @@ GigaAM - фундаментальная акустическая модель н
* Примите условия для получения доступа к контенту [pyannote/segmentation-3.0](https://huggingface.co/pyannote/segmentation-3.0)

```bash
pip install -e .[longform]
pip install -e ".[longform]"
# опционально: запустить тесты для длинной транскрибации
pip install -e .[tests]
pip install -e ".[tests]"
HF_TOKEN=<ваш hf токен> pytest -v tests/test_longform.py
```
</details>
Expand Down
48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "gigaam"
version = "0.1.0"
description = "GigaAM: A package for audio modeling and ASR."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "GigaChat Team" },
]

dependencies = [
"hydra-core==1.3.*",
"numpy==2.*",
"omegaconf==2.3.*",
"onnx==1.19.*",
"onnxruntime==1.23.*",
"sentencepiece",
"torch>=2.5,<2.9",
"torchaudio>=2.5,<2.9",
"tqdm",
]

[project.optional-dependencies]
longform = [
"torch==2.8.*",
"torchaudio==2.8.*",
"pyannote.audio==4.0",
"torchcodec==0.7",
"numba>=0.62",
]
tests = [
"pytest",
"pytest-cov",
"scipy",
"soundfile",
"librosa",
]

[project.urls]
Homepage = "https://github.com/salute-developers/GigaAM/"

[tool.setuptools.packages.find]
include = ["gigaam"]
9 changes: 0 additions & 9 deletions requirements.txt

This file was deleted.

28 changes: 0 additions & 28 deletions setup.py

This file was deleted.