We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1d1dd commit d1fb549Copy full SHA for d1fb549
setup.py
@@ -79,7 +79,7 @@ def get_version():
79
80
def write_version_file(version, sha):
81
# Exists for BC, probably completely useless.
82
- with open(ROOT_DIR / "torchvision/version.py", "w") as f:
+ with open(ROOT_DIR / "torchvision" / "version.py", "w") as f:
83
f.write(f"__version__ = '{version}'\n")
84
f.write(f"git_version = {repr(sha)}\n")
85
f.write("from torchvision.extension import _check_cuda_version\n")
0 commit comments