Example Zoo

Example Zoo

Below contains a non-exhuastive list of tutorials and scripts showcasing ๐ŸŒ Accelerate

Official Accelerate Examples:

Basic Examples

These examples showcase the base features of Accelerate and are a great starting point

Feature Specific Examples

These examples showcase specific features that the Accelerate framework offers

Full Examples

These examples showcase every feature in Accelerate at once that was shown in โ€œFeature Specific Examplesโ€

Integration Examples

These are tutorials from libraries that integrate with ๐ŸŒ Accelerate:

Donโ€™t find your integration here? Make a PR to include it!

Catalyst

DALLE2-pytorch

๐ŸŒ diffusers

fastai

GradsFlow

imagen-pytorch

Kornia

PyTorch Accelerated

PyTorch3D

Stable-Dreamfusion

Tez

trlx

Comfy-UI

In Science

Below contains a non-exhaustive list of papers utilizing ๐ŸŒ Accelerate.

Donโ€™t find your paper here? Make a PR to include it!

  • Yuval Kirstain, Adam Polyak, Uriel Singer, Shahbuland Matiana, Joe Penna, Omer Levy: โ€œPick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationโ€, 2023; arXiv:2305.01569.

  • Lei Wang, Wanyu Xu, Yihuai Lan, Zhiqiang Hu, Yunshi Lan, Roy Ka-Wei Lee, Ee-Peng Lim: โ€œPlan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelsโ€, 2023; arXiv:2305.04091.

  • Arthur Cรขmara, Claudia Hauff: โ€œMoving Stuff Around: A study on efficiency of moving documents into memory for Neural IR modelsโ€, 2022; arXiv:2205.08343.

  • Ying Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li, Max Ryabinin, Daniel Y. Fu, Zhiqiang Xie, Beidi Chen, Clark Barrett, Joseph E. Gonzalez, Percy Liang, Christopher Rรฉ, Ion Stoica, Ce Zhang: โ€œHigh-throughput Generative Inference of Large Language Models with a Single GPUโ€, 2023; arXiv:2303.06865.

  • Peter Melchior, Yan Liang, ChangHoon Hahn, Andy Goulding: โ€œAutoencoding Galaxy Spectra I: Architectureโ€, 2022; arXiv:2211.07890.

  • Jiaao Chen, Aston Zhang, Mu Li, Alex Smola, Diyi Yang: โ€œA Cheaper and Better Diffusion Language Model with Soft-Masked Noiseโ€, 2023; arXiv:2304.04746.

  • Ayaan Haque, Matthew Tancik, Alexei A. Efros, Aleksander Holynski, Angjoo Kanazawa: โ€œInstruct-NeRF2NeRF: Editing 3D Scenes with Instructionsโ€, 2023; arXiv:2303.12789.

  • Luke Melas-Kyriazi, Christian Rupprecht, Iro Laina, Andrea Vedaldi: โ€œRealFusion: 360ยฐ Reconstruction of Any Object from a Single Imageโ€, 2023; arXiv:2302.10663.

  • Xiaoshi Wu, Keqiang Sun, Feng Zhu, Rui Zhao, Hongsheng Li: โ€œBetter Aligning Text-to-Image Models with Human Preferenceโ€, 2023; arXiv:2303.14420.

  • Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, Yueting Zhuang: โ€œBOINCGPT: Solving AI Tasks with ChatGPT and its Friends in BOINC AIโ€, 2023; arXiv:2303.17580.

  • Yue Yang, Wenlin Yao, Hongming Zhang, Xiaoyang Wang, Dong Yu, Jianshu Chen: โ€œZ-LaVI: Zero-Shot Language Solver Fueled by Visual Imaginationโ€, 2022; arXiv:2210.12261.

  • Sheng-Yen Chou, Pin-Yu Chen, Tsung-Yi Ho: โ€œHow to Backdoor Diffusion Models?โ€, 2022; arXiv:2212.05400.

  • Junyoung Seo, Wooseok Jang, Min-Seop Kwak, Jaehoon Ko, Hyeonsu Kim, Junho Kim, Jin-Hwa Kim, Jiyoung Lee, Seungryong Kim: โ€œLet 2D Diffusion Model Know 3D-Consistency for Robust Text-to-3D Generationโ€, 2023; arXiv:2303.07937.

  • Or Patashnik, Daniel Garibi, Idan Azuri, Hadar Averbuch-Elor, Daniel Cohen-Or: โ€œLocalizing Object-level Shape Variations with Text-to-Image Diffusion Modelsโ€, 2023; arXiv:2303.11306.

  • Dรญdac Surรญs, Sachit Menon, Carl Vondrick: โ€œViperGPT: Visual Inference via Python Execution for Reasoningโ€, 2023; arXiv:2303.08128.

  • Chenyang Qi, Xiaodong Cun, Yong Zhang, Chenyang Lei, Xintao Wang, Ying Shan, Qifeng Chen: โ€œFateZero: Fusing Attentions for Zero-shot Text-based Video Editingโ€, 2023; arXiv:2303.09535.

  • Sean Welleck, Jiacheng Liu, Ximing Lu, Hannaneh Hajishirzi, Yejin Choi: โ€œNaturalProver: Grounded Mathematical Proof Generation with Language Modelsโ€, 2022; arXiv:2205.12910.

  • Elad Richardson, Gal Metzer, Yuval Alaluf, Raja Giryes, Daniel Cohen-Or: โ€œTEXTure: Text-Guided Texturing of 3D Shapesโ€, 2023; arXiv:2302.01721.

  • Puijin Cheng, Li Lin, Yijin Huang, Huaqing He, Wenhan Luo, Xiaoying Tang: โ€œLearning Enhancement From Degradation: A Diffusion Model For Fundus Image Enhancementโ€, 2023; arXiv:2303.04603.

  • Shun Shao, Yftah Ziser, Shay Cohen: โ€œErasure of Unaligned Attributes from Neural Representationsโ€, 2023; arXiv:2302.02997.

  • Seonghyeon Ye, Hyeonbin Hwang, Sohee Yang, Hyeongu Yun, Yireun Kim, Minjoon Seo: โ€œIn-Context Instruction Learningโ€, 2023; arXiv:2302.14691.

  • Shikun Liu, Linxi Fan, Edward Johns, Zhiding Yu, Chaowei Xiao, Anima Anandkumar: โ€œPrismer: A Vision-Language Model with An Ensemble of Expertsโ€, 2023; arXiv:2303.02506.

  • Haoyu Chen, Zhihua Wang, Yang Yang, Qilin Sun, Kede Ma: โ€œLearning a Deep Color Difference Metric for Photographic Imagesโ€, 2023; arXiv:2303.14964.

  • Van-Hoang Le, Hongyu Zhang: โ€œLog Parsing with Prompt-based Few-shot Learningโ€, 2023; arXiv:2302.07435.

  • Keito Kudo, Yoichi Aoki, Tatsuki Kuribayashi, Ana Brassard, Masashi Yoshikawa, Keisuke Sakaguchi, Kentaro Inui: โ€œDo Deep Neural Networks Capture Compositionality in Arithmetic Reasoning?โ€, 2023; arXiv:2302.07866.

  • Ruoyao Wang, Peter Jansen, Marc-Alexandre Cรดtรฉ, Prithviraj Ammanabrolu: โ€œBehavior Cloned Transformers are Neurosymbolic Reasonersโ€, 2022; arXiv:2210.07382.

  • Martin Wessel, Tomรกลก Horych, Terry Ruas, Akiko Aizawa, Bela Gipp, Timo Spinde: โ€œIntroducing MBIB โ€” the first Media Bias Identification Benchmark Task and Dataset Collectionโ€, 2023; arXiv:2304.13148. DOI: [https://dx.doi.org/10.1145/3539618.3591882 10.1145/3539618.3591882].

  • Hila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf, Daniel Cohen-Or: โ€œAttend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Modelsโ€, 2023; arXiv:2301.13826.

  • Marcio Fonseca, Yftah Ziser, Shay B. Cohen: โ€œFactorizing Content and Budget Decisions in Abstractive Summarization of Long Documentsโ€, 2022; arXiv:2205.12486.

  • Elad Richardson, Gal Metzer, Yuval Alaluf, Raja Giryes, Daniel Cohen-Or: โ€œTEXTure: Text-Guided Texturing of 3D Shapesโ€, 2023; arXiv:2302.01721.

  • Tianxing He, Jingyu Zhang, Tianle Wang, Sachin Kumar, Kyunghyun Cho, James Glass, Yulia Tsvetkov: โ€œOn the Blind Spots of Model-Based Evaluation Metrics for Text Generationโ€, 2022; arXiv:2212.10020.

  • Ori Ram, Yoav Levine, Itay Dalmedigos, Dor Muhlgay, Amnon Shashua, Kevin Leyton-Brown, Yoav Shoham: โ€œIn-Context Retrieval-Augmented Language Modelsโ€, 2023; arXiv:2302.00083.

  • Dacheng Li, Rulin Shao, Hongyi Wang, Han Guo, Eric P. Xing, Hao Zhang: โ€œMPCFormer: fast, performant and private Transformer inference with MPCโ€, 2022; arXiv:2211.01452.

  • Baolin Peng, Michel Galley, Pengcheng He, Chris Brockett, Lars Liden, Elnaz Nouri, Zhou Yu, Bill Dolan, Jianfeng Gao: โ€œGODEL: Large-Scale Pre-Training for Goal-Directed Dialogโ€, 2022; arXiv:2206.11309.

  • Egil Rรธnningstad, Erik Velldal, Lilja ร˜vrelid: โ€œEntity-Level Sentiment Analysis (ELSA): An exploratory task surveyโ€, 2023, Proceedings of the 29th International Conference on Computational Linguistics, 2022, pages 6773-6783; arXiv:2304.14241.

  • Charlie Snell, Ilya Kostrikov, Yi Su, Mengjiao Yang, Sergey Levine: โ€œOffline RL for Natural Language Generation with Implicit Language Q Learningโ€, 2022; arXiv:2206.11871.

  • Zhiruo Wang, Shuyan Zhou, Daniel Fried, Graham Neubig: โ€œExecution-Based Evaluation for Open-Domain Code Generationโ€, 2022; arXiv:2212.10481.

  • Minh-Long Luu, Zeyi Huang, Eric P. Xing, Yong Jae Lee, Haohan Wang: โ€œExpeditious Saliency-guided Mix-up through Random Gradient Thresholdingโ€, 2022; arXiv:2212.04875.

  • Jun Hao Liew, Hanshu Yan, Daquan Zhou, Jiashi Feng: โ€œMagicMix: Semantic Mixing with Diffusion Modelsโ€, 2022; arXiv:2210.16056.

  • Yaqing Wang, Subhabrata Mukherjee, Xiaodong Liu, Jing Gao, Ahmed Hassan Awadallah, Jianfeng Gao: โ€œLiST: Lite Prompted Self-training Makes Parameter-Efficient Few-shot Learnersโ€, 2021; arXiv:2110.06274.

Last updated