Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
e5a36b1f
提交
e5a36b1f
authored
8月 20, 2014
作者:
Frederic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update slides presentation.
上级
d3258f1c
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
80 行增加
和
2 行删除
+80
-2
presentation.tex
doc/omlw2014/presentation.tex
+76
-2
sharing.txt
doc/omlw2014/sharing.txt
+4
-0
没有找到文件。
doc/omlw2014/presentation.tex
浏览文件 @
e5a36b1f
...
@@ -38,14 +38,88 @@ Montréal, Canada \newline
...
@@ -38,14 +38,88 @@ Montréal, Canada \newline
\section
{
Introduction
}
\section
{
Introduction
}
\begin{frame}
{
High level
}
\setcounter
{
page
}{
1
}
\begin{frame}
{
High level
}
\setcounter
{
page
}{
1
}
Python <-
\{
NumPy/SciPy/libgpuarray
\}
<- Theano <- Pylearn2
\begin{itemize}
\item
Python: OO coding language
\item
Numpy: n-dimension array object and scientific computing toolbox
\item
SciPy: sparse matrix object and more scientfic computing functionality
\item
libgpuarray: gpu n-dimentional array object in C for CUDA and OpenCL
\item
Theano: compiler/symbolic graph manipulation
\item
Pylearn2: machine learning framework
\end{itemize}
\end{frame}
\end{frame}
\begin{frame}
{
Python
}
\begin{frame}
{
Python
}
\begin{itemize}
\item
General-purpose high-level OO interpreted language
\item
Emphasizes code readability
\item
Comprehensive standard library
\item
Dynamic type and memory management
\item
Slow execution
\item
Easily extensible from C
\item
Popular in *web-dev* and *scientific communities*
\end{itemize}
\end{frame}
\begin{frame}
{
NumPy/SciPy
}
\begin{itemize}
\item
Python floats are full-fledged objects on the heap
\begin{itemize}
\item
Not suitable for high-performance computing!
\end{itemize}
\item
NumPy provides a N-dimensional numeric array in Python
\begin{itemize}
\item
Perfect for high-performance computing.
\item
Slice are return view (no copy)
\end{itemize}
\item
NumPy provides
\begin{itemize}
\item
elementwise computations
\item
linear algebra, Fourier transforms
\item
pseudorandom numbers from many distributions
\end{itemize}
\item
SciPy provides lots more, including
\begin{itemize}
\item
sparse matrix
\item
more linear algebra
\item
solvers and optimization algorithms
\item
matlab-compatible I/O
\item
I/O and signal processing for images and audio
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
\begin{frame}
{
NumPy
}
\end{frame}
\begin{frame}
{
What's missing?
}
\begin{frame}
{
What's missing?
}
\begin{itemize}
\item
Non-lazy evaluation (required by Python) hurts performance
\item
Bound to the CPU
\item
Lacks symbolic or automatic differentiation
\item
No automatic speed and stability optimization
\end{itemize}
\end{frame}
\end{frame}
\begin{frame}
{
Why scripting for GPUs?
}
\begin{frame}
{
Why scripting for GPUs?
}
\begin{bf}
They Complement each other
\end{bf}
\begin{itemize}
\item
GPUs are everything that scripting/high level languages are not
\begin{itemize}
\item
Highly parallel
\item
Very architecture-sensitive
\item
Built for maximum FP/memory throughput
\item
So hard to program that meta-programming is easier.
\end{itemize}
\end{itemize}
\begin{bf}
Best of both:
\end{bf}
easy scripted development invokes GPU kernel.
Combined with Theano c code generation...
\begin{bf}
Theano c code generation remove overhead
\end{bf}
from function call between Python and C.
\end{frame}
\end{frame}
\begin{frame}
{
Theano
}
\begin{frame}
{
Theano
}
...
...
doc/omlw2014/sharing.txt
浏览文件 @
e5a36b1f
...
@@ -8,3 +8,7 @@ Sharing code
...
@@ -8,3 +8,7 @@ Sharing code
* Common base object? libgpuarray.
* Common base object? libgpuarray.
* If not, important implementation that use raw ptr/shape? Doc that interface.
* If not, important implementation that use raw ptr/shape? Doc that interface.
* Important, *acknowledgement section on web site*(citation like) AND *in paper* about the software we reuse! (and use too)
* Important, *acknowledgement section on web site*(citation like) AND *in paper* about the software we reuse! (and use too)
*************
Theano future
*************
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论