Conversation
…dd-script Add GPU setup guide and predictor smoke-test helper
…oke-tests Fix GPU setup reruns and repository-relative smoke tests
…y-in-pyproject.toml Use credential-free phonemizer dependency
…for-language-model-download Add opt-in cached English KenLM download and validation for GPU smoke tests
…test_gpu_predictors.py Range-extract the English model from the Zenodo archive
…m-and-documentation Correct the built-in Zenodo language model checksum
…lation-helper Add safe opt-in native setup to GPU predictor helper
|
|
P.S. The credential-free packaging changes in this PR are separate from—but supportive of—the GPU/Colab bootstrap work:
These files were therefore added together as one packaging compatibility change. They are not required to implement the GPU helper itself, but they ensure that the helper—and ordinary PathBench installations—can install without relying on GitHub-hosted Python dependencies. If maintainers would prefer to keep this PR narrowly focused on GPU bootstrap, I’m happy to split these packaging changes into a separate PR. |
|
Thanks for your PR. I briefly looked at this and I will need more time to look at it. However, I do agree that having a Colab would be nice for For the Colab link, I don’t see any immediate demonstrations that a result is reproduced with the unit tests? |
Summary
This PR adds a reproducible, end-to-end GPU bootstrap and smoke-test workflow for PathBench’s ArtP and DArtP evaluators, including support for fresh Google Colab T4 runtimes.
The new
tools/test_gpu_predictors.pyhelper:espeak-ngrevision (2ea41210);espeak-ngexecutable, shared library, runtime behavior, and installation marker;The helper makes no host changes by default. Native package installation and the
espeak-ngbuild require the explicit--install-system-dependenciesoption.NVIDIA driver handling is kept separate and safe:
The dependency configuration uses the published
phonemizer-fork==3.3.2release rather than an inaccessible Git repository.Documentation and network-free tests cover:
espeak-nginstallation and reuse;An opt-in live test verifies that the expected English model remains available at the pinned location in the Zenodo archive.
Google Colab validation
Proof
https://colab.research.google.com/drive/1byutWFQaM67evO53oMblQMzPCjMNMTln
The notebook uses a single input cell on a fresh T4 runtime to:
uvand Python 3.12;--install-system-dependencies;espeak-ng;espeak-ng, and model configuration.Validated configuration:
espeak-ngcommit:2ea41210wiki_en_token.arpa.binsize: 14,600,342,241 bytesExpected final smoke-test result:
2 passedThis upstream PR consolidates the work developed through PRs #1–#7 in the fork.