Skip to content

Fix device select #125

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FBielicki
Copy link

Create_predictor() in gluon/estimator.py did not get the self.device parameter which was set in upper Class.

Instead it was hardcoded with Cuda or CPU.
If you want to work with mps for example you can now do this by just passing torch.device("mps") to the LagLlamaEstimator.

Previously nothing happened while doing this.

Cheers

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.

1 participant