Welcome to the course repository for STAT362! This repo is designed to support your learning throughout the course. Please read this document carefully to get started and make the most of the provided resources.
instructor/— Official course materials, homework assignments, and resources (provided by instructors).student/— Your own work: homework solutions, project code, and notes. All your submissions should go here..mdfiles — Setup and environment guides to help you get started on your laptop or on Google Cloud Platform (GCP).
- Fork this repository to your own GitHub account.
- Clone your fork to your local machine.
- Sync regularly with the upstream (instructor's) repo to get updates:
git remote add upstream <instructor-repo-url> git fetch upstream git merge upstream/main
-
Follow the setup guides:
venv_setup.md: Set up a Python virtual environment using Poetry.install_gcp.md: Set up a GCP GPU instance (if needed).dev_gcp.md: Develop on GCP using VS Code Remote SSH.
-
Recommended IDE: Visual Studio Code
- Install the Remote - SSH extension for remote development.
-
Local Development:
- Do most of your coding, debugging, and preliminary testing on your laptop.
- If your laptop has a suitable GPU (NVIDIA or Apple M-series), you can complete most assignments locally.
-
Cloud (GCP) Development:
- For large models or heavy computation, use a GCP GPU instance.
- Two ways to use GCP:
- Code Locally, Run Remotely:
- Push your code to GitHub, then SSH into your GCP instance and run scripts from the command line.
- VS Code Remote SSH:
- Use the Remote - SSH extension to develop directly on the GCP instance with the full power of VS Code.
- Code Locally, Run Remotely:
- Instructor posts materials and assignments in the appropriate folders.
- Keep your repo up to date by syncing with the upstream instructor repo.
- Python Virtual Environment Setup (
venv_setup.md) - GCP GPU Instance Setup (
install_gcp.md) - GCP Development with VS Code (
dev_gcp.md) - Frequently Asked Questions (
faq.md)
- If you have questions, please reach out to the instructor or TA via Ed.
Happy coding and learning!