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

✅ Issue #1557: Fixed warning during model download and conversion. #1574

Merged
merged 4 commits into from
Jul 12, 2024

Conversation

bhargavyagnik
Copy link
Contributor

Resolved Issue #1557 posted by @Andrei-Aksionov regarding warnings from depricated codebase.

  • Removed depricated params scripts/download.py
  • passed Storage obj instead of ptr in utils.py

Tests:
✅ test_convert_hf_checkpoint.py
✅ test_convert_lit_checkpoint.py
✅ test_convert_pretrained_checkpoint.py
Also tested manually downloading the model for warnings.

@rasbt
Copy link
Collaborator

rasbt commented Jul 12, 2024

Thanks for the PR!

What if we just check the pytorch version instead? I added a small modification for this. And in the future we can then also remove this when it's supported on macOS.

@rasbt
Copy link
Collaborator

rasbt commented Jul 12, 2024

Great, seems to pass now! Thanks again for the contribution!

@rasbt rasbt merged commit ef3906b into Lightning-AI:main Jul 12, 2024
9 checks passed
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.

None yet

3 participants