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

Changing sample CLI design; Refactor devices; Trying out quantization #70

Merged
merged 18 commits into from
Nov 30, 2023

Conversation

honglu2875
Copy link
Contributor

@honglu2875 honglu2875 commented Nov 22, 2023

  • changing some devices of aria.run sample so that I don't have to type in binary name and midi filename every time.
  • refactor some codes related to devices, such as removing hardcoded .cuda(). If cuda not available it will just use CPU in the CLI, but the greedy_sample function will always take an extra paramter regarding which device to put tensors.
    ~- [ ] testing out torch 2.0 quantization features. Working on CPU but cuda still has problems...... ~
  • add CPU quantization support (cuda does not work for the moment)

@honglu2875 honglu2875 marked this pull request as ready for review November 30, 2023 17:50
@loubbrad loubbrad merged commit 55f5068 into EleutherAI:main Nov 30, 2023
2 checks passed
@honglu2875 honglu2875 deleted the dev branch November 30, 2023 18:38
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

2 participants