mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-30 03:20:51 +00:00
restructure into local and cloud setup
This commit is contained in:
parent
b4b2ac668c
commit
eabeab04d1
@ -15,6 +15,11 @@ pip install -r requirements.txt
|
||||
|
||||
|
||||
|
||||
# Local Setup
|
||||
|
||||
This section provides recommendations for running the code in this book locally. Note that the code in the main chapters of this book is designed to run on conventional laptops within a reasonable timeframe and does not require specialized hardware. I tested all main chapters on an M3 MacBook Air laptop. Additionally, if your laptop or desktop computer has an NVIDIA GPU, the code will automatically take advantage of it.
|
||||
|
||||
|
||||
## Setting up Python
|
||||
|
||||
If you don't have Python set up on your machine yet, I have written about my personal Python setup preferences in the following directories:
|
||||
@ -46,6 +51,14 @@ If you are using Visual Studio Code (VSCode) as your primary code editor, you ca
|
||||
|
||||
|
||||
|
||||
# Cloud Resources
|
||||
|
||||
This section describes cloud alternatives for running the code presented in this book.
|
||||
|
||||
While the code can run on conventional laptops and desktop computers without a dedicated GPU, cloud platforms with NVIDIA GPUs can substantially improve the runtime of the code, especially in chapters 5 to 7.
|
||||
|
||||
|
||||
|
||||
## Using Lightning Studio
|
||||
|
||||
For a smooth development experience in the cloud, I recommend the [Lightning AI Studio](https://lightning.ai/) platform, which allows users to set up a persistent environment and use both VSCode and Jupyter Lab on cloud CPUs and GPUs.
|
||||
@ -85,6 +98,6 @@ You can optionally run the code on a GPU by changing the *Runtime* as illustrate
|
||||
|
||||
|
||||
|
||||
## Questions?
|
||||
# Questions?
|
||||
|
||||
If you have any questions, please don't hesitate to reach out via the [Discussions](https://github.com/rasbt/LLMs-from-scratch/discussions) forum in this GitHub repository.
|
||||
|
Loading…
x
Reference in New Issue
Block a user