-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing sample CLI design; Refactor devices; Trying out quantization (…
…#70) * MidiDataset can initialize with an iterator and only expand when necessary. * reduce some memory overhead (we are starting to have >100k MidiDict and may get more in the future) * classmethod+property is better... * remove functools import * use separate workers to build dataset instead of process pool * add jsonl.zst support; unit test; fix bug * receive context length via commandline. It's more convenient than digging into the config file every time. * fix a minor output format mismatch when grad_checkpoint is true * remove hardcoded cuda() as well as autocast for cpu inferencing; int8 quantization works; fix a bug on gradient_checkpointing along with use_cache * fixing device * fixing device * bitsandbytes unnecessary now. * Add a warning to force CPU when quantization is used in aria.run sample * formatting; Also add black formatter to Makefile
- Loading branch information
1 parent
9099103
commit 55f5068
Showing
3 changed files
with
154 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters