Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

verify_version.py 323 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
  1. import sys
  2. import super_gradients
  3. if __name__ == "__main__":
  4. ci_version = sys.argv[1]
  5. if ci_version == super_gradients.__version__:
  6. sys.exit(0)
  7. else:
  8. print(f"wrong version definition:\nCI version: {ci_version}\nsuper_gradients.__version__: {super_gradients.__version__}")
  9. sys.exit(1)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...