Skip to content

Remove deprecated update_neuron_sdk.sh lifecycle script#1050

Open
tmchow wants to merge 1 commit intoawslabs:mainfrom
tmchow:deprecate/973-remove-update-neuron-sdk
Open

Remove deprecated update_neuron_sdk.sh lifecycle script#1050
tmchow wants to merge 1 commit intoawslabs:mainfrom
tmchow:deprecate/973-remove-update-neuron-sdk

Conversation

@tmchow
Copy link
Copy Markdown

@tmchow tmchow commented Apr 2, 2026

Summary

Removed the deprecated update_neuron_sdk.sh lifecycle script and all references to it. The script was pinned to Neuron SDK 2.21.0 (current is 2.27.1+) and was already disabled by default in config.

Why

HyperPod Slurm AMIs ship with the Neuron SDK preinstalled, and the SDK is automatically updated via the UpdateClusterSoftware API. This script is unnecessary and its pinned versions were significantly outdated.

Changes

  • Deleted utils/update_neuron_sdk.sh
  • Removed enable_update_neuron_sdk config flag from config.py
  • Removed the conditional execution block from lifecycle_script.py
  • Replaced the Neuron prompt in automate-cluster-creation.sh with a comment explaining that no configuration is needed

Testing

The enable_update_neuron_sdk flag was False by default, so this script was not executing in standard deployments. Removing it has no effect on existing clusters.

Fixes #973

This contribution was developed with AI assistance (Claude Code).

The Neuron SDK is preinstalled on HyperPod Slurm AMIs and updated
via the UpdateClusterSoftware API. The update_neuron_sdk.sh script
pinned to SDK 2.21.0 (current is 2.27.1+) and was already disabled
by default.

Removed:
- utils/update_neuron_sdk.sh
- enable_update_neuron_sdk config flag from config.py
- Conditional execution block from lifecycle_script.py
- Neuron prompt from automate-cluster-creation.sh

Fixes awslabs#973
@tmchow tmchow requested a review from a team April 2, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Deprecate and remove update_neuron_sdk.sh lifecycle script

1 participant