How to initialize a model with random weights

i’m debugging a script and since its very memory heavy my run gets stuck when i am evaluating in the console.

the only solution is to tweak some things and rerun the script. the problem is that for this i need to load the model which takes a few minutes every time.

is it possible to keep the configuration exactly as is but skip the model weights loading?

1 Like