Env Vars

General Env Vars

EnvVar Default Description
SOL_CWD “.” Overrides the folder used to store the .sol folder. Default is the current directory.
SOL_LOG “INFO” Defines SOL log level. Available values: [‘TRACE’, ‘DEBUG’, ‘INFO’, ‘WARN’, ‘ERROR’]
SOL_PROFILE “FALSE:ALL:” Enables SOL profiler. Accepted format is MODE:DATA:FILENAME with MODE: [‘FALSE’, ‘TRUE’, ‘TSV’, ‘CSV’, ‘TENSORBOARD’], DATA: [‘ALL’, ‘PERFORMANCE’, ‘MEMORY’] and FILENAME as valid filename to write the performance data to. DATA and FILENAME are optional.
SOL_DEBUG Comma separated list of debug flags. Available values [‘ALL’, ‘COMPILER’, ‘JIT’, ‘GRAPH’, ‘TEXT’, ‘MEMORY’, ‘PARSER’]
SOL_CLEAR_CACHE Similar to sol.cache.clear(). Available values: [‘TRUE’]
SOL_JIT_THREADS Sets the max number of parallel JIT compilation processes. Default: (number of physical cores - 1)
DOT “dot” Path to GraphViz dot

SOL_DEBUG Options

Option Effect
COMPILER Adds additional checks and device synchronization instructions.
GRAPH Generates the computation graphs and stores them in {SOL_CWD}/debug.
JIT Compiles the code with debug flags.
MEMORY Generates a memory consumption estimation and stores it in {SOL_CWD}/debug.
PARSER Prints additional debug information while parsing.
TEXT Generates a textual representation of the computation graphs and stores them in {SOL_CWD}/debug.

Device specific env vars are listed in the respective section ( X86, NVIDIA, NEC SX-Aurora )