Comments (4)
Thank you for your help, @Sar2580P. I just want to clarify a couple of things, I hope you don't mind.
So, if I install and import Lightning, I'll get many features in addition to Pytorch-lightning. However, if I only import the Pytorch-lightning, I will still need to import Lightning to be able to use, let's say, Fabric. Is that correct?
Regarding importing pytorch-lightning, I still need to import it as pytorch_lightning
instead of just lightning
. But that works for now. Can you please share your code to install and import Pytorch-lightning?
from pytorch-lightning.
If you want to use features of pytorch-lightning from lightning then do following:
pip install lightning
import lightning.pytorch as L
Hope this helps
from pytorch-lightning.
Pytorch-Lightning is just a wrapper on Pytorch as mentioned here
Lightning is a frame-work which has many other features like :
app, pytorch, fabric, data, store
Each feature in Lightning is also released as a package... that's why you are seeing Pytorch-Lightning as a package.
Regarding your issue :
I have both installed on my local and I can import both modules ....
Hope I could clear your doubt...
I would appreciate any further discussion.
from pytorch-lightning.
It works! Thank you so much for your help @Sar2580P
from pytorch-lightning.
Related Issues (20)
- Shuffle order is the same across runs when using strategy='ddp'
- LearningRateMonitor broken on MPS backend with Apple silicon
- Mixed precision, ddp and torch.no_grad()
- Cannot turn off sampler injection at inference time.
- Weights are misshappen when using model's forward in on_fit_end() hook with FSDP
- Registered buffers not moved to correct device when using DeepSpeed Stage 3
- Problem in multi-gpu training HOT 2
- `_update_dataloader` improperly copies state of subclassed dataloader with attribute names that differ from `__init__` parameters.
- rich progress bar shows v_num as 0.000
- _atomic_save with transaction cause "Invalid cross-device link" error HOT 2
- Custom batch sampler fails to re-instantiate in `_dataloader_init_kwargs_resolve_sampler` HOT 1
- MLFlow logger returns None when MLFlow server is used
- `strict = False` does not work when the checkpoint is distributed
- Lightning place model inputs and model to different devices HOT 1
- Validation is incorrectly run on resume HOT 2
- WandbLogger will cause error on TPU v3-8
- Bug Report: Incorrect URI Prefix Stripping in MLflowLogger
- SLURM resubmission crashes because of multiprocessing error
- `NeptuneCallback` produces lots of `X-coordinates (step) must be strictly increasing` errors
- Saving a checkpoint every n epochs does not work as expected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-lightning.