Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
e493f9cd
提交
e493f9cd
authored
2月 01, 2016
作者:
Mehdi Mirza
提交者:
memimo
2月 08, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cleup profileMode deprecation in docs
上级
5a0d273c
全部展开
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
16 行增加
和
8 行删除
+16
-8
advanced_theano.txt
doc/cifarSC2011/advanced_theano.txt
+0
-0
theano.txt
doc/cifarSC2011/theano.txt
+1
-1
advanced_theano.txt
doc/crei2013/advanced_theano.txt
+1
-1
theano.txt
doc/crei2013/theano.txt
+1
-1
mode.txt
doc/library/compile/mode.txt
+1
-2
profiling.txt
doc/tutorial/profiling.txt
+9
-0
using_gpu.txt
doc/tutorial/using_gpu.txt
+3
-3
没有找到文件。
doc/cifarSC2011/advanced_theano.txt
浏览文件 @
e493f9cd
差异被折叠。
点击展开。
doc/cifarSC2011/theano.txt
浏览文件 @
e493f9cd
...
@@ -176,7 +176,7 @@ Theano flags
...
@@ -176,7 +176,7 @@ Theano flags
Theano can be configured with flags. They can be defined in two ways
Theano can be configured with flags. They can be defined in two ways
* With an environment variable: ``THEANO_FLAGS="
mode=ProfileMode,ProfileMode.
profile_memory=True"``
* With an environment variable: ``THEANO_FLAGS="
profile=True,
profile_memory=True"``
* With a configuration file that defaults to ``~/.theanorc``
* With a configuration file that defaults to ``~/.theanorc``
...
...
doc/crei2013/advanced_theano.txt
浏览文件 @
e493f9cd
...
@@ -104,7 +104,7 @@ Exercise 5
...
@@ -104,7 +104,7 @@ Exercise 5
-----------
-----------
- In the last exercises, do you see a speed up with the GPU?
- In the last exercises, do you see a speed up with the GPU?
- Where does it come from? (Use
ProfileMod
e)
- Where does it come from? (Use
profile=Tru
e)
- Is there something we can do to speed up the GPU version?
- Is there something we can do to speed up the GPU version?
...
...
doc/crei2013/theano.txt
浏览文件 @
e493f9cd
...
@@ -133,7 +133,7 @@ Theano flags
...
@@ -133,7 +133,7 @@ Theano flags
Theano can be configured with flags. They can be defined in two ways
Theano can be configured with flags. They can be defined in two ways
* With an environment variable: ``THEANO_FLAGS="
mode=ProfileMode,ProfileMode.
profile_memory=True"``
* With an environment variable: ``THEANO_FLAGS="
profile=True,
profile_memory=True"``
* With a configuration file that defaults to ``~/.theanorc``
* With a configuration file that defaults to ``~/.theanorc``
...
...
doc/library/compile/mode.txt
浏览文件 @
e493f9cd
...
@@ -23,7 +23,7 @@ Theano defines the following modes by name:
...
@@ -23,7 +23,7 @@ Theano defines the following modes by name:
- ``'DebugMode'``: A mode for debugging. See :ref:`DebugMode <debugmode>` for details.
- ``'DebugMode'``: A mode for debugging. See :ref:`DebugMode <debugmode>` for details.
- ``'ProfileMode'``: Deprecated, use the Theano flag :attr:`config.profile`.
- ``'ProfileMode'``: Deprecated, use the Theano flag :attr:`config.profile`.
- ``'DEBUG_MODE'``: Deprecated. Use the string DebugMode.
- ``'DEBUG_MODE'``: Deprecated. Use the string DebugMode.
- ``'PROFILE_MODE'``: Deprecated
. Use the string ProfileMode
.
- ``'PROFILE_MODE'``: Deprecated
, use the Theano flag :attr:`config.profile`
.
The default mode is typically ``FAST_RUN``, but it can be controlled via the
The default mode is typically ``FAST_RUN``, but it can be controlled via the
configuration variable :attr:`config.mode`, which can be
configuration variable :attr:`config.mode`, which can be
...
@@ -70,4 +70,3 @@ Reference
...
@@ -70,4 +70,3 @@ Reference
Return a new Mode instance like this one, but with an
Return a new Mode instance like this one, but with an
optimizer modified by requiring the given tags.
optimizer modified by requiring the given tags.
doc/tutorial/profiling.txt
浏览文件 @
e493f9cd
...
@@ -68,6 +68,15 @@ compare equal, if their parameters differ (the scalar being
...
@@ -68,6 +68,15 @@ compare equal, if their parameters differ (the scalar being
executed). So the class section will merge more Apply nodes then the
executed). So the class section will merge more Apply nodes then the
Ops section.
Ops section.
Note that the profile also shows which Ops were running a c implementation.
Developers wishing to optimize the performance of their graph should
focus on the worst offending Ops and Apply nodes – either by optimizing
an implementation, providing a missing C implementation, or by writing
a graph optimization that eliminates the offending Op altogether.
You should strongly consider emailing one of our lists about your
issue before spending too much time on this.
Here is an example output when we disable some Theano optimizations to
Here is an example output when we disable some Theano optimizations to
give you a better idea of the difference between sections. With all
give you a better idea of the difference between sections. With all
optimizations enabled, there would be only one op left in the graph.
optimizations enabled, there would be only one op left in the graph.
...
...
doc/tutorial/using_gpu.txt
浏览文件 @
e493f9cd
...
@@ -213,8 +213,8 @@ Tips for Improving Performance on GPU
...
@@ -213,8 +213,8 @@ Tips for Improving Performance on GPU
frequently-accessed data (see :func:`shared()<shared.shared>`). When using
frequently-accessed data (see :func:`shared()<shared.shared>`). When using
the GPU, *float32* tensor ``shared`` variables are stored on the GPU by default to
the GPU, *float32* tensor ``shared`` variables are stored on the GPU by default to
eliminate transfer time for GPU ops using those variables.
eliminate transfer time for GPU ops using those variables.
* If you aren't happy with the performance you see, try
building your functions
with
* If you aren't happy with the performance you see, try
running your script
with
``
mode='ProfileMode'``
. This should print some timing information at program
``
profil=True`` flag
. This should print some timing information at program
termination. Is time being used sensibly? If an op or Apply is
termination. Is time being used sensibly? If an op or Apply is
taking more time than its share, then if you know something about GPU
taking more time than its share, then if you know something about GPU
programming, have a look at how it's implemented in theano.sandbox.cuda.
programming, have a look at how it's implemented in theano.sandbox.cuda.
...
@@ -339,7 +339,7 @@ to the exercise in section :ref:`Configuration Settings and Compiling Mode<using
...
@@ -339,7 +339,7 @@ to the exercise in section :ref:`Configuration Settings and Compiling Mode<using
Is there an increase in speed from CPU to GPU?
Is there an increase in speed from CPU to GPU?
Where does it come from? (Use ``
ProfileMode``
)
Where does it come from? (Use ``
profile=True`` flag.
)
What can be done to further increase the speed of the GPU version? Put your ideas to test.
What can be done to further increase the speed of the GPU version? Put your ideas to test.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论