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

Updating notebooks with newest xgboost framework versions #3449

Merged
merged 1 commit into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@
"\n",
"xgb_script_mode_estimator = XGBoost(\n",
" entry_point=script_path,\n",
" framework_version=\"0.90-1\", # Note: framework_version is mandatory\n",
" framework_version=\"1.5-1\", # Note: framework_version is mandatory\n",
" hyperparameters=hyperparams,\n",
" role=role,\n",
" instance_count=2,\n",
Expand Down Expand Up @@ -736,17 +736,17 @@
"2022-04-18 00:22:23 Starting - Preparing the instances for trainingProfilerReport-1650241324: InProgress\n",
"......\n",
"2022-04-18 00:23:27 Downloading - Downloading input data...\n",
"2022-04-18 00:24:12 Training - Downloading the training image..\u001b[34mINFO:sagemaker-containers:Imported framework sagemaker_xgboost_container.training\u001b[0m\n",
"\u001b[34mINFO:sagemaker-containers:No GPUs detected (normal if no gpus installed)\u001b[0m\n",
"\u001b[34mINFO:sagemaker_xgboost_container.training:Invoking user training script.\u001b[0m\n",
"\u001b[34mINFO:sagemaker-containers:Module abalone does not provide a setup.py. \u001b[0m\n",
"2022-04-18 00:24:12 Training - Downloading the training image..\u001B[34mINFO:sagemaker-containers:Imported framework sagemaker_xgboost_container.training\u001B[0m\n",
"\u001B[34mINFO:sagemaker-containers:No GPUs detected (normal if no gpus installed)\u001B[0m\n",
"\u001B[34mINFO:sagemaker_xgboost_container.training:Invoking user training script.\u001B[0m\n",
"\u001B[34mINFO:sagemaker-containers:Module abalone does not provide a setup.py. \u001B[0m\n",
"...\n",
"2022-04-18 00:24:45 Training - Training image download completed. Training in progress.\u001b[34m[00:24:30] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.\u001b[0m\n",
"\u001b[34m[00:24:30] WARNING: /workspace/src/learner.cc:622: Tree method is automatically selected to be 'approx' for distributed training.\u001b[0m\n",
"\u001b[34m[00:24:30] Tree method is automatically selected to be 'approx' for distributed training.\u001b[0m\n",
"\u001b[35m[00:24:30] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.\u001b[0m\n",
"\u001b[35m[00:24:30] WARNING: /workspace/src/learner.cc:622: Tree method is automatically selected to be 'approx' for distributed training.\u001b[0m\n",
"\u001b[35m[00:24:30] Tree method is automatically selected to be 'approx' for distributed training.\u001b[0m\n",
"2022-04-18 00:24:45 Training - Training image download completed. Training in progress.\u001B[34m[00:24:30] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.\u001B[0m\n",
"\u001B[34m[00:24:30] WARNING: /workspace/src/learner.cc:622: Tree method is automatically selected to be 'approx' for distributed training.\u001B[0m\n",
"\u001B[34m[00:24:30] Tree method is automatically selected to be 'approx' for distributed training.\u001B[0m\n",
"\u001B[35m[00:24:30] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.\u001B[0m\n",
"\u001B[35m[00:24:30] WARNING: /workspace/src/learner.cc:622: Tree method is automatically selected to be 'approx' for distributed training.\u001B[0m\n",
"\u001B[35m[00:24:30] Tree method is automatically selected to be 'approx' for distributed training.\u001B[0m\n",
"\n",
"2022-04-18 00:25:05 Uploading - Uploading generated training model\n",
"2022-04-18 00:25:05 Completed - Training job completed\n",
Expand Down Expand Up @@ -991,4 +991,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"\n",
"* __entry_point__: The path to the Python script SageMaker runs for training and prediction.\n",
"* __role__: Role ARN\n",
"* __framework_version__: SageMaker XGBoost version you want to use for executing your model training code, e.g., `0.90-1`, `0.90-2`, `1.0-1`, or `1.5-1`.\n",
"* __framework_version__: SageMaker XGBoost version you want to use for executing your model training code, e.g., `1.0-1`, `1.2-2`, `1.3-1`, or `1.5-1`.\n",
"* __train_instance_type__ *(optional)*: The type of SageMaker instances for training. __Note__: Because Scikit-learn does not natively support GPU training, Sagemaker Scikit-learn does not currently support training on GPU instance types.\n",
"* __sagemaker_session__ *(optional)*: The session used to train on Sagemaker.\n",
"* __hyperparameters__ *(optional)*: A dictionary passed to the train function as hyperparameters."
Expand Down Expand Up @@ -456,4 +456,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"metadata": {},
"source": [
"### Obtaining the latest XGBoost container\n",
"We obtain the new container by specifying the framework version (1.5-1). This version specifies the upstream XGBoost framework version (1.3) and an additional SageMaker version (1). If you have an existing XGBoost workflow based on the previous (0.72, 0.90-1, 0.90-2, or 1.0-1) container, this would be the only change necessary to get the same workflow working with the new container."
"We obtain the new container by specifying the framework version (1.5-1). This version specifies the upstream XGBoost framework version (1.5) and an additional SageMaker version (1). If you have an existing XGBoost workflow based on the previous (1.0-1, 1.2-2 or 1.3-1) container, this would be the only change necessary to get the same workflow working with the new container."
]
},
{
Expand Down Expand Up @@ -330,4 +330,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We obtain the new container by specifying the framework version (1.5-1). This version specifies the upstream XGBoost framework version (1.3) and an additional SageMaker version (1). If you have an existing XGBoost workflow based on the previous (0.72, 0.90-1, 0.90-2, or 1.0-1) container, this would be the only change necessary to get the same workflow working with the new container."
"We obtain the new container by specifying the framework version (1.5-1). This version specifies the upstream XGBoost framework version (1.5) and an additional SageMaker version (1). If you have an existing XGBoost workflow based on the previous (1.0-1, 1.2-2 or 1.3-1) container, this would be the only change necessary to get the same workflow working with the new container."
]
},
{
Expand Down Expand Up @@ -257,4 +257,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}