Environment variables¶
Here are the environment variables that zea uses at runtime. Arguably the most important environment variable is the Keras backend selection via KERAS_BACKEND. See the Backend section for details on configuring the backend.
Variable |
Description |
Default |
Options |
|---|---|---|---|
|
Select the Keras backend to use. This defines the ML framework that will be used for all tensor operations. |
|
|
|
Directory to use for caching downloaded files, e.g. model weights or datasets from Hugging Face Hub. |
|
|
|
Logging level for |
|
|
|
If set to |
|
|
|
Timeout in seconds for calling |
|
Any positive integer, or |
|
Timeout in seconds for downloading files, e.g. during dataset conversion. |
|
Any positive integer, or |
|
If set to |
|
|
|
Can be used to only run the tests with a particular device. |
|
Any valid device name as accepted by |
|
Cache chunks fetched while streaming ( |
|
|
|
Byte budget for that cache; least-recently-used chunks are evicted once it is exceeded. |
|
Any positive integer (bytes). |
|
Threads Blosc uses within a single HDF5 chunk, which is most of the write throughput
(~4x). Turn it down when writes are already parallel (several dataloader workers each
saving a file will multiply with it); turning it far up backfires, as the blocks go
memory-bound. Only affects writes: the read path ( |
|
Any positive integer. |