SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
© DeNA Co., Ltd.
Chaienr
Channel	Pruning
December 15, 2018
Tomohiro Kato
AI System Dept.
DeNA Co., Ltd.
© DeNA Co., Ltd.
2
© DeNA Co., Ltd.
3
© DeNA Co., Ltd.
n u o PV
n ) d d
n rRpR h D C )
n ( A 18 8 l cg a st
n ) 2 8 e nyiMLNm T I
n (728 D 1 01 D 8
n )8 8 7e A 8 I
n ) 2 8 e nyi ( /
n A 01
4
© DeNA Co., Ltd.
n CV
5
https://www.slideshare.net/ShotaSuzuki2/mlops-shibuyasynapse-4-125602323
https://dena.ai/work6/
© DeNA Co., Ltd.
n Deep Learning …
HW
n Channel Pruning
ChainerMeetup →
6
© DeNA Co., Ltd.
Channel Pruning
n Channel Pruning
Deep Learning
Weight CPU/GPU /
n Optuna Pruning ChainerPruningExtension
7
© DeNA Co., Ltd.
n ChainerCV ResNet50 channel pruning
8
MacBook Pro CPU, Chainer v5.1.0
© DeNA Co., Ltd.
demo
9
© DeNA Co., Ltd.
ChainerPruner
n https://github.com/DeNA/ChainerPruner
n Channel Pruning
n Channel Pruning
n Under development
10
© DeNA Co., Ltd.
ChainerPruner
n Pruning
Channel Pruning
n Pruning
Channel Pruning
11
© DeNA Co., Ltd.
Dynamic	Pruning
n Pruning
Weight
n Pruning
Weight shape
1/0 0
Iteration
n Pruning load
:benri:
12
© DeNA Co., Ltd.
Mask	and	Rebuild
n Weight -step
Mask: Weight
Rebuild: Weight
n Mask
L2 N-%
chainerpruner.Mask
13
© DeNA Co., Ltd.
Rebuild mechanism
n Channel Pruning
n Conv – BN – FC Conv Pruning Bn FC
Bn, FC input channel Conv output channel update
n
n Conv - BN - Pool - ConvDW – FC Link Function
ChainerPruner
n
14
© DeNA Co., Ltd.
Rebuild mechanism
n
15
© DeNA Co., Ltd.
Serializers
n Pruning Weight
n Link Pruning Weight
16
© DeNA Co., Ltd.
Utility
n
https://github.com/belltailjp/chainer_computational_cost
wrapper
n pruning
n / /
17
© DeNA Co., Ltd.
n ChainerPruner
https://github.com/DeNA/ChainerPruner
Channel Pruning
n Future work
ChainerX support
Pruning
Reporter tensorboardX
Chainer
18
© DeNA Co., Ltd.
19
EOF

Más contenido relacionado

Similar a Chainer向けChannel Pruningフレームワークの設計と実装

Similar a Chainer向けChannel Pruningフレームワークの設計と実装 (20)

Effectively Migrating to Cassandra from a Relational Database
Effectively Migrating to Cassandra from a Relational DatabaseEffectively Migrating to Cassandra from a Relational Database
Effectively Migrating to Cassandra from a Relational Database
 
A Fast Intro to Fast Query with ClickHouse, by Robert Hodges
A Fast Intro to Fast Query with ClickHouse, by Robert HodgesA Fast Intro to Fast Query with ClickHouse, by Robert Hodges
A Fast Intro to Fast Query with ClickHouse, by Robert Hodges
 
Run Simulations and Then Become An Inventor (Best Paper Award in CDNLive Taiw...
Run Simulations and Then Become An Inventor (Best Paper Award in CDNLive Taiw...Run Simulations and Then Become An Inventor (Best Paper Award in CDNLive Taiw...
Run Simulations and Then Become An Inventor (Best Paper Award in CDNLive Taiw...
 
Improving Python and Spark Performance and Interoperability with Apache Arrow
Improving Python and Spark Performance and Interoperability with Apache ArrowImproving Python and Spark Performance and Interoperability with Apache Arrow
Improving Python and Spark Performance and Interoperability with Apache Arrow
 
Case Study: Large Scale Deployment for Machine Learning with Highspeed Storage
Case Study: Large Scale Deployment for Machine Learning with Highspeed StorageCase Study: Large Scale Deployment for Machine Learning with Highspeed Storage
Case Study: Large Scale Deployment for Machine Learning with Highspeed Storage
 
Improving Python and Spark Performance and Interoperability with Apache Arrow...
Improving Python and Spark Performance and Interoperability with Apache Arrow...Improving Python and Spark Performance and Interoperability with Apache Arrow...
Improving Python and Spark Performance and Interoperability with Apache Arrow...
 
Amora: A mobile remote assistant
Amora: A mobile remote assistantAmora: A mobile remote assistant
Amora: A mobile remote assistant
 
SpringOne Platform 2017報告会 メインプロジェクトのアップデート
SpringOne Platform 2017報告会 メインプロジェクトのアップデートSpringOne Platform 2017報告会 メインプロジェクトのアップデート
SpringOne Platform 2017報告会 メインプロジェクトのアップデート
 
Eastman Chemical Company introduces SEIGA
Eastman Chemical Company introduces SEIGA Eastman Chemical Company introduces SEIGA
Eastman Chemical Company introduces SEIGA
 
Aveva_E3D.pptx
Aveva_E3D.pptxAveva_E3D.pptx
Aveva_E3D.pptx
 
One bridge to connect them all. Oracle GoldenGate for Big Data.UKOUG Tech 2018
One bridge to connect them all. Oracle GoldenGate for Big Data.UKOUG Tech 2018One bridge to connect them all. Oracle GoldenGate for Big Data.UKOUG Tech 2018
One bridge to connect them all. Oracle GoldenGate for Big Data.UKOUG Tech 2018
 
ETA Padtron Sdn.Bhd. - Enterprise Programming - Tools
ETA Padtron Sdn.Bhd. - Enterprise Programming - ToolsETA Padtron Sdn.Bhd. - Enterprise Programming - Tools
ETA Padtron Sdn.Bhd. - Enterprise Programming - Tools
 
Continuous Delivery and Automated Operations on k8s with keptn
Continuous Delivery and Automated Operations on k8s with keptnContinuous Delivery and Automated Operations on k8s with keptn
Continuous Delivery and Automated Operations on k8s with keptn
 
Nano Dimension Presentation
Nano Dimension PresentationNano Dimension Presentation
Nano Dimension Presentation
 
TechWiseTV Workshop: Extending Intent-Based Networking to IoT
TechWiseTV Workshop: Extending Intent-Based Networking to IoTTechWiseTV Workshop: Extending Intent-Based Networking to IoT
TechWiseTV Workshop: Extending Intent-Based Networking to IoT
 
Speed up your Machine Learning workflows with built-in algorithms - Tel Aviv ...
Speed up your Machine Learning workflows with built-in algorithms - Tel Aviv ...Speed up your Machine Learning workflows with built-in algorithms - Tel Aviv ...
Speed up your Machine Learning workflows with built-in algorithms - Tel Aviv ...
 
Speed up your Machine Learning workflows with build-in algorithms
Speed up your Machine Learning workflows with build-in algorithmsSpeed up your Machine Learning workflows with build-in algorithms
Speed up your Machine Learning workflows with build-in algorithms
 
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
 
21555577938.ppt
21555577938.ppt21555577938.ppt
21555577938.ppt
 
Pitch v2.2
Pitch v2.2Pitch v2.2
Pitch v2.2
 

Último

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Último (20)

Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 

Chainer向けChannel Pruningフレームワークの設計と実装

  • 1. © DeNA Co., Ltd. Chaienr Channel Pruning December 15, 2018 Tomohiro Kato AI System Dept. DeNA Co., Ltd.
  • 2. © DeNA Co., Ltd. 2
  • 3. © DeNA Co., Ltd. 3
  • 4. © DeNA Co., Ltd. n u o PV n ) d d n rRpR h D C ) n ( A 18 8 l cg a st n ) 2 8 e nyiMLNm T I n (728 D 1 01 D 8 n )8 8 7e A 8 I n ) 2 8 e nyi ( / n A 01 4
  • 5. © DeNA Co., Ltd. n CV 5 https://www.slideshare.net/ShotaSuzuki2/mlops-shibuyasynapse-4-125602323 https://dena.ai/work6/
  • 6. © DeNA Co., Ltd. n Deep Learning … HW n Channel Pruning ChainerMeetup → 6
  • 7. © DeNA Co., Ltd. Channel Pruning n Channel Pruning Deep Learning Weight CPU/GPU / n Optuna Pruning ChainerPruningExtension 7
  • 8. © DeNA Co., Ltd. n ChainerCV ResNet50 channel pruning 8 MacBook Pro CPU, Chainer v5.1.0
  • 9. © DeNA Co., Ltd. demo 9
  • 10. © DeNA Co., Ltd. ChainerPruner n https://github.com/DeNA/ChainerPruner n Channel Pruning n Channel Pruning n Under development 10
  • 11. © DeNA Co., Ltd. ChainerPruner n Pruning Channel Pruning n Pruning Channel Pruning 11
  • 12. © DeNA Co., Ltd. Dynamic Pruning n Pruning Weight n Pruning Weight shape 1/0 0 Iteration n Pruning load :benri: 12
  • 13. © DeNA Co., Ltd. Mask and Rebuild n Weight -step Mask: Weight Rebuild: Weight n Mask L2 N-% chainerpruner.Mask 13
  • 14. © DeNA Co., Ltd. Rebuild mechanism n Channel Pruning n Conv – BN – FC Conv Pruning Bn FC Bn, FC input channel Conv output channel update n n Conv - BN - Pool - ConvDW – FC Link Function ChainerPruner n 14
  • 15. © DeNA Co., Ltd. Rebuild mechanism n 15
  • 16. © DeNA Co., Ltd. Serializers n Pruning Weight n Link Pruning Weight 16
  • 17. © DeNA Co., Ltd. Utility n https://github.com/belltailjp/chainer_computational_cost wrapper n pruning n / / 17
  • 18. © DeNA Co., Ltd. n ChainerPruner https://github.com/DeNA/ChainerPruner Channel Pruning n Future work ChainerX support Pruning Reporter tensorboardX Chainer 18
  • 19. © DeNA Co., Ltd. 19 EOF