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

Misc fixes #944

Merged
merged 3 commits into from
Feb 3, 2025
Merged

Misc fixes #944

merged 3 commits into from
Feb 3, 2025

Conversation

ashwinb
Copy link
Contributor

@ashwinb ashwinb commented Feb 3, 2025

  • Make sure torch + torchvision go together as deps, otherwise bad stuff happens
  • Add a pre-commit for requirements.txt

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 3, 2025
@@ -43,6 +43,12 @@ repos:
additional_dependencies:
- black==24.3.0

- repo: https://github.com/astral-sh/uv-pre-commit
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh they even had a pre-commit hook?!

@@ -0,0 +1,53 @@
# This file was autogenerated by uv via the following command:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this file needed in addition to uv.lock?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@terrytangyuan in an ideal world, this file is not needed at all. but many folks still instinctively look for this file and have processes dependent on it. that's why uv even has this export mechanism.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds good

@ashwinb ashwinb merged commit f98efe6 into main Feb 3, 2025
1 check passed
@ashwinb ashwinb deleted the fix_deps branch February 3, 2025 22:08
srikanthbachala20 pushed a commit to srikanthbachala20/llama-stack that referenced this pull request Feb 27, 2025
- Make sure torch + torchvision go together as deps, otherwise bad stuff
happens
- Add a pre-commit for requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants