Repository navigation
Keep the Jev tutorial in the CUDA environment it verified - #4000
Conversation
Keep the selected CUDA pair when installing the two source projects. Check the environment before fetching source. Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
|
The merged tutorial now has an end-to-end installation check. In a fresh Python 3.12.3 venv with no system site packages, stock pip installed the CUDA 12.8 PyTorch/TorchAudio 2.10.0 pair, both editable source projects and the official HF dependencies. Installation used verified local distribution files; On one L20Z, with networking disabled, the official instrument clip and pinned Tiny snapshot produced For this fixture, check the answer key, the selected label and the candidate set. The previous software environment also selected |
Run the Jev HF tutorial's CUDA check, editable installs and inference from one dedicated interpreter. The old instructions checked the caller and then invoked the pinned upstream setup utility to make a second environment. A standard venv does not inherit another venv's installed packages.
Observed on Shanghai Linux/Python 3.12: the caller imported matching PyTorch/TorchAudio 2.10.0+cu128 and saw one BF16-capable L20Z. The unmodified upstream venv creation step then selected system torch 2.8.0a0+5228986c39.nv25.6 and torchaudio 2.8.0a0+6e1c7fe. This test stopped before package installation.
Both tutorials now show a fresh CUDA 12.8 example plus a route for an already prepared dedicated venv. They verify that interpreter and FFmpeg before fetching source, then install both projects and the official HF requirements together with the existing torch/torchaudio versions pinned. No changes to inference, vLLM, weights, or package releases.
Prepared and verified with Codex assistance.