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

[Package] Changing source directory name #102

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

benjaminye
Copy link
Contributor

@benjaminye benjaminye added the enhancement New feature or request label Apr 2, 2024
@benjaminye benjaminye requested a review from RohitSaha April 2, 2024 16:25
@benjaminye benjaminye linked an issue Apr 2, 2024 that may be closed by this pull request
Comment on lines -9 to -11
from rich.console import Console
from rich.layout import Layout
from rich.panel import Panel
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we remove this in this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unused imports. But I agree this should be separate.

@@ -23,10 +22,10 @@
from rich.console import Console


from src.pydantic_models.config_model import Config
from src.utils.save_utils import DirectoryHelper
from src.finetune.finetune import Finetune
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unused imports. But I agree this should be separate.

Comment on lines -7 to -9
from rich.console import Console
from rich.table import Table
from rich.live import Live
Copy link
Contributor

Choose a reason for hiding this comment

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

same question: I would keep renaming as one change and fixing rich as another PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed

import statistics
from src.qa.qa_tests import *
from llmtune.qa.qa_tests import *
Copy link
Contributor

Choose a reason for hiding this comment

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

please. do not do this. import only what you need

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • This has been resolved with Vivek
  • We restructured the design pattern to eliminate having to import here at all

@benjaminye benjaminye merged commit 613a30e into main Apr 2, 2024
2 checks passed
@benjaminye benjaminye deleted the feature/src-rename branch April 4, 2024 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Package] Rename source directory src to something more descriptive
2 participants