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 65a08c7 commit 33ee3d7Copy full SHA for 33ee3d7
setup.py
@@ -83,7 +83,7 @@ def get_version():
83
84
def write_version_file(version, sha):
85
# Exists for BC, probably completely useless.
86
- with open(os.path.join(ROOT_DIR, "torchvision", "version.py"), "w") as f:
+ with open(ROOT_DIR / "torchvision" / "version.py", "w") as f:
87
f.write(f"__version__ = '{version}'\n")
88
f.write(f"git_version = {repr(sha)}\n")
89
f.write("from torchvision.extension import _check_cuda_version\n")
0 commit comments