Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
c90d3b21
提交
c90d3b21
authored
2月 02, 2017
作者:
notoraptor
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unnecessary blocks: `Microsoft Visual C++ Compiler for Python 2.7` and…
Remove unnecessary blocks: `Microsoft Visual C++ Compiler for Python 2.7` and `Configure CUDA and libgpuarray after installation`.
上级
08a59233
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
1 行增加
和
52 行删除
+1
-52
install_windows.txt
doc/install_windows.txt
+0
-51
requirements.inc
doc/requirements.inc
+1
-1
没有找到文件。
doc/install_windows.txt
浏览文件 @
c90d3b21
...
@@ -63,39 +63,6 @@ to install the CUDA driver and the CUDA Toolkit.
...
@@ -63,39 +63,6 @@ to install the CUDA driver and the CUDA Toolkit.
You must reboot the computer after the driver installation.
You must reboot the computer after the driver installation.
Microsoft Visual C++ Compiler for Python 2.7 (optional)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you plan to compile libgpuarray and pygpu yourself, you will
need to install ``Microsoft Visual C++ Compiler for Python 2.7``. It
provides the now-obsolete compilers form Visual Studio 2008 that are
required for compatibility with Python 2.7. To install the package for
all users please:
1. Download the installer for `Microsoft Visual C++ Compiler for Python 2.7
<http://www.microsoft.com/en-us/download/details.aspx?id=44266>`_.
2. open an administrator's console (got to ``start``, then type ``cmd``,
right-click on the command prompt icon and select ``run as administrator``)
3. ``cd`` to the directory when you downloaded the installer and execute ``msiexec /i
VCForPython27.msi ALLUSERS=1`` . The package will be installed to ``C:\Program Files
(x86)\Common Files\Microsoft\Visual C++ for Python\9.0``.
4. Download the ``stdint.h`` header from
`here <https://sourceforge.net/p/mspgcc/msp430-libc/ci/master/tree/include/stdint.h>`_
and save it as ``C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for
Python\9.0\VC\include\stdint.h``.
When you are ready to compile libgpuarray, open a console (got to ``start``, type ``cmd`` and click
to the command prompt) and enter the following commands:
.. code-block:: none
set VSFORPYTHON="C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0"
REM for a 32 bit installation change this line to
REM CALL %VSFORPYTHON%\vcvarsall.bat
CALL %VSFORPYTHON%\vcvarsall.bat amd64
Installation of Theano and libgpuarray
Installation of Theano and libgpuarray
======================================
======================================
...
@@ -132,24 +99,6 @@ libgpuarray
...
@@ -132,24 +99,6 @@ libgpuarray
.. include:: install_generic.inc
.. include:: install_generic.inc
:start-line: 32
:start-line: 32
Configure CUDA and libgpuarray after installation
=================================================
Cuda
----
To ensure Theano cand find CUDA headers and libraries, create an environment variable named ``CUDA_ROOT``
and set it to the CUDA directory. In a 64-bits computer, the CUDA directory should be something like
``C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0``.
To create permanently an environment variable, look for ``system environment variables``
in the Start search bar and then choose ``Set System Environment Variables`` (this works on Windows 8.1).
libgpuarray
-----------
[TODO]
Instructions for other Python distributions (not recommended)
Instructions for other Python distributions (not recommended)
=============================================================
=============================================================
...
...
doc/requirements.inc
浏览文件 @
c90d3b21
...
@@ -12,7 +12,7 @@ Requirements
...
@@ -12,7 +12,7 @@ Requirements
..
_NVIDIA
CUDA
drivers
and
SDK
:
http
://
developer
.
nvidia
.
com
/
object
/
gpucomputing
.
html
..
_NVIDIA
CUDA
drivers
and
SDK
:
http
://
developer
.
nvidia
.
com
/
object
/
gpucomputing
.
html
..
_libgpuarray
:
http
://
deeplearning
.
net
/
software
/
libgpuarray
/
installation
.
html
..
_libgpuarray
:
http
://
deeplearning
.
net
/
software
/
libgpuarray
/
installation
.
html
Python_
>
=
2.7
or
>=
3.3
Python_
=
=
2.7
or
>=
3.3
The
development
package
(
python
-
dev
or
The
development
package
(
python
-
dev
or
python
-
devel
on
most
Linux
distributions
)
is
recommended
(
see
python
-
devel
on
most
Linux
distributions
)
is
recommended
(
see
just
below
)
.
Python
2.4
was
supported
up
to
and
including
the
just
below
)
.
Python
2.4
was
supported
up
to
and
including
the
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论