Basic Deep Learning Tasks from CPUs to GPUs
MultiGPU Artificial Intelligence Train-The-Trainer Course — Schedule: https://docs.google.com/document/d/1ztkd5I2k40QetHLwKdnOw4d6Ub_BsrR2epV2dt0wV3E/edit?tab=t.0
Time | Contents | Instructor(s) |
---|---|---|
14:00-14:20 | Introduction to Deep Learning | YW |
14:20-15:15 | Classification by a neural network using Keras (1-6) | AM |
15:25-15:45 | Classification by a neural network using Keras (7-10) | YW |
15:45-16:00 | Coffee Break (15 min) | |
16:00-16:45 | Monitor the training process (1-6) | YW |
16:45-17:30 | Monitor the training process (7-10) | AM |
Time | Contents | Instructor(s) |
---|---|---|
09:30-10:20 | Advanced layer types (1-6) | EP |
10:20-10:50 | Advanced layer types (7-10) | EP |
10:50-11:00 | Outlook and further reading | AM |
Either for regular users of LB or the one using temporary usernames and passwords, please try to login to LB cluster using the correct method.
Once login to LB, we are now at the path /leonardo/home/userexternal/<YOUR-USER-ACCOUNT>
.
Create a working directory at your login node.
You can directly get files from Github repository via running the following commands:
or you can copy files from the directory for this course with the following commands:
After running the commands listed above, you will have the following files/folder in your working directory (here it is multiGPU_AI_TTT_course_DL
)
npy
files)Submit job script sbatch 0_DL_job.sh
to ask for computational resources and also test the programming environment.
squeue --me
lrdn1234
Method 1:
Method 2:
smallstep
to generate ssh key for LB
step ssh certificate <useremail> --provisioner cineca-hpc <mykey>
mykey
mykey
mykey-cert.pub
mykey.pub
.pub
files above to the login node of LB.
scp mykey* <YOUR-USER-NAME>@login01-ext.leonardo.cineca.it:~/.ssh
.ssh
directory
.ssh
folder and mykey*
filesmykey
for authorizing login for compute nodesFollowing Step 2, if your job is allocated, you can similar results if you run squeue --me
ssh -i ../.ssh/mykey -L 9777:localhost:8888 -N -f lrdnxxxx
ssh -L 7777:localhost:9999 -N -f <YOUR-USER-NAME>@login01-ext.leonardo.cineca.it
http://127.0.0.1:7777/lab?token=tokenxxxxxxxxxxxxxxxxxx
, in which the token is available at the slurm-idxxxxxx.out
file.You can ask questions about the workshop content at the bottom of this page. We use the Zoom chat only for reporting Zoom problems and such.
Do you have Jupyter Lab up and running?
Add a +
to cast your vote
Is there any class that is easily distinguishable from the others?
Add a +
to cast your vote
Which combination of attributes shows the best separation for all 3 class
labels at once?
How many output neurons will our network have now that we one-hot encoded the target class?
Add a +
to cast your vote
A: 1
B: 2 +
C: 3 ++
Always ask questions at the very bottom of this document, right above this.