hjxdl 0.0.6.dev1__tar.gz → 0.0.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. {hjxdl-0.0.6.dev1/hjxdl.egg-info → hjxdl-0.0.8}/PKG-INFO +7 -3
  2. hjxdl-0.0.8/README.md +10 -0
  3. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/_version.py +2 -2
  4. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/llm/chat.py +2 -1
  5. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8/hjxdl.egg-info}/PKG-INFO +7 -3
  6. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/setup.py +4 -0
  7. hjxdl-0.0.8/version.txt +1 -0
  8. hjxdl-0.0.6.dev1/README.md +0 -6
  9. hjxdl-0.0.6.dev1/version.txt +0 -1
  10. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/.github/workflows/python-publish.yml +0 -0
  11. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/.gitignore +0 -0
  12. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/.gitmodules +0 -0
  13. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/MANIFEST.in +0 -0
  14. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/__init__.py +0 -0
  15. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/__init__.py +0 -0
  16. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/args/__init__.py +0 -0
  17. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/args/loss_args.py +0 -0
  18. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/__init__.py +0 -0
  19. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/al/__init__.py +0 -0
  20. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/al/al.py +0 -0
  21. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/al/dispatcher.py +0 -0
  22. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/al/feedback.py +0 -0
  23. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/explain/__init__.py +0 -0
  24. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/explain/shapley.py +0 -0
  25. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/explain/subgraphx.py +0 -0
  26. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/predictors/gin_predictor.py +0 -0
  27. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/predictors/rxn_predictor.py +0 -0
  28. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/predictors/torch_predictor.py +0 -0
  29. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/train/__init__.py +0 -0
  30. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/train/rxn_train.py +0 -0
  31. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/train/train.py +0 -0
  32. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/train/train_ginet.py +0 -0
  33. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/train/trainer_base.py +0 -0
  34. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/controllers/train/trainer_iterative.py +0 -0
  35. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/__init__.py +0 -0
  36. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/__init__.py +0 -0
  37. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/base_dataset.py +0 -0
  38. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/fp/__init__.py +0 -0
  39. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/fp/fp_dataset.py +0 -0
  40. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/graph/__init__.py +0 -0
  41. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/graph/chiral.py +0 -0
  42. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/graph/gin.py +0 -0
  43. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/graph/molnet.py +0 -0
  44. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/__init__.py +0 -0
  45. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/chiral_graph.py +0 -0
  46. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/collate_funcs/__init__.py +0 -0
  47. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/collate_funcs/fp.py +0 -0
  48. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/collate_funcs/rxn.py +0 -0
  49. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/general.py +0 -0
  50. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/loaders/spliter.py +0 -0
  51. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/samplers/__init__.py +0 -0
  52. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/samplers/chiral.py +0 -0
  53. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/seq/__init__.py +0 -0
  54. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/seq/rxn_dataset.py +0 -0
  55. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/dataset/utils.py +0 -0
  56. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/data/to_mols.py +0 -0
  57. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/__init__.py +0 -0
  58. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/fp/__init__.py +0 -0
  59. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/fp/features_generators.py +0 -0
  60. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/graph/__init__.py +0 -0
  61. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/graph/featurization.py +0 -0
  62. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/utils/__init__.py +0 -0
  63. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/utils/utils.py +0 -0
  64. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/features/vocab.txt +0 -0
  65. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/include/add2.h +0 -0
  66. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/kernel/add2_kernel.cu +0 -0
  67. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/kernel/test +0 -0
  68. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/kernel/test.cu +0 -0
  69. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/__init__.py +0 -0
  70. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/general/__init__.py +0 -0
  71. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/general/gp.py +0 -0
  72. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/general/linear.py +0 -0
  73. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/graph/__init__.py +0 -0
  74. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/graph/chiral_graph.py +0 -0
  75. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/graph/gcn.py +0 -0
  76. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/graph/gin.py +0 -0
  77. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/graph/tetra.py +0 -0
  78. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/graph/transformer.py +0 -0
  79. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/layers/sequential/__init__.py +0 -0
  80. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/metric_loss/__init__.py +0 -0
  81. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/metric_loss/loss.py +0 -0
  82. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/metric_loss/metric.py +0 -0
  83. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/metric_loss/multi_label.py +0 -0
  84. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/metric_loss/nt_xent.py +0 -0
  85. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/__init__.py +0 -0
  86. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/chiral_gnn.py +0 -0
  87. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/fast_transformer.py +0 -0
  88. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/ginet.py +0 -0
  89. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/linear.py +0 -0
  90. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/model_dict.py +0 -0
  91. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/norm_flows.py +0 -0
  92. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/optim_dict.py +0 -0
  93. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/rxn.py +0 -0
  94. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/models/utils.py +0 -0
  95. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/ops/__init__.py +0 -0
  96. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/ops/utils.py +0 -0
  97. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/optims/__init__.py +0 -0
  98. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/optims/nadam.py +0 -0
  99. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/pytorch/add2_ops.cpp +0 -0
  100. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/__init__.py +0 -0
  101. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/chemical_tools/__init__.py +0 -0
  102. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/chemical_tools/query_info.py +0 -0
  103. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/chemical_tools/sdf.py +0 -0
  104. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/database_tools/__init__.py +0 -0
  105. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/database_tools/connect.py +0 -0
  106. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/general/__init__.py +0 -0
  107. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/general/glob.py +0 -0
  108. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/llm/__init__.py +0 -0
  109. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/schedulers/__init__.py +0 -0
  110. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hdl/utils/schedulers/norm_lr.py +0 -0
  111. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hjxdl.egg-info/SOURCES.txt +0 -0
  112. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hjxdl.egg-info/dependency_links.txt +0 -0
  113. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hjxdl.egg-info/requires.txt +0 -0
  114. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/hjxdl.egg-info/top_level.txt +0 -0
  115. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/pyproject.toml +0 -0
  116. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/requirements.txt +0 -0
  117. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/setup.cfg +0 -0
  118. {hjxdl-0.0.6.dev1 → hjxdl-0.0.8}/update_main.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hjxdl
3
- Version: 0.0.6.dev1
3
+ Version: 0.0.8
4
4
  Summary: A collection of functions for Jupyter notebooks
5
5
  Home-page: https://github.com/huluxiaohuowa/hdl
6
6
  Author: Jianxing Hu
@@ -15,6 +15,10 @@ Requires-Dist: jupyfuncs
15
15
  # DL framework by Jianxing
16
16
 
17
17
  ```bash
18
- git clone git@github.com:huluxiaohuowa/hdl.git
19
- python setup.py install
18
+ pip install hdxdl
19
+ ```
20
+
21
+ ```python
22
+ import hdl
23
+ print(hdl.version)
20
24
  ```
hjxdl-0.0.8/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # DL framework by Jianxing
2
+
3
+ ```bash
4
+ pip install hdxdl
5
+ ```
6
+
7
+ ```python
8
+ import hdl
9
+ print(hdl.version)
10
+ ```
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.0.6.dev1'
16
- __version_tuple__ = version_tuple = (0, 0, 6, 'dev1')
15
+ __version__ = version = '0.0.8'
16
+ __version_tuple__ = version_tuple = (0, 0, 8)
@@ -42,7 +42,8 @@ class GGUF_M():
42
42
  model_path=model_path,
43
43
  n_threads=self.generation_kwargs['num_threads'],
44
44
  n_ctx=self.generation_kwargs['max_context_length'],
45
- n_gpu_layers=-1
45
+ n_gpu_layers=-1,
46
+ flash_attn=True
46
47
  )
47
48
 
48
49
  print("完成本地模型的加载")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hjxdl
3
- Version: 0.0.6.dev1
3
+ Version: 0.0.8
4
4
  Summary: A collection of functions for Jupyter notebooks
5
5
  Home-page: https://github.com/huluxiaohuowa/hdl
6
6
  Author: Jianxing Hu
@@ -15,6 +15,10 @@ Requires-Dist: jupyfuncs
15
15
  # DL framework by Jianxing
16
16
 
17
17
  ```bash
18
- git clone git@github.com:huluxiaohuowa/hdl.git
19
- python setup.py install
18
+ pip install hdxdl
19
+ ```
20
+
21
+ ```python
22
+ import hdl
23
+ print(hdl.version)
20
24
  ```
@@ -1,6 +1,7 @@
1
1
  from setuptools import setup, find_packages
2
2
  import setuptools_scm
3
3
 
4
+
4
5
  def read_requirements():
5
6
  """读取 requirements.txt 文件并返回依赖列表"""
6
7
  with open('requirements.txt', 'r', encoding='utf-8') as file:
@@ -10,6 +11,7 @@ def read_requirements():
10
11
  if line.strip() and not line.startswith('#')
11
12
  ]
12
13
 
14
+
13
15
  def custom_version_scheme(version):
14
16
  """自定义版本号方案,确保没有 .dev 后缀"""
15
17
  if version.exact:
@@ -19,10 +21,12 @@ def custom_version_scheme(version):
19
21
  else:
20
22
  return version.format_with("0.0.0")
21
23
 
24
+
22
25
  def custom_local_scheme(version):
23
26
  """自定义本地版本方案,确保没有本地版本后缀"""
24
27
  return ""
25
28
 
29
+
26
30
  setup(
27
31
  name="hjxdl",
28
32
  use_scm_version={
@@ -0,0 +1 @@
1
+ 0.0.8
@@ -1,6 +0,0 @@
1
- # DL framework by Jianxing
2
-
3
- ```bash
4
- git clone git@github.com:huluxiaohuowa/hdl.git
5
- python setup.py install
6
- ```
@@ -1 +0,0 @@
1
- 0.0.5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes