| Title | Open in Colab |
|---|---|
| Pipelines for inference | |
| Load pretrained instances with an AutoClass | |
| Preprocess | |
| Fine-tune a pretrained model |
- local machine
uv(recommended)uv lock --upgrade: resolve dependency relations & createuv.lockmake install: install appropriatePyTorch& create.venv
pippip install .: install main dependenciespip install .[dev]: install sub dependencies for developpmentpip install .[cpu]: installPyTorchfor cpupip install .[gpu]: installPyTorchfor gpu
- google colab
- run first cell
marimo/*.py(marimo notebook, recommended)(uv run) marimo edit marimo/*.py
jupyter/*.ipynb(jupyter notebook)- open them in you favorite editor (vscode, jupyter, google colab ...)
src/*py(source code to run on miyabi)qsub script/job.sh
- When attempting to build the environment on Miyabi with
uv, it throws an error due to compatibility issues withtorchcodec. Sincetorchcodecis not used for fine-tuning, please remove it from the dependencies onpyproject.toml.