You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix critical numbered list formatting issues (#1718)
Fixed 23 high-severity list formatting issues across 15 files:
- Split inline bold text that should be on separate lines
- Fixed sub-bullet indentation (2 spaces → 3 spaces for proper nesting)
- Properly indented code blocks under list items
- Fixed continuation text indentation
Most affected files:
- platform/hosting/self-managed/azure-tf.mdx
- guides/launch/setup-launch-sagemaker.mdx
- Various ja/ and ko/ translations
These formatting issues were breaking list rendering in Mintlify and
making documentation harder to read. Issues likely predate the
migration.
@@ -176,22 +176,22 @@ Next, create a queue in the W&B App that uses SageMaker as its compute resource:
176
176
5. Provide a name for your queue in the **Name** field.
177
177
6. Select **SageMaker** as the **Resource**.
178
178
7. Within the **Configuration** field, provide information about your SageMaker job. By default, W&B will populate a YAML and JSON `CreateTrainingJob` request body:
179
-
```json
180
-
{
181
-
"RoleArn": "<REQUIRED>",
182
-
"ResourceConfig": {
183
-
"InstanceType": "ml.m4.xlarge",
184
-
"InstanceCount": 1,
185
-
"VolumeSizeInGB": 2
186
-
},
187
-
"OutputDataConfig": {
188
-
"S3OutputPath": "<REQUIRED>"
189
-
},
190
-
"StoppingCondition": {
191
-
"MaxRuntimeInSeconds": 3600
192
-
}
193
-
}
194
-
```
179
+
```json
180
+
{
181
+
"RoleArn": "<REQUIRED>",
182
+
"ResourceConfig": {
183
+
"InstanceType": "ml.m4.xlarge",
184
+
"InstanceCount": 1,
185
+
"VolumeSizeInGB": 2
186
+
},
187
+
"OutputDataConfig": {
188
+
"S3OutputPath": "<REQUIRED>"
189
+
},
190
+
"StoppingCondition": {
191
+
"MaxRuntimeInSeconds": 3600
192
+
}
193
+
}
194
+
```
195
195
You must at minimum specify:
196
196
197
197
-`RoleArn` : ARN of the SageMaker execution IAM role (see [prerequisites](#prerequisites)). Not to be confused with the launch **agent** IAM role.
@@ -237,33 +237,37 @@ Navigate to **Instances** within the left panel of the EC2 Dashboard on AWS. Ens
237
237
1. Select **Connect**.
238
238
2. Select the **SSH client** tab and following the instructions outlined to connect to your EC2 instance.
239
239
3. Within your EC2 instance, install the following packages:
Now you can proceed to setting up the Launch agent config.
251
255
</Tab>
252
256
<Tabtitle="Local machine">
253
257
Use the AWS config files located at `~/.aws/config` and `~/.aws/credentials` to associate a role with an agent that is polling on a local machine. Provide the IAM role ARN that you created for the launch agent in the previous step.
Note that session tokens have a [max length](https://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html#description) of 1 hour or 3 days depending on the principal they are associated with.
Copy file name to clipboardExpand all lines: guides/launch/walkthrough.mdx
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,9 @@ Before you get started, ensure you have satisfied the following prerequisites:
55
55
1. Sign up for an account at https://wandb.ai/site and then log in to your W&B account.
56
56
2. This walkthrough requires terminal access to a machine with a working Docker CLI and engine. See the [Docker installation guide](https://docs.docker.com/engine/install/) for more information.
57
57
3. Install W&B Python SDK version `0.17.1` or higher:
58
-
```bash
59
-
pip install wandb>=0.17.1
60
-
```
58
+
```bash
59
+
pip install wandb>=0.17.1
60
+
```
61
61
4. Within your terminal, execute `wandb login` or set the `WANDB_API_KEY` environment variable to authenticate with W&B.
62
62
63
63
<Tabs>
@@ -69,9 +69,9 @@ Within your terminal execute:
69
69
```
70
70
</Tab>
71
71
<Tabtitle="Environment variable">
72
-
```bash
73
-
WANDB_API_KEY=<your-api-key>
74
-
```
72
+
```bash
73
+
WANDB_API_KEY=<your-api-key>
74
+
```
75
75
76
76
Replace `<your-api-key>` with your W&B API key.
77
77
</Tab>
@@ -114,24 +114,24 @@ Code not versioned in a git repository can be launched by specifying a local dir
114
114
115
115
Create an empty directory and add a Python script named `train.py` with the following content:
116
116
117
-
```python
118
-
import wandb
119
-
120
-
with wandb.init() as run:
121
-
run.log({"hello": "world"})
122
-
```
117
+
```python
118
+
import wandb
119
+
120
+
with wandb.init() as run:
121
+
run.log({"hello": "world"})
122
+
```
123
123
124
124
Add a file `requirements.txt` with the following content:
125
125
126
-
```text
127
-
wandb>=0.17.1
128
-
```
126
+
```text
127
+
wandb>=0.17.1
128
+
```
129
129
130
130
From within the directory, run the following command:
1. Log the contents of the current directory to W&B as a Code Artifact.
@@ -188,6 +188,6 @@ This submits the job to the queue. The agent polling this queue picks up and exe
188
188
189
189
The `wandb launch` command can push jobs to the queue directly by specifying the `--queue` argument. For example, to submit the hello-world container job to the queue, run the following command:
0 commit comments