remifan/commplax
소개
The lib for https://remifan.github.io/gdbp_study/article.html see also: https://github.com/remifan/gdbp_study
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCommplax: differentiable DSP for optical communication
Commplax is a modern Python DSP library mostly written in JAX, which is made by Google for high-performance machine learning research. Thanks to JAX's friendly API (most are Numpy's), efficient Autograd function and hardware acceleration, Commplax is/can:
- deal with Complex number well, thanks to JAX's native Complex number support
- shipped with accelerated well-tested DSP algorithms and core operations
- optimize computationally complex DSP (e.g. Digital Back Propogation) which is tranditionally inconvenient to do
- optimize DSP with deep learning models written in JAX's derivitives (e.g. Flax)
- designed carefully to maximize the readlibity and usability of the codebase
- flawlessly deploy to cloud runtime (e.g. Colab, Binder) to share and colabrate
Commplax is designed for researchers in (optical) communication community and machine learning community, and hopefully may help to ease the collaboration between 2 worlds.
- Tranditional physical layer DSP experts can reply on Commplax to boost their algorithms, optimize the most complicated parts, and further learn how deep learning works from bottom (autograd, optimizers, backprop, ...) to top (all kinds of layers, network structures,....).
- ML researchers can play with Commplax to see the domain specfic parts in communication world (e.g. non-stationary random distortions, fiber non-liearties) and include Commplax's DSP operation as one of their toolbox to improve training capability
Quickstart
The best way to get started with Commplax is through Jupyter's notebook demo, here are some examples
- Hello world - demodulate DP-16QAM 815km SSMF signal
- (In progress) First glance of optimzation - optimize Digital Back Propogation (namely DNN-DBP or LDBP) while adapting DSP
- (In progress) work with general DNN - integrate Flax
Installation
PyPI package is not available yet
it is recommended to install in Python virtual enviroment (e.g. conda, pipenv).
Quick install
Note jaxlib has no Windows builds yet, Windows 10+ users can use Commplax via Windows Subsystem for Linux.
see JAX for more installation details.
commplax is tested on Python 3.8, jax-0.2.13, jaxlib-0.1.68
install CPU-only version
pip install --upgrade https://github.com/remifan/commplax/archive/master.zip
install CPU+GPU version
you must install jaxlib that matches your cuda driver version, for example, if your CUDA version is 11.0,
pip install --upgrade jax=0.2.13 jaxlib==0.1.66+cuda110 -f https://storage.googleapis.com/jax-releases/jax_releases.html
after jaxlib+cuda is installed,
pip install --upgrade https://github.com/remifan/commplax/archive/master.zip
install TPU version
Cloud TPU VM jaxlib seems available, it is possible to run commplax in TPU. Will study TPU backend soon.
Development
- follow JAX's guide to install JAX-CPU/GPU
git clone https://github.com/remifan/commplax && cd commplaxpip install -e '.'
Where to get help
Commplax's is now under heavy development, any APIs might be changed constantly. It is encouraged to raise Issue or join the Dicussion panel
Open datasets for benchmarks
Citing Commplax
@software{commplax2021github,
author = {Qirui Fan and Chao Lu and Alan Pak Tao Lau},
title = {{Commplax}: differentiable {DSP} library for optical communication},
url = {https://github.com/remifan/commplax},
version = {0.1.1},
year = {2021},
}
Reference documentation
For details about the Commplax API, see the reference documentation (work in progess)
Acknowledgement
관련 프로젝트 살펴보기
불러오는 중…