https://github.com/twsl/lit-wsl
My personal library of reusable Lightning components
https://github.com/twsl/lit-wsl
deep-learning lightning pytorch pytorch-lightning
Last synced: 4 months ago
JSON representation
My personal library of reusable Lightning components
- Host: GitHub
- URL: https://github.com/twsl/lit-wsl
- Owner: twsl
- License: mit
- Created: 2025-11-22T04:48:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-01-13T08:10:37.000Z (5 months ago)
- Last Synced: 2026-01-13T10:47:02.956Z (5 months ago)
- Topics: deep-learning, lightning, pytorch, pytorch-lightning
- Language: Python
- Homepage: https://twsl.github.io/lit-wsl/
- Size: 601 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# lit-wsl
[](https://github.com/twsl/lit-wsl/actions/workflows/build.yaml)
[](https://github.com/twsl/lit-wsl/actions/workflows/docs.yaml)

[](https://pypi.org/project/lit-wsl/)
[](https://pypi.org/project/lit-wsl/)
[](https://squidfunk.github.io/mkdocs-material/)
[](https://github.com/astral-sh/uv)
[](https://github.com/astral-sh/ruff)
[](https://github.com/astral-sh/ty)
[](https://github.com/j178/prek)
[](https://github.com/PyCQA/bandit)
[](https://github.com/twsl/lit-wsl/releases)
[](https://github.com/copier-org/copier)
[](LICENSE)
My personal library of reusable Pytorch Lightning components
## Features
- [IntermediateLayerGetter](./src/lit_wsl/models/intermediate_layer_getter.py)
- [WeightRenamer](./src/lit_wsl/models/weight_renamer.py)
- [WeightMapper](./src/lit_wsl/mapper/weight_mapper.py)
- [ModelTester](./src/lit_wsl/testing/lightning_tester.py)
## Installation
With `pip`:
```bash
python -m pip install lit-wsl
```
With [`uv`](https://docs.astral.sh/uv/):
```bash
uv add lit-wsl
```
## How to use it
```python
import lit_wsl
...
```
## Docs
```bash
uv run mkdocs build -f ./mkdocs.yml -d ./_build/
```
## Update template
```bash
copier update --trust -A --vcs-ref=HEAD
```
## Credits
This project was generated with [](https://github.com/twsl/python-project-template)