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

improve handling of the prepared ds path and other cfg defaults #701

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

winglian
Copy link
Collaborator

@winglian winglian commented Oct 8, 2023

Defaults to saving the prepared dataset, even if it's not going to be used unless explicitly called
warns in red when calling prepare_ds_only without a prepared dataset path set
disable sample packing when doing inference

@NanoCode012
Copy link
Collaborator

Doesn't this revert the no cache behavior when prepared dataset config is missing?

@winglian
Copy link
Collaborator Author

it writes the cache, it just doesn't use it. Which I think is safer in most cases, especially if you're explicitly running prepare_ds_only. Like if you're running that command, and not caching the dataset, it serves no purpose, since that's the expectation of running prepare.

@winglian winglian merged commit 1c412c7 into main Oct 13, 2023
4 checks passed
@winglian winglian deleted the cfg-defaults branch October 13, 2023 11:46
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