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

gandlf_debugInfo 730 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
13
14
15
16
17
18
19
20
  1. #!usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import platform
  4. from GANDLF import __version__
  5. from GANDLF.utils import get_git_hash
  6. if __name__ == "__main__":
  7. print(f"GANDLF version: {__version__}")
  8. print(f"Git hash: {get_git_hash()}")
  9. print(f"Platform: {platform.platform()}")
  10. print(f"Machine: {platform.machine()}")
  11. print(f"Processor: {platform.processor()}")
  12. print(f"Architecture: {(' ').join(list(platform.architecture()))}")
  13. print("Python environment:")
  14. print(f" Version: {platform.python_version()}")
  15. print(f" Implementation: {platform.python_implementation()}")
  16. print(f" Compiler: {platform.python_compiler()}")
  17. print(f" Build: {(' ').join(list(platform.python_build()))}")
Tip!

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

Comments

Loading...