Files
soprano-factory/pyproject.toml
T
Nighthawk 9b7dd275c7 Refactored training pipeline to use YAML config and uv
- Move hyperparameters from hardcoded script values to `config.yaml`
- Replace pip requirements with `pyproject.toml` and `uv` support (CUDA 12.6)
- Refactor all scripts to use `pathlib` for robust path handling
- Optimize `generate_dataset.py` with GPU acceleration
- Register quantizer constants as buffers for proper device mapping
- Update README with new installation and usage instructions
2026-01-18 01:13:38 -05:00

35 lines
640 B
TOML

[project]
name = "soprano-factory"
version = "0.1.0"
dependencies = [
"transformers",
"numpy",
"scipy",
"tqdm",
"einops",
"pyyaml",
"huggingface-hub",
"torch",
"torchaudio",
]
[project.optional-dependencies]
# Use uv sync --extra gpu to install CUDA support
gpu = [
"torch",
"torchaudio",
]
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[tool.uv.sources]
# Only use the CUDA index when the 'gpu' extra is requested
torch = [
{ index = "pytorch-cu126", extra = "gpu" },
]
torchaudio = [
{ index = "pytorch-cu126", extra = "gpu" },
]