a template project for machine learning experiments, using dockerized pytorch environments and data downloaders
- Update pytorch docker image
- jupyter setup guide
- Integrate Joe R Playlist examples
- LoRa fine tuning example
- docker
- a bash shell
- for GPU users nvidia container toolkit
- Build the docker image by using
sh build-docker-image.sh
- start your training environment by running
sh run-training-environment.sh
orsh gpu-environment.sh
and follow the link to the jupyter server - Use a downloader to download a dataset into the data folder
- Run a training notebook to fit your model
- Export your model to the saved models folder
- Shrink, optimize, and deploy your model, see deploy for examples
Not really, but you can try if you must.
Go to the terminal where you ran the run-training....sh
and press CTRL+C
, WTF
Try this tutorial to learn more tutorial
Can I deploy this in a cloud environment via Docker? or run it on my big ML rig with many nvidia GPUs?
Hell yes you can! I'll eventually write a more detailed guide here on how to do that, but the setup is almost identical to running locally.