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

override device_map if the model is gptq-based #611

Closed
wants to merge 4 commits into from

Conversation

Napuh
Copy link
Contributor

@Napuh Napuh commented Sep 20, 2023

Override device_map in config if the model is GPTQ-based.

This solves #599, which wasn't entirely addressed by #609.

After this PR, example gptq-lora.yml trains correctly.

Finetuning with 2xRTX3090 works too, but I'm not really sure on how it will perform on custom accelerate configs.

@winglian
Copy link
Collaborator

@Napuh This should be fixed with #621 now

@winglian winglian closed this Sep 22, 2023
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.

2 participants