Pytorch-lightning: Question regarding getting a version

Created on 11 Oct 2019  路  7Comments  路  Source: PyTorchLightning/pytorch-lightning

Hi

To my understanding, currently we could not getting a version of library such as pl.__version__.

If it is correct, then can you consider include a version number, which might help to handle significant version change like 0.4.x to 0.5.x.

Thanks, :)

question

Most helpful comment

I think the OP is looking for something similar to numpy.__version__

All 7 comments

good point @Borda any thoughts?

@seungwooYoo could you please be mo specific what you mean by getting version?
are you talking about instaling pytorch-lightning in a particular version?
then you can just install from pip

pip instal pytorch-lightning==0.5.2

any version available here: https://pypi.org/project/pytorch-lightning/#history
ar you can install it from GitHub directly

pip install https://github.com/williamFalcon/pytorch-lightning/archive/0.4.9.zip

as you can see the releases here: https://github.com/williamFalcon/pytorch-lightning/releases

OR are you talking about PyTorch versions?

I think the OP is looking for something similar to numpy.__version__

@Borda want to finish this PR? :)
Almost there, but need to make sure that:

  1. pip install -e . works

normal pip install works

sure, so you propose to replace python setup.py install --dry-run by pip install -e .
but it seems to fail on so working on it today...

no.

pip install -e . is for local development

@williamFalcon I believe that it is ready - https://github.com/williamFalcon/pytorch-lightning/pull/395

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justusschock picture justusschock  路  3Comments

awaelchli picture awaelchli  路  3Comments

edenlightning picture edenlightning  路  3Comments

versatran01 picture versatran01  路  3Comments

srush picture srush  路  3Comments