Does pytorch provide any build-int approach for licensing?

If not,what is the recommended way to do license control?