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

Fix broken CLI; remove duplicate metadata from setup.py #2136

Merged
merged 4 commits into from
Dec 6, 2024
Merged

Conversation

djsaunde
Copy link
Contributor

@djsaunde djsaunde commented Dec 6, 2024

Description

Title. Recent pyproject.toml addition clashes with the CLI PR changes. Fixed by specifiying the entry point in pyproject.toml. I was also able to remove some duplicate metadata in setup.py.

Motivation and Context

CLI is broken.

How has this been tested?

On this branch:

# pip install -e .
...
Successfully installed axolotl-0.5.3.dev38+g5726141c.d20241206

# axolotl train examples/openllama-3b/lora.yml  # runs without error
...

@djsaunde djsaunde requested a review from winglian December 6, 2024 13:41
@djsaunde djsaunde self-assigned this Dec 6, 2024
Copy link
Collaborator

@winglian winglian left a comment

Choose a reason for hiding this comment

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

lgtm, we can add the check in tests.yaml in a separate PR if that's faster

Copy link
Collaborator

@winglian winglian left a comment

Choose a reason for hiding this comment

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

:shipit:

@winglian
Copy link
Collaborator

winglian commented Dec 6, 2024

I canceled the e2e tests on this as they are not necessary for this PR

@winglian winglian merged commit 08fa133 into main Dec 6, 2024
10 of 12 checks passed
@winglian winglian deleted the cli-fix branch December 6, 2024 15:19
djsaunde added a commit that referenced this pull request Dec 16, 2024
* Fix broken CLI; remove duplicate metadata from setup.py

* Adding tests.yml CLI check

* updating

* remove test with requests to github due to rate limiting

---------

Co-authored-by: Dan Saunders <[email protected]>
djsaunde added a commit that referenced this pull request Dec 17, 2024
* Fix broken CLI; remove duplicate metadata from setup.py

* Adding tests.yml CLI check

* updating

* remove test with requests to github due to rate limiting

---------

Co-authored-by: Dan Saunders <[email protected]>
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.

2 participants