You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example notebook of changing batch size and learning rate as a function of model compilation, uses SageMaker Training Compiler
Guidance from the Neuron SDK on supported models and compiling your model for AWS custom machine learning accelerators, optimized for training, Trainium.
5. Measuring throughput
I'll add an example here of computing TFLOPS per accelerator
Some guidance on working with CloudWatch and SageMaker
This is too broad to have a single example for everything - that would be like trying to compute the wave angles of every ocean continuously :). However, for some concrete examples in language, take a look at Hugging Face's repository from their book Natural Language Processing with Transformers right here.
Alternatively you can jump straight to the Hugging Face evaluate library, with many examples and tutorials.