- Install LivePreview Extension
- (optional) Install scalene vscode extension
Activity 2: csv processing optimization + numpy => let each participant build a solution and then compare profiles, try to optimize => 20-30 min
=> define code objective and find csv data => let participants compete for best code
=> multithreading for IO => multiprocessing for CPU-intensive
Activity 4: optimize gpu utilization on a deep learning training task (preprocess batch with cpu while previous one is in gpu) => 20 min
https://towardsdatascience.com/multithreading-vs-multiprocessing-in-python-3afeb73e105f