Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
4d5baddf
提交
4d5baddf
authored
7月 13, 2011
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Merge two duplicate "Note" blocks. Add working links to THEANO_FLAGS.
上级
08d2e36a
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
12 行删除
+12
-12
install.txt
doc/install.txt
+12
-12
没有找到文件。
doc/install.txt
浏览文件 @
4d5baddf
...
@@ -121,11 +121,6 @@ directory; see the `virtualenv documentation`_ for details.
...
@@ -121,11 +121,6 @@ directory; see the `virtualenv documentation`_ for details.
If you do not have ``pip`` installed but do have ``easy_install``, you can
If you do not have ``pip`` installed but do have ``easy_install``, you can
get ``pip`` by simply typing ``easy_install pip``.
get ``pip`` by simply typing ``easy_install pip``.
.. note::
The tests should be run with the ``THEANO_FLAGS``(defined later)
``device=cpu`` (default). Otherwise, it will generate false errors.
.. _distribute: http://packages.python.org/distribute/
.. _distribute: http://packages.python.org/distribute/
.. _setuptools: http://pypi.python.org/pypi/setuptools
.. _setuptools: http://pypi.python.org/pypi/setuptools
.. _easy_install: http://packages.python.org/distribute/easy_install.html
.. _easy_install: http://packages.python.org/distribute/easy_install.html
...
@@ -258,14 +253,18 @@ You can also run them in-place from the Mercurial checkout directory by typing
...
@@ -258,14 +253,18 @@ You can also run them in-place from the Mercurial checkout directory by typing
.. note::
.. note::
The tests should be run with the :attr:`~config.device` option set to
The tests should be run with the configuration option :attr:`~config.device`
``cpu``, e.g. with prefixing the ``nosetests`` command with
set to ``cpu`` (default). If you need to change this value,
``THEANO_FLAGS=device=cpu``. If you have a GPU, it will automatically
you can do that by setting the :envvar:`THEANO_FLAGS` environment variable,
be used to run GPU-related tests.
by prefixing the ``nosetests`` command with ``THEANO_FLAGS=device=cpu``.
If you have a GPU, it will automatically be used to run GPU-related tests.
If you want GPU-related tests to run on a specific GPU device, and not
If you want GPU-related tests to run on a specific GPU device, and not
the default one, you should use :attr:`~config.init_gpu_device`, for
the default one, you should use :attr:`~config.init_gpu_device`.
instance ``THEANO_FLAGS=device=cpu,init_gpu_device=gpu1``.
For instance: ``THEANO_FLAGS=device=cpu,init_gpu_device=gpu1``.
See :ref:`libdoc_config` for more information on how to change these
configuration options.
All tests should pass except those marked as ``KnownFailureTest``. If some
All tests should pass except those marked as ``KnownFailureTest``. If some
test fails on your machine, you are encouraged to tell us what went wrong on
test fails on your machine, you are encouraged to tell us what went wrong on
...
@@ -284,7 +283,7 @@ was compiled with a static library of BLAS (the latter is not supported in
...
@@ -284,7 +283,7 @@ was compiled with a static library of BLAS (the latter is not supported in
Theano).
Theano).
The short way to configure the Theano flags ``blas.ldflags`` is by setting the
The short way to configure the Theano flags ``blas.ldflags`` is by setting the
environment
al variable ``THEANO_FLAGS`
` to ``blas.ldflags=XXX`` (in bash
environment
variable :envvar:`THEANO_FLAGS
` to ``blas.ldflags=XXX`` (in bash
``export THEANO_FLAGS=blas.ldflags=XXX``)
``export THEANO_FLAGS=blas.ldflags=XXX``)
The ``${HOME}/.theanorc`` file is the simplest way to set a relatively
The ``${HOME}/.theanorc`` file is the simplest way to set a relatively
...
@@ -436,6 +435,7 @@ Mac
...
@@ -436,6 +435,7 @@ Mac
most configurations this solves the ``Bus error`` problem. If this default
most configurations this solves the ``Bus error`` problem. If this default
configuration causes problems with your Python/Theano installation and you think
configuration causes problems with your Python/Theano installation and you think
that linking with ``-framework Python`` might help, then either set
that linking with ``-framework Python`` might help, then either set
the :envvar:`THEANO_FLAGS` environment variable with
``THEANO_FLAGS=cmodule.mac_framework_link`` or edit your ``~/.theanorc`` to
``THEANO_FLAGS=cmodule.mac_framework_link`` or edit your ``~/.theanorc`` to
contain
contain
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论