Skip to content

Comments

Fix device select#125

Open
FBielicki wants to merge 1 commit intotime-series-foundation-models:mainfrom
FBielicki:main
Open

Fix device select#125
FBielicki wants to merge 1 commit intotime-series-foundation-models:mainfrom
FBielicki:main

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