YeonwooSung / ai_book

AI book for everyone
24 stars 5 forks source link

Model parallelism to use a huge huge model in colab #20

Closed YeonwooSung closed 2 years ago

YeonwooSung commented 2 years ago

Would it be possible to use DeBERTa v2 xlarge on colab notebook?

Model parallelism tutorial notebook Huggingface Transformers issue - Model parallelism and big models Huggingface Accelerate Huggingface Deepspeed integration

단일 머신을 사용한 모델 병렬화 모범사례 단일 머신을 사용한 모델 병렬화 모범사례 - colab notebook

YeonwooSung commented 2 years ago

Megatron also used Deepspeed for distributed training

link 1 link 2

YeonwooSung commented 2 years ago

Using TPU on Colab

PyTorch XLA

YeonwooSung commented 2 years ago

블로그 - Deepspeed with Huggingface for training BERT

YeonwooSung commented 2 years ago

Multi GPU training on Colab is only available by using either connecting Google Cloud Platform or local machine with multiple GPUs