Commit 4a0cec65 authored by zhuwenwen's avatar zhuwenwen
Browse files

remove torch version

parent b854569a
...@@ -337,9 +337,6 @@ def get_version_add(sha: Optional[str] = None) -> str: ...@@ -337,9 +337,6 @@ def get_version_add(sha: Optional[str] = None) -> str:
lines = file.readlines() lines = file.readlines()
rocm_version=lines[0].replace(".", "") rocm_version=lines[0].replace(".", "")
version += ".dtk" + rocm_version version += ".dtk" + rocm_version
# torch version
version += ".torch" + torch.__version__[:5]
with open(add_version_path, encoding="utf-8",mode="w") as file: with open(add_version_path, encoding="utf-8",mode="w") as file:
file.write("__version__='0.5.0'\n") file.write("__version__='0.5.0'\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment