Skip to content

Instantly share code, notes, and snippets.

@bayerj
Created June 7, 2011 18:29
Show Gist options
  • Select an option

  • Save bayerj/1012832 to your computer and use it in GitHub Desktop.

Select an option

Save bayerj/1012832 to your computer and use it in GitHub Desktop.
floatX (('float64', 'float32'))
Doc: Default floating-point precision for python casts
Value: float64
device (('cpu', 'gpu', 'gpu0', 'gpu1', 'gpu2', 'gpu3', 'gpu4', 'gpu5', 'gpu6', 'gpu7', 'gpu8', 'gpu9', 'gpu10', 'gpu11', 'gpu12', 'gpu13', 'gpu14', 'gpu15'))
Doc: Default device for computations. If gpu*, change the default to try to move computation to it and to put shared variable of float32 on it.
Value: cpu
init_gpu_device (('', 'gpu', 'gpu0', 'gpu1', 'gpu2', 'gpu3', 'gpu4', 'gpu5', 'gpu6', 'gpu7', 'gpu8', 'gpu9', 'gpu10', 'gpu11', 'gpu12', 'gpu13', 'gpu14', 'gpu15'))
Doc: Initialize the gpu device to use, works only if device=cpu. Unlike 'device', setting this option will NOT move computations, nor shared variables, to the specified GPU. It can be used to run GPU-specific tests on a particular GPU.
Value:
force_device (<function booltype at 0x10055a398>)
Doc: Raise an error if we can't use the specified device
Value: True
mode (('Mode', 'ProfileMode', 'DebugMode', 'FAST_RUN', 'FAST_COMPILE', 'PROFILE_MODE', 'DEBUG_MODE'))
Doc: Default compilation mode
Value: Mode
linker (('c|py', 'py', 'c', 'c|py_nogc', 'c&py'))
Doc: Default linker used if the theano flags mode is Mode or ProfileMode
Value: c|py
optimizer (('fast_run', 'merge', 'fast_compile', 'None'))
Doc: Default optimizer. If not None, will use this linker with the Mode object(not ProfileMode or DebugMode)
Value: fast_run
on_opt_error (('warn', 'raise'))
Doc: What to do when an optimization crashes: warn and skip it, or raise the exception
Value: warn
home (<type 'str'>)
Doc: User home directory
Value: /Users/bayerj
nocleanup (<function booltype at 0x1005566e0>)
Doc: Suppress the deletion of code files that did not compile cleanly
Value: False
tensor.cmp_sloppy (<type 'int'>)
Doc: Relax tensor._allclose (0) not at all, (1) a bit, (2) more
Value: 0
tensor.local_elemwise_fusion (<function booltype at 0x1005569b0>)
Doc: Enable or not in fast_run mode(fast_run optimization) the elemwise fusion optimization
Value: True
gpu.local_elemwise_fusion (<function booltype at 0x10058f1b8>)
Doc: Enable or not in fast_run mode(fast_run optimization) the gpu elemwise fusion optimization
Value: True
lib.amdlibm (<function booltype at 0x10058f320>)
Doc: Use amd's amdlibm numerical library
Value: False
op.set_flops (<function booltype at 0x10058f488>)
Doc: currently used only in ConvOp. The profile mode will print the flops/s for the op.
Value: False
nvcc.fastmath (<function booltype at 0x10058f5f0>)
Doc:
Value: False
gpuelemwise.sync (<function booltype at 0x10058f758>)
Doc: when true, wait that the gpu fct finished and check it error code.
Value: True
traceback.limit (<type 'int'>)
Doc: The number of stack to trace. -1 mean all.
Value: 5
experimental.mrg (<function booltype at 0x10058f938>)
Doc: Another random number generator that work on the gpu
Value: False
numpy.seterr_all (('ignore', 'warn', 'raise', 'call', 'print', 'log', 'None'))
Doc: ("Sets numpy's behaviour for floating-point errors, ", "see numpy.seterr. 'None' means not to change numpy's default, which can be different for different numpy releases. This flag sets the default behaviour for all kinds of floating-point errors, its effect can be overriden for specific errors by the following flags: seterr_divide, seterr_over, seterr_under and seterr_invalid.")
Value: ignore
numpy.seterr_divide (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
Doc: Sets numpy's behavior for division by zero, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
Value: None
numpy.seterr_over (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
Doc: Sets numpy's behavior for floating-point overflow, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
Value: None
numpy.seterr_under (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
Doc: Sets numpy's behavior for floating-point underflow, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
Value: None
numpy.seterr_invalid (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
Doc: Sets numpy's behavior for invalid floating-point operation, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
Value: None
warn.ignore_bug_before (('None', 'all', '0.3'))
Doc: If 'None', we warn about all Theano bugs found by default. If 'all', we don't warn about Theano bugs found by default. If a version, we print only the warnings relative to Theano bugs found after that version. Warning for specific bugs can be configured with specific [warn] flags.
Value: None
warn.argmax_pushdown_bug (<function booltype at 0x10058fd70>)
Doc: Warn if in past version of Theano we generated a bug with the optimisation theano.tensor.nnet.nnet.local_argmax_pushdown optimization. Was fixed 27 may 2010
Value: True
warn.gpusum_01_011_0111_bug (<function booltype at 0x10058fed8>)
Doc: Warn if we are in a case where old version of Theano had a silent bug with GpuSum pattern 01,011 and 0111 when the first dimensions was bigger then 4096. Was fixed 31 may 2010
Value: True
warn.sum_sum_bug (<function booltype at 0x1005910c8>)
Doc: Warn if we are in a case where Theano version between version 9923a40c7b7a and the 2 august 2010(fixed date), generated an error in that case. This happen when their is 2 consecutive sum in the graph, bad code was generated. Was fixed 2 August 2010
Value: True
warn.sum_div_dimshuffle_bug (<function booltype at 0x100591230>)
Doc: Warn if previous versions of Theano (between rev. 3bd9b789f5e8, 2010-06-16, and cfc6322e5ad4, 2010-08-03) would have given incorrect result. This bug was triggered by sum of division of dimshuffled tensors.
Value: True
gcc.cxxflags (<type 'str'>)
Doc: Extra compiler flags for gcc
Value:
base_compiledir (<type 'str'>)
Doc: arch-independent cache directory for compiled modules
Value: /Users/bayerj/.theano
compiledir (<type 'str'>)
Doc: arch-dependent cache directory for compiled modules
Value: /Users/bayerj/.theano/compiledir_Darwin-10.6.0-i386-64bit-i386-2.6.1
cmodule.mac_framework_link (<function booltype at 0x10147eaa0>)
Doc: If set to true, breaks certain mac installations with the infamous Bus Error
Value: False
time_seq_optimizer (<function booltype at 0x10172f320>)
Doc: Should SeqOptimizer print the time taked by each of its optimizer
Value: False
optdb.position_cutoff (<type 'float'>)
Doc: Where to stop eariler during optimization. It represent the position of the optimizer where to stop.
Value: inf
optimizer_excluding (<type 'str'>)
Doc: When using the default mode, we will remove optimizer with that tag. Separate many tags with ':'.
Value: ShapeOpt
optimizer_including (<type 'str'>)
Doc: When using the default mode, we will add optimizer with that tag. Separate many tags with ':'.
Value:
optimizer_requiring (<type 'str'>)
Doc: When using the default mode, we will require optimizer with that tag. Separate many tags with ':'.
Value:
shared.value_borrows (<function booltype at 0x101862488>)
Doc: DEPRECATED. You should not use the 'value' property of shared variables, but use the .get_value() and .set_value() methods. False: shared variables 'value' property is guaranteed to not alias theano-managed memory. True: no guarantee, but faster.
Value: True
DebugMode.patience (<type 'int'>)
Doc: Optimize graph this many times to detect inconsistency
Value: 10
DebugMode.check_c (<function booltype at 0x101898cf8>)
Doc: Run C implementations where possible
Value: True
DebugMode.check_py (<function booltype at 0x101898e60>)
Doc: Run Python implementations where possible
Value: True
DebugMode.check_finite (<function booltype at 0x10189d050>)
Doc: True -> complain about NaN/Inf results
Value: True
DebugMode.check_strides (<type 'int'>)
Doc: Check that Python- and C-produced ndarrays have same strides. On difference: (0) - ignore, (1) warn, or (2) raise error
Value: 1
DebugMode.warn_input_not_reused (<function booltype at 0x10189d2a8>)
Doc: Generate a warning when the destroy_map or view_map tell that an op work inplace, but the op did not reuse the input for its output.
Value: True
ProfileMode.n_apply_to_print (<type 'int'>)
Doc: Number of apply instances to print by default
Value: 15
ProfileMode.n_ops_to_print (<type 'int'>)
Doc: Number of ops to print by default
Value: 20
ProfileMode.min_memory_size (<type 'int'>)
Doc: For the memory profile, do not print apply nodes if the size
of their outputs (in bytes) is lower then this threshold
Value: 1024
ProfileMode.profile_memory (<function booltype at 0x1018a4aa0>)
Doc: Enable profiling of memory used by Theano functions
Value: False
tensor.insert_inplace_optimizer_validate_nb (<type 'int'>)
Doc: -1: auto, if graph have less then 500 nodes 1, else 10
Value: -1
experimental.local_alloc_elemwise (<function booltype at 0x101c9d500>)
Doc: If True enable the experimental optimization local_alloc_elemwise
Value: False
experimental.local_alloc_elemwise_assert (<function booltype at 0x101ca10c8>)
Doc: If False enable the experimental optimization local_alloc_elemwise but WITHOUT assert into the graph!
Value: True
blas.ldflags (<type 'str'>)
Doc: lib[s] to include for [Fortran] level-3 blas implementation
Value: -lblas
nvcc.compiler_bindir (<type 'str'>)
Doc: If defined, nvcc compiler driver will seek g++ and gcc in this directory
Value:
cuda.nvccflags (<type 'str'>)
Doc: Extra compiler flags for nvcc
Value:
cuda.root (<type 'str'>)
Doc: The directory with bin/, lib/, include/ for cuda utilities. Used to put this directory of nvidia lib in the compiled libraire. Usefull when people forget to update there LD_LIBRARY_PATH and LIBRARY_PATH environment variable. If AUTO, if nvcc is in the path, it will use one of this parent directory. Otherwise /usr/local/cuda. If empty, won't appen the directory in the compiled library
Value: /usr/local/cuda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment