The Viewmodel itself does not support set_global(). A Viewmodel is a class, global scope should be avoided (even when using views, it's a bad idea and points to design flaws).
If you insist, you can use get_view() to get the Viewmodel's View object, and call set_global() on that.