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

ValueError: Found modules on cpu/disk #2

Open
AkshatSaxena-23 opened this issue Mar 18, 2024 · 0 comments
Open

ValueError: Found modules on cpu/disk #2

AkshatSaxena-23 opened this issue Mar 18, 2024 · 0 comments

Comments

@AkshatSaxena-23
Copy link

AkshatSaxena-23 commented Mar 18, 2024

I was trying to use Mistral-7B as the reward model but i kept getting error "ValueError: Found modules on cpu/disk. Using Exllama or Exllamav2 backend requires all the modules to be on GPU.You can deactivate exllama backend by setting disable_exllama=True in the quantization config object".
All I did was changed the name of model and tokenizer in the "configs/ppo_flan_sentiments.yml" file. and changed the 'init' method in the class ZeroShotRewardModel according to my model.
Can someone tell what can i do to resolve the error?

RLAID_error
constructor

I am passing the reward model and config to trlx.train() in the main method in a similar way as done in ppo_flan_sentiments.py.

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

No branches or pull requests

1 participant