Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
b128c979
提交
b128c979
authored
8月 29, 2011
作者:
Olivier Delalleau
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Converted more Mercurial instructions to Git.
上级
43f6562f
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
57 行增加
和
29 行删除
+57
-29
install.txt
doc/install.txt
+19
-21
dev_start_guide.txt
doc/internal/dev_start_guide.txt
+38
-8
没有找到文件。
doc/install.txt
浏览文件 @
b128c979
...
@@ -60,7 +60,7 @@ The following libraries and software are optional:
...
@@ -60,7 +60,7 @@ The following libraries and software are optional:
For building the documentation. LaTeX_ and dvipng_ are also necessary
For building the documentation. LaTeX_ and dvipng_ are also necessary
for math to show up as images.
for math to show up as images.
`
Mercurial <http://mercurial.selenic.com/
>`_
`
Git <http://git-scm.com
>`_
To download bleeding-edge versions of Theano.
To download bleeding-edge versions of Theano.
`pydot <https://code.google.com/p/pydot/>`_
`pydot <https://code.google.com/p/pydot/>`_
...
@@ -142,29 +142,29 @@ A contributor made rpm package for Mandriva_ 2010.2 of Theano 0.3.1.
...
@@ -142,29 +142,29 @@ A contributor made rpm package for Mandriva_ 2010.2 of Theano 0.3.1.
.. _Mandriva: http://mib.pianetalinux.org/mib/quick/basic-rpms/mib-rpms/975-theano-031
.. _Mandriva: http://mib.pianetalinux.org/mib/quick/basic-rpms/mib-rpms/975-theano-031
Bleeding-edge
(developer)
install instructions
Bleeding-edge install instructions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you are a developer of Theano, then check out the :ref:`dev_start_guide`.
If you are a developer of Theano, then check out the :ref:`dev_start_guide`.
If you want the bleeding-edge without developing the code you can use
If you want the bleeding-edge without developing the code you can use
pip for
pip for this
this with the command line below. Note that it will also try to download and
upgrade Theano's dependencies (like numpy and scipy). If you do not wish to do
GIT_TODO: update these pip install instructions to use github
.
so, add the ``--no-deps`` switch to it
.
.. code-block:: bash
.. code-block:: bash
pip install --upgrade
hg+http://hg.assembla.com/theano
pip install --upgrade
git+git://github.com/Theano/Theano.git
or
or
(if you want to install to a custom directory):
.. code-block:: bash
.. code-block:: bash
pip install --upgrade
hg+http://hg.assembla.com/theano
--install-option='--prefix=YOURPREFIX'
pip install --upgrade
git+git://github.com/Theano/Theano.git
--install-option='--prefix=YOURPREFIX'
The following are general instructions that will set you up with the
The following are general instructions that will set you up with the
bleeding-edge version of Theano and allow you to hack it. First,
bleeding-edge version of Theano and allow you to hack it. First,
get the code using `
Mercurial <http://mercurial.selenic.com/
>`__:
get the code using `
Git <http://git-scm.com
>`__:
.. code-block:: bash
.. code-block:: bash
...
@@ -179,9 +179,9 @@ From here, the easiest way to get started is
...
@@ -179,9 +179,9 @@ From here, the easiest way to get started is
This will install a ``.pth`` file in your ``site-packages`` directory that
This will install a ``.pth`` file in your ``site-packages`` directory that
tells Python where to look for your Theano installation (i.e. in the
tells Python where to look for your Theano installation (i.e. in the
directory your just checked out of
Mercurial
). Using ``develop`` mode is
directory your just checked out of
Github
). Using ``develop`` mode is
preferable to ``install`` as any modifications you make in the checkout
preferable to ``install`` as any modifications you make in the checkout
directory (or changes you pull with
Mercurial
) will be automatically reflected
directory (or changes you pull with
Git
) will be automatically reflected
in the "installed" version without re-running ``python setup.py install``.
in the "installed" version without re-running ``python setup.py install``.
If you do not have permission to modify your ``site-packages`` directory you
If you do not have permission to modify your ``site-packages`` directory you
...
@@ -236,7 +236,7 @@ to your ``Theano`` folder and execute the following command:
...
@@ -236,7 +236,7 @@ to your ``Theano`` folder and execute the following command:
.. code-block:: bash
.. code-block:: bash
hg pull -u
git pull
You should update frequently, bugs are fixed on a very regular basis.
You should update frequently, bugs are fixed on a very regular basis.
...
@@ -252,7 +252,7 @@ a Python (or IPython) interpreter,
...
@@ -252,7 +252,7 @@ a Python (or IPython) interpreter,
>>> import theano
>>> import theano
>>> theano.test()
>>> theano.test()
You can also run them in-place from the
Mercurial
checkout directory by typing
You can also run them in-place from the
Git
checkout directory by typing
.. code-block:: bash
.. code-block:: bash
...
@@ -370,7 +370,7 @@ Mac
...
@@ -370,7 +370,7 @@ Mac
.. code-block:: bash
.. code-block:: bash
$ sudo port install gcc44 py26-scipy
mercurial
$ sudo port install gcc44 py26-scipy
git
This will install all the required Theano dependencies. Note that
This will install all the required Theano dependencies. Note that
compiling gcc takes significant time (hours)! SciPy depends on ATLAS (a
compiling gcc takes significant time (hours)! SciPy depends on ATLAS (a
...
@@ -528,11 +528,9 @@ components as in Python(x,y) that are required by Theano, follow these steps:
...
@@ -528,11 +528,9 @@ components as in Python(x,y) that are required by Theano, follow these steps:
At this point, whether you installed Python(x,y) or individual components, you
At this point, whether you installed Python(x,y) or individual components, you
should have MinGW, Python, Numpy, Scipy and Nose installed.
should have MinGW, Python, Numpy, Scipy and Nose installed.
In order to download Theano you will also need Mercurial, which you can get
In order to download Theano you will also need Git, which you can get
`here <http://mercurial.selenic.com/downloads>`__.
`here <http://git-scm.com/download>`__ (download the latest version of the
You may install either the command
"Full installer for official Git" from the ``msysgit`` download page).
line Windows version or the TortoiseHG GUI version: it does not matter as
far as installing Theano is concerned.
Installing Theano
Installing Theano
~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
...
...
doc/internal/dev_start_guide.txt
浏览文件 @
b128c979
...
@@ -24,12 +24,33 @@ Accounts
...
@@ -24,12 +24,33 @@ Accounts
To obtain developer access: register with `GitHub
To obtain developer access: register with `GitHub
<http://www.github.com/>`_ and create a fork of `Theano
<http://www.github.com/>`_ and create a fork of `Theano
<http://www.github.com/Theano/Theano>`_. Hack in your patches / features to your own fork,
<http://www.github.com/Theano/Theano>`_.
and send a pull request.
(Just the standard github workflow.)
Clone your fork locally with
If you don't get any feedback, bug us on the theano-dev mailing list.
.. code-block:: bash
git clone git@github.com:your_github_login/Theano.git
and add a reference to the 'central' Theano repository with
For info on how to run your personal fork of Theano, see :ref:`install_bleeding_edge`.
.. code-block:: bash
git remote add central git://github.com/Theano/Theano.git
When working on a new feature in your own fork, start from an up-to-date copy
of the trunk:
.. code-block:: bash
git fetch central
git checkout -b my_shiny_feature central/master
Once your code is ready for others to review, push your branch to your github fork:
.. code-block:: bash
git push -u origin my_shiny_feature
then go to your fork's github page on the github website, select your feature
branch and hit the "Pull Request" button in the top right corner.
If you don't get any feedback, bug us on the theano-dev mailing list.
Details about ``PYTHONPATH``
Details about ``PYTHONPATH``
----------------------------
----------------------------
...
@@ -70,12 +91,21 @@ mailing list.
...
@@ -70,12 +91,21 @@ mailing list.
.. _theano-users: https://groups.google.com/group/theano-users
.. _theano-users: https://groups.google.com/group/theano-users
To update your library to the latest revision, change directory (``cd``)
To update your library to the latest revision, you should have a branch
to your ``Theano`` folder and execute the following command:
that tracks the main trunk. You can add one with:
.. code-block:: bash
git fetch central
git branch trunk central/master
Once you have such a branch, in order to update it, do:
.. code-block:: bash
.. code-block:: bash
git checkout trunk
git pull
hg pull -u
Keep in mind that this branch should be "read-only": if you want to patch
Theano, do it in another branch like described above.
Nightly test
Nightly test
============
============
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论