Vengineerの戯言

人生は短いけど、長いです。人生を楽しみましょう!

Graphcoreのgithubが更新された

@Vengineerの戯言 : Twitter
SystemVerilogの世界へようこそすべては、SystemC v0.9公開から始まった 

github.com

Various updates (10th Jan)

* Update BERT inference instructions
* Preserve order of operations in graph when folding batch norm ops in CNN inference
* Various README typo and documentation fixes
* Tidy PopART pipelining example
In PopART pipelining code example - replace popart.SessionOptionsCore() with popart.SessionOptions()
* Test fixesClearer accuracy assertion error in public example tests
* Fixes to avoid warnings in kernel benchmarks run harness
* Add a more advanced/complete Poplar example
* Add a simple Tensorflow custom op example.
* BERT Inference bug fixes

 具体的には、

が追加された模様。

 

Advanced Poplar Example では、Poplar APIにて、Graphcore内のTileにマッピングするにはどうしているかも多少分かります。Custom Opを読み込んでいるが、このCuston Opについては、Creating a simple Tensorflow Custom Op にあるね。

 

Popart pipeline の例題には解説が付いていませんが、ソースコード (pipeline.py) を見ると、

# ------------ Model Definition ---------------------------------------
# <------------ ipu0 --------><---------- ipu1 --------------------->
#
# d0 --|-- Gemm --|-- Relu --|-- Gemm--|-- Relu --><--Softmax --> Out
# w0 --| w1 --|
# b0 --| b1 --|

 のような感じで、2つのIPUでのPipelineの実装例のようです。

どうらや、 builder.virtualGraphというもので、IPUへのマッピングを決めているっぽい