PYTORCH - unstats.un.org

23
PYTORCH Jyothi Nookula Product Manager Facebook AI @FIBBONNACI

Transcript of PYTORCH - unstats.un.org

Page 1: PYTORCH - unstats.un.org

PYTORCH

Jyothi NookulaProduct ManagerFacebook AI

@FIBBONNACI

Page 2: PYTORCH - unstats.un.org

AGENDA 01

PYTORCH

02

ECOSYSTEM

Page 3: PYTORCH - unstats.un.org

PYTORCH

An open source machine learning framework that accelerates the path from research prototyping to production deployment.

MACHINE LEARNING FRAMEWORK• Primitives, activation and loss functions, optimizers

RESEARCH PROTOTYPING• Models are Python code, Autograd and ‘eager’ mode for dynamic model architectures

PRODUCTION DEPLOYMENT• TorchScript, TorchServe, quantization

Page 4: PYTORCH - unstats.un.org

PyTorch Open Source Community• 1700+ contributors (+50% YoY)• 37k users in discussion forums• 57k+ GitHub downstream projects

PyTorch for Research• Cited in 70% of NeurIPS’19 framework

papers• +127% YoY increase on Arxiv papers

(Jun’19 to Jun’20)

The PyTorch Community

Source: GitHubSource: http://horace.io/pytorch-vs-tensorflowSource: arxiv.org

Page 5: PYTORCH - unstats.un.org

PyTorch in Production• AstraZeneca, Disney, Datarock, Blue River

Technology, Uber ATG, and more.

PyTorch in Production at Facebook• Over 93% of models are trained on PyTorch• Over 1700 inference models in production• 600+ active users of PyTorch

PYTORCH IN PRODUCTION

Production Usage

Page 6: PYTORCH - unstats.un.org

WHO MAKES PYTORCH: THE FULL TIMERS (60%)

Nvidia IntelQuansight

IBMAMDMicrosoft

Preferred Networks Google Amazon

Page 7: PYTORCH - unstats.un.org

Operators Python/C++ API parity ONNX

Data Loading VSX support

Linear AlgebraROCm Many, many more

Complex Numbers

WHO MAKES PYTORCH: EVERYBODY ELSE (40%)

Page 8: PYTORCH - unstats.un.org

WHO MAKES PYTORCH: EVERYBODY ELSE (40%)

Kshiteej Kalambarkar and Shawn Zhong

(operators)

meganset and Vinod Kumar

(Python/C++ API parity)Ksenija Stanojevic

(ONNX)

Simon Wang (data loading and

many misc bug fixes)

quickwritereader(VSX support)

Vishwak Srinivasan (linear algebra)

Thomas Viemann (ROCm)

Many, many more @jeongukjae, @cloudhan, @cyyever,

@Enealor, @RockingJavaBean, @Flamefire, @choidongyeon,

@muthuArivoli, @bpstark, @Kiyosora, @gaurav1086, @cdluminate, ...

Dylan Bespalko (complex numbers)13%

of PRs from people who have only contributed once this year!

Page 9: PYTORCH - unstats.un.org

THE SCOPE OFPYTORCH ECOSYSTEM

Page 10: PYTORCH - unstats.un.org

WHAT DROVE ADOPTION?

1. Usability

Page 11: PYTORCH - unstats.un.org

2XEMPLOYEES TRAINING

MODELS

5XMODELS TRAINED

8XCOMPUTATIONAL

RESOURCES

INTERNAL FB TRENDS OVER 18 MONTHS

2. Production Usage

Source: Internal Facebook Metrics

Page 12: PYTORCH - unstats.un.org

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 13: PYTORCH - unstats.un.org

Flexibility forfast ideation

andbreakthrough

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 14: PYTORCH - unstats.un.org

Flexibility forfast ideation

andbreakthrough

Performance, Efficiency, Reliability,Scalability

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 15: PYTORCH - unstats.un.org

Flexibility forfast ideation

andbreakthrough

Performance, Efficiency, Reliability,Scalability

Constant tension

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 16: PYTORCH - unstats.un.org

Constant tension

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 17: PYTORCH - unstats.un.org

Wide workload helps strike a good balance in

the tradeoff

Constant tension

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-development

Page 18: PYTORCH - unstats.un.org

Cater towards Users’ needs

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 19: PYTORCH - unstats.un.org

We can’t enable everything ourselves

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

CommunityCo-

development

Page 20: PYTORCH - unstats.un.org

We can’t enable everything ourselves

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

Diversify and parallelize with collaborations and co-

development

CommunityCo-development

Page 21: PYTORCH - unstats.un.org

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

Diversify and parallelize with collaborations and co-

development

CommunityCo-development

Page 22: PYTORCH - unstats.un.org

Cutting edge Research

Interoperable Ecosystem

ProductionGrade

Diversify and parallelize with collaborations and co-

development

CommunityCo-development

Page 23: PYTORCH - unstats.un.org

THANK YOU