Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix notebook error #6840

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion tutorials/nlp/Megatron_Synthetic_Tabular_Data_Generation.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"id": "c3217a15",
"metadata": {},
Expand All @@ -15,6 +16,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "8c72dc42",
"metadata": {},
Expand All @@ -25,6 +27,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "79154a9e",
"metadata": {},
Expand Down Expand Up @@ -73,6 +76,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "7e0bbc89",
"metadata": {},
Expand All @@ -92,6 +96,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "1ff1d46f",
"metadata": {},
Expand Down Expand Up @@ -141,6 +146,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "aa356012",
"metadata": {},
Expand Down Expand Up @@ -239,6 +245,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "02bff63f",
"metadata": {},
Expand Down Expand Up @@ -267,6 +274,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "89e1e5b3",
"metadata": {},
Expand Down Expand Up @@ -339,6 +347,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "05ebadc3",
"metadata": {},
Expand All @@ -347,6 +356,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "2fe38a29",
"metadata": {},
Expand Down Expand Up @@ -381,6 +391,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "678f65ef",
"metadata": {},
Expand Down Expand Up @@ -411,6 +422,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "8af66b4a",
"metadata": {},
Expand Down Expand Up @@ -464,6 +476,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6ecec681",
"metadata": {},
Expand All @@ -472,6 +485,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "58a3d4fa",
"metadata": {},
Expand Down Expand Up @@ -543,6 +557,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "45ac928f",
"metadata": {},
Expand All @@ -557,6 +572,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "158a4bbe",
"metadata": {},
Expand Down Expand Up @@ -586,7 +602,7 @@
"outputs": [],
"source": [
"CHECKPONT_FILE_NAME = megatron_gpt--val_loss=1.17-step=10047-consumed_samples=80376.0-last.ckpt # change it to your checkpoint file name\n",
"!python -m torch.distributed.launch --nproc_per_node=1 megatron_ckpt_to_nemo.py \\\n",
"!python -m torch.distributed.launch --nproc_per_node=1 --use-env=True megatron_ckpt_to_nemo.py \\\n",
" --checkpoint_folder=gpt_creditcard_results/megatron_gpt/checkpoints/ \\\n",
" --checkpoint_name={CHECKPONT_FILE_NAME} \\\n",
" --nemo_file_path=tabular.nemo \\\n",
Expand All @@ -597,6 +613,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "fa16378e",
"metadata": {},
Expand All @@ -605,6 +622,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "ed056ec6",
"metadata": {},
Expand All @@ -630,6 +648,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "a62b48dc",
"metadata": {},
Expand Down Expand Up @@ -685,6 +704,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "cccd54d9",
"metadata": {},
Expand Down Expand Up @@ -790,6 +810,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "0f2f6e3a",
"metadata": {},
Expand Down
Loading