The function change for compiler

I want to use compile function to initialize vgg_model with parameter extracted from vgg-verydeep-16.mat

using Knet
file = matread("vgg-verydeep-16.mat")
global vgg = compile(:vgg_model; weights=file)
ERROR: LoadError: UndefVarError: compile not defined

anyone who knows the change. i need some help