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

Windows linux AI, and ICO updates to c4 #48

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

daveshrestha-intel
Copy link
Contributor

@daveshrestha-intel daveshrestha-intel commented Oct 11, 2024

User description

This updates both main.tf and readme files for AI and ICO examples for C4 instance


PR Type

enhancement, documentation


Description

  • Updated machine types across multiple examples to use c4 series for improved performance.
  • Removed local versions.tf files to resolve version conflicts.
  • Updated documentation to reflect the use of 5th Gen Xeon processors.
  • Adjusted recommendedType settings in ICO examples to align with new machine types.

Changes walkthrough 📝

Relevant files
Enhancement
7 files
main.tf
Update machine type to c4-standard-32 in FastChat example

examples/gcp-linux-fastchat-simple/main.tf

  • Updated machine_type to c4-standard-32.
+1/-1     
main.tf
Update machine type to c4-standard-32 in Stable Diffusion example

examples/gcp-linux-stable-diffusion/main.tf

  • Changed machine_type to c4-standard-32.
+1/-2     
main.tf
Update machine type to c4-standard-4 in TDX VM example     

examples/gcp-linux-tdx-vm/main.tf

  • Modified machine_type to c4-standard-4.
+1/-1     
variables.tf
Update recommendedType to c4-standard-4 in Linux VM ICO example

examples/gcp-linux-vm-ico-by-densify/variables.tf

  • Updated recommendedType to c4-standard-4.
+2/-2     
variables.tf
Update recommendedType to c4-standard-4 in Windows VM ICO example

examples/gcp-windows-vm-ico-by-densify/variables.tf

  • Changed recommendedType to c4-standard-4.
+2/-2     
densify_recommendations.auto.tfvars
Update recommendedType in Linux VM ICO auto.tfvars             

examples/gcp-linux-vm-ico-by-densify/densify_recommendations.auto.tfvars

  • Changed recommendedType to c4-standard-4.
+1/-1     
densify_recommendations.auto.tfvars
Update recommendedType in Windows VM ICO auto.tfvars         

examples/gcp-windows-vm-ico-by-densify/densify_recommendations.auto.tfvars

  • Changed recommendedType to c4-standard-4.
+1/-1     
Configuration changes
2 files
versions.tf
Remove local versions.tf file in RHEL VM example                 

examples/gcp-rhel-vm/versions.tf

  • Removed local versions.tf file.
+0/-10   
versions.tf
Remove local versions.tf file in Windows VM example           

examples/gcp-windows-vm/versions.tf

  • Deleted local versions.tf file.
+0/-10   
Documentation
7 files
main.tf
Correct comment for firewall rules in AI OPEA Codegen example

examples/gen-ai-xeon-opea-codegen/main.tf

  • Corrected comment for firewall rules.
+1/-1     
README.md
Update processor generation in FastChat README                     

examples/gcp-linux-fastchat-simple/README.md

  • Updated processor generation to 5th Gen Xeon.
+2/-2     
README.md
Update processor generation in Stable Diffusion README     

examples/gcp-linux-stable-diffusion/README.md

  • Updated processor generation to 5th Gen Xeon.
+1/-1     
README.md
Update processor generation in TDX VM README                         

examples/gcp-linux-tdx-vm/README.md

  • Updated processor generation to 5th Gen Xeon.
+1/-1     
README.md
Update recommendedType in Linux VM ICO README                       

examples/gcp-linux-vm-ico-by-densify/README.md

  • Updated recommendedType to c4-standard-4.
+2/-2     
README.md
Update processor generation in RHEL VM README                       

examples/gcp-rhel-vm/README.md

  • Updated processor generation to 5th Gen Xeon.
+1/-1     
README.md
Update recommendedType in Windows VM ICO README                   

examples/gcp-windows-vm-ico-by-densify/README.md

  • Updated recommendedType to c4-standard-4.
+2/-2     

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

For examples\gcp-rhel-vm: Had to remove local versions.tf due to conflict of older version with root\version.tf thus just deleted the local versions.tf as it is not needed. After this was done - example VALIDATED.

For examples\gcp-windows-vm: Had to remove local versions.tf due to conflict of older version with root\version.tf thus just deleted the local versions.tf as it is not needed. After this was done - example VALIDATED.

For examples\gcp-windows-vm-ico-by-densify: variables.tf needed to be modified to set recommendedType = "c4-standard-4"- these changes were also don on readme.md, densify_recommendation.auto.tvars files - VALIDATED.

For examples\gcp-linux-vm-ico-by-densify: variables.tf needed to be modified to set recommendedType = "c4-standard-4"- these changes were also don on readme.md, densify_recommendation.auto.tvars files - VALIDATED.
…r C4

Updated all of the AI, TDX, and ICO modules and readme with update for C4
@github-actions github-actions bot added documentation Improvements or additions to documentation enhancement New feature or request Review effort [1-5]: 2 labels Oct 11, 2024
Copy link
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

Copy link
Contributor

PR Code Suggestions ✨

No code suggestions found for the PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to delete this file? Just checking.

@@ -8,7 +8,7 @@

## Intel Red Hat Enterprise Linux GCP VM Example

This module creates a Red Hat Enterprise Linux (RHEL) VM on the Intel Sapphire Rapids CPU. The virtual machine is created on an Intel Sapphire Rapids c3-standard-4 by default.
This module creates a Red Hat Enterprise Linux (RHEL) VM on the Intel 5th Gen Emerald Rapids CPU. The virtual machine is created on an Intel Sapphire Rapids c3-standard-4 by default.
Copy link
Contributor

@lucasmelogithub lucasmelogithub Oct 11, 2024

Choose a reason for hiding this comment

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

Should we change this "Intel Sapphire Rapids c3-standard-4"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's should say c4-standard-4 by default- Emerald Rapids.

Copy link
Contributor

@lucasmelogithub lucasmelogithub left a comment

Choose a reason for hiding this comment

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

LGTM

@lucasmelogithub lucasmelogithub merged commit 42cec97 into main Oct 11, 2024
2 checks passed
@lucasmelogithub lucasmelogithub deleted the windows-linux-ico-updates-to-c4 branch October 11, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request Review effort [1-5]: 2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants