diff --git a/conf.py b/conf.py index a1882205e6c..f9c8a512d8b 100644 --- a/conf.py +++ b/conf.py @@ -141,9 +141,9 @@ # built documents. # # The short X.Y version. -version = torch.__version__ +version = str(torch.__version__) # The full version, including alpha/beta/rc tags. -release = torch.__version__ +release = str(torch.__version__) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.