Skip to content

Commit 8a1723c

Browse files
committed
Updated training md
1 parent b0aa1cc commit 8a1723c

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

training.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Model Training Guide
22

3-
This guide explains how to set up the environment and train the HSTU/DLRM models on Cloud TPU v6 (or other TPU generations).
3+
This guide explains how to set up the environment and train the HSTU/DLRM models on Cloud TPU v6.
44

55
## Option 1: Virtual Environment (Recommended for Dev)
66

@@ -11,14 +11,6 @@ Ensure you have **Python 3.11+** installed.
1111
```bash
1212
python3 --version
1313
```
14-
#### Create the venv\
15-
```bash
16-
python3 -m venv venv
17-
```
18-
#### Activate it
19-
```bash
20-
source venv/bin/activate
21-
```
2214

2315
### 2. Create and Activate Virtual Environment
2416
Run the following from the root of the repository:
@@ -38,7 +30,7 @@ We need to force a specific version of Protobuf to ensure compatibility with our
3830
```bash
3931
pip install "protobuf>=6.31.1" --no-deps
4032
```
41-
The --no-deps flag is required to prevent pip from downgrading it due to strict dependency pinning in other libraries.
33+
The `--no-deps` flag is required to prevent pip from downgrading it due to strict dependency pinning in other libraries.
4234

4335
### 4. Run the Training for DLRM
4436
```bash
@@ -50,7 +42,7 @@ python dlrm_experiment_test.py
5042
If you prefer not to manage a virtual environment or want to deploy this as a container, you can build a Docker image.
5143

5244
## 1. Build the Image
53-
reate a file named `Dockerfile` in the root of the repository:
45+
Create a file named `Dockerfile` in the root of the repository:
5446

5547
```dockerfile
5648
# Use an official Python 3.11 runtime as a parent image

0 commit comments

Comments
 (0)