Skip to content

feat(jetstream-maxtext): Add stable stack Docker image and build scripts#254

Merged
copybara-service[bot] merged 1 commit intomainfrom
yuyan-stable-stack
Apr 23, 2025
Merged

feat(jetstream-maxtext): Add stable stack Docker image and build scripts#254
copybara-service[bot] merged 1 commit intomainfrom
yuyan-stable-stack

Conversation

@yuyanpeng-google
Copy link
Copy Markdown
Collaborator

This commit introduces the jetstream-maxtext-stable-stack experimental feature.

It provides a Dockerfile and associated scripts to build a stable container image containing specific versions of JetStream and MaxText for reliable TPU inference deployment.

Includes:

  • Dockerfile: Defines the image build process, cloning specified commits of MaxText and JetStream, installing dependencies, and generating a manifest file.
  • README.md: Explains the purpose, how to pull nightly images, run the container, and build the image locally.
  • build.sh: Script to build the Docker image locally, allowing specification of commit hashes.
  • test.sh: Script to run test scripts located in test_script/ within the built Docker image.
  • pipeline.sh: Orchestrates building, testing, and uploading the image to a container registry.
  • generate_manifest.sh: Script run during the Docker build to create a manifest file listing installed packages and commit hashes.
  • test_script/: Directory containing test scripts.

This commit introduces the `jetstream-maxtext-stable-stack` experimental feature.

It provides a Dockerfile and associated scripts to build a stable container image containing specific versions of JetStream and MaxText for reliable TPU inference deployment.

Includes:
- `Dockerfile`: Defines the image build process, cloning specified commits of MaxText and JetStream, installing dependencies, and generating a manifest file.
- `README.md`: Explains the purpose, how to pull nightly images, run the container, and build the image locally.
- `build.sh`: Script to build the Docker image locally, allowing specification of commit hashes.
- `test.sh`: Script to run test scripts located in `test_script/` within the built Docker image.
- `pipeline.sh`: Orchestrates building, testing, and uploading the image to a container registry.
- `generate_manifest.sh`: Script run during the Docker build to create a manifest file listing installed packages and commit hashes.
- `test_script/`: Directory containing test scripts.
@github-actions github-actions Bot added the pull ready This label is needed if we want the copybara service to auto sync it to g3. label Apr 22, 2025
Copy link
Copy Markdown
Collaborator

@vipannalla vipannalla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great. Gives us a base PR to build on and add more tests/checks.

@copybara-service copybara-service Bot merged commit f71349a into main Apr 23, 2025
7 checks passed
@copybara-service copybara-service Bot deleted the yuyan-stable-stack branch April 23, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pull ready This label is needed if we want the copybara service to auto sync it to g3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants