PacktPublishing / Deep-Learning-with-PyTorch-Lightning

Getting Started with PyTorch Lightning, Published by Packt
MIT License
150 stars 82 forks source link

Deprecation of installation of lightning-bolts #1

Closed m-ali-awan closed 2 years ago

m-ali-awan commented 2 years ago

The installation of lightning bolts need to be done as follows:

pip install lightning-bolts --quiet

This one is deprecated, and raise errors:

!pip install pytorch-lightning-bolts --quiet
kunal-savvy commented 2 years ago

The diff is normally on which env is used. If its a shell based env is used inside of Colab !pip is needed while on conda "pip".

Borda commented 2 years ago

@kunal-savvy the issue is in the package name, the legacy name which seems to be used in the book is pytorch-lightning-bolts but the actual package name is lightning-bolts

kunal-savvy commented 2 years ago

@Borda noted. Thanks. This is corrected in the revised edition.

Borda commented 2 years ago

Just to understand, this book was not published yet and there is already revisited edition, so what is the point of rolling that old one?

kunal-savvy commented 2 years ago

Dear Reader

Thanks a lot for showing your interest and trust in the book. I want to profusely apologize for the poor experience you had in the pre-release version of the book.

To give a quick context about the background; we have started & finalized the draft on PyTorch Lightning version 1.1.x or 1.0.x. However as we neared the launch, it became clear that with the PyTorch Lightning 1.5.x release, a lot of framework has undergone functional changes including callbacks & key capabilities. While the code could have worked in isolation by installing correct packages; in order to have better experience for the readers, we have decided to delay the release and upgrade all the content to 1.5.x and release a revised edition. This is to ensure that all the latest features of new framework releases are correctly captured which makes applications in Deep Learning even easier.

To this effect we have changed the release date for the book in the USA on Amazon. The book was not released in the USA during this time.However, somehow that change was not reflected in some countries and pre-orders were released for the previous version of the book. Neither me nor the publisher were aware of this. We came to know of this only after feedback from users like you, which we could not fully understand at first since we were not aware of anyone actively using either the book or the Github repo. The Github code files during this time continued to evolve to reflect our upgrade. I am sorry that you had a bad experience due to this.

Nevertheless, the updated version is ready and it is more than just a code upgrade to PL 1.5.x

We must thank you for initial feedback as well on install instructions which we tried to address with more depth.

Me and Publisher would be happy to send you a free revised copy as a replacement for your previous order if received before April release. Doing so directly via Amazon turned out to be a challenge since Amazon does not share customer data. If you can forward your order info along with your contact details to the publisher email id at Gebin George; then we would be glad to send the copy of revised edition.

My sincere apologies again for the confusion and hope that you will give another chance to trust us. As always we appreciate your feedback, so please do share if you come across any new issues. You can always reach me at kunal.sawarkar@gmail.com.

Thanks & Regards, Kunal S