Skip to content

Is it possible to automatically get the torch version from the pdm.lock? #13

@amitkparekh

Description

@amitkparekh

Hi! Thank you for creating and maintaining this! I think it's an excellent resource and it's something that I'll be recommending to many people going forwards!

I noticed that we currently need to specify the version for each package/dependency we want to update/get from the torch repository. Do you think it could be possible that, if the version is not specified in the dependencies array, the plugin checks the current pdm.lock file for the torch version, and then downloads/installs the backend but using that version?

I'm thinking about this because in that way, once a user installs the dependency with pdm add (e.g. pdm add torch), the plugin can then just automatically install the desired backend given the version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions