Getting started¶
Backends¶
Before installing delira
, you have to choose a suitable backend.
delira
handles backends as optional dependencies and tries to escape all uses of a not-installed backend.
The currently supported backends are:
torch (recommended, since it is the most tested backend): Suffix
torch
Note
delira
supports mixed-precision training via apex, butapex
must be installed separatelytf (very experimental): Suffix
tensorflow
Note
the
tensorflow
backend is still very experimental and may be unstable.None: No Suffix
All (installs all registered backends and their dependencies; not recommended, since this will install many large packages): Suffix
full
Note
Depending on the backend, some functionalities may not be available for you. If you want to ensure, you can use each functionality, please use the full
option, since it installs all backends
Installation¶
Backend |
Bin ary Ins tal lat ion |
Source Installation |
Notes |
---|---|---|---|
None |
``p ip ins tal l d eli ra` ` |
|
Training not possible if backend is not installed separately |
torch _ |
``p ip ins tal l d eli ra[ tor ch] `` |
``git clone https: //github.com/justu sschock/delira.git
ip install .[torch ]`` |
|
``p ip ins tal l d eli ra[ ten sor flo w]` ` |
``git clone https: //github.com/justu sschock/delira.git
ip install .[tenso rflow]`` |
the |
|
Full |
``p ip ins tal l d eli ra[ ful l]` ` |
``git clone https: //github.com/justu sschock/delira.git
ip install .[full] `` |
All backends will be installed. |