Skip to content
New issue

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

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

Already on GitHub? # to your account

Refactoring - Split core.py into smaller files #363

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

IrvingMg
Copy link
Collaborator

@IrvingMg IrvingMg commented Feb 4, 2025

Fixes / Features

  • Refactoring. Split core.py into smaller files.

Testing / Documentation

Testing details.

  • [ y/n ] Tests pass
  • [ y/n ] Appropriate changes to documentation are included in the PR

@IrvingMg IrvingMg force-pushed the split-core-into-smaller-files branch from e7b3296 to f018ea7 Compare February 4, 2025 16:25
@IrvingMg IrvingMg force-pushed the split-core-into-smaller-files branch 7 times, most recently from 783700d to 746d150 Compare February 5, 2025 17:35
@IrvingMg IrvingMg marked this pull request as ready for review February 5, 2025 18:06
@IrvingMg IrvingMg changed the title Split core.py into smaller files Refactoring - Split core.py into smaller files Feb 6, 2025
@IrvingMg IrvingMg force-pushed the split-core-into-smaller-files branch from 746d150 to 5b68583 Compare February 10, 2025 09:15
@IrvingMg
Copy link
Collaborator Author

cc: @pawloch00

command = (
'kubectl apply -f '
# pylint: disable=line-too-long
'https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/gpudirect-tcpx/nccl-tcpx-installer.yaml'
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we have this link moved to separate variable


if system.accelerator_type == AcceleratorType['GPU']:
# For GPUs, it has two more spaces ahead of name and value respectively
env_format = '''
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we turn this strings into dictionaries?

@pawloch00
Copy link
Collaborator

Can we have files inside core directory grouped into packages?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants