Skip to content

[QUESTION] Is there a recommended way to use darts with cpu version of pytorch ? #2831

@trya2l

Description

@trya2l

Hello,

I have this use case where I need to use darts with PyTorch, but I do not have access/need for a GPU.

I was able to install darts with PyTorch CPU version with

pip install u8darts 
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install pytorch_lightning

Is there a better or more official way to install Darts with CPU-only PyTorch? For example, could there be an option like pip install u8darts[torch-cpu] similar to existing extras ?

If so, would it be appropriate to add these instructions to the official installation docs here?

https://github.com/unit8co/darts/blob/master/INSTALL.md

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsCI/CD, packaging, code maintenance, ...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions