It depends where you are checking that constant. If you check it on master, then yes it will correspond to the nightly build.
For the ones supported in 1.7.1, you can check the version that was used for the release here: pytorch/gen_variable_type.py at 57bffc3a8e4fee0cce31e1ff1f662ccf7b16db57 · pytorch/pytorch · GitHub 48