BSD Ports

math/py-theano 1.0.5_3 DragonFly

Optimizing compiler for evaluating math expressions on CPUs and GPUs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
math, python
Package size
4172.9 KiB, 32350.9 KiB installed

Description

Theano is a Python library that allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays. It is built on top of NumPy.

In the other systems

SystemPortVersion
DragonFlymath/py-theano1.0.5_3
FreeBSDmath/py-theano1.0.5_5

Install

Binary package:

pkg install py311-theano

From DPorts:

cd /usr/dports/math/py-theano && make install clean

Dependencies

Run dependencies 4
Required by 1

Configuration

No options to configure.

Service scripts
none

Message after installing

To use Theano in multi-threaded mode, install OpenBLAS with option
OPENMP enabled, install py-numpy with OpenBLAS support and use this
minimal ~/.theanorc:

---------------------------
[global]
cxx = c++
openmp = True

[blas]
ldflags = -lopenblasp
---------------------------

You can control the number of threads used with OMP_NUM_THREADS environment
variable.