czczup commited on
Commit
c5d486f
·
verified ·
1 Parent(s): ff0b19a

Add supports_gradient_checkpointing

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .cache/huggingface/.gitignore +1 -0
  2. .cache/huggingface/download/.gitattributes.lock +0 -0
  3. .cache/huggingface/download/.gitattributes.metadata +3 -0
  4. .cache/huggingface/download/README.md.lock +0 -0
  5. .cache/huggingface/download/README.md.metadata +3 -0
  6. .cache/huggingface/download/added_tokens.json.lock +0 -0
  7. .cache/huggingface/download/added_tokens.json.metadata +3 -0
  8. .cache/huggingface/download/config.json.lock +0 -0
  9. .cache/huggingface/download/config.json.metadata +3 -0
  10. .cache/huggingface/download/configuration_intern_vit.py.lock +0 -0
  11. .cache/huggingface/download/configuration_intern_vit.py.metadata +3 -0
  12. .cache/huggingface/download/configuration_internlm2.py.lock +0 -0
  13. .cache/huggingface/download/configuration_internlm2.py.metadata +3 -0
  14. .cache/huggingface/download/configuration_internvl_chat.py.lock +0 -0
  15. .cache/huggingface/download/configuration_internvl_chat.py.metadata +3 -0
  16. .cache/huggingface/download/conversation.py.lock +0 -0
  17. .cache/huggingface/download/conversation.py.metadata +3 -0
  18. .cache/huggingface/download/generation_config.json.lock +0 -0
  19. .cache/huggingface/download/generation_config.json.metadata +3 -0
  20. .cache/huggingface/download/inputs_stats.pth.lock +0 -0
  21. .cache/huggingface/download/inputs_stats.pth.metadata +3 -0
  22. .cache/huggingface/download/modeling_intern_vit.py.lock +0 -0
  23. .cache/huggingface/download/modeling_intern_vit.py.metadata +3 -0
  24. .cache/huggingface/download/modeling_internlm2.py.lock +0 -0
  25. .cache/huggingface/download/modeling_internlm2.py.metadata +3 -0
  26. .cache/huggingface/download/modeling_internvl_chat.py.lock +0 -0
  27. .cache/huggingface/download/modeling_internvl_chat.py.metadata +3 -0
  28. .cache/huggingface/download/outputs_stats.pth.lock +0 -0
  29. .cache/huggingface/download/outputs_stats.pth.metadata +3 -0
  30. .cache/huggingface/download/preprocessor_config.json.lock +0 -0
  31. .cache/huggingface/download/preprocessor_config.json.metadata +3 -0
  32. .cache/huggingface/download/pytorch_model-00001-of-00003.bin.lock +0 -0
  33. .cache/huggingface/download/pytorch_model-00001-of-00003.bin.metadata +3 -0
  34. .cache/huggingface/download/pytorch_model-00002-of-00003.bin.lock +0 -0
  35. .cache/huggingface/download/pytorch_model-00002-of-00003.bin.metadata +3 -0
  36. .cache/huggingface/download/pytorch_model-00003-of-00003.bin.lock +0 -0
  37. .cache/huggingface/download/pytorch_model-00003-of-00003.bin.metadata +3 -0
  38. .cache/huggingface/download/pytorch_model.bin.index.json.lock +0 -0
  39. .cache/huggingface/download/pytorch_model.bin.index.json.metadata +3 -0
  40. .cache/huggingface/download/special_tokens_map.json.lock +0 -0
  41. .cache/huggingface/download/special_tokens_map.json.metadata +3 -0
  42. .cache/huggingface/download/tokenization_internlm2.py.lock +0 -0
  43. .cache/huggingface/download/tokenization_internlm2.py.metadata +3 -0
  44. .cache/huggingface/download/tokenization_internlm2_fast.py.lock +0 -0
  45. .cache/huggingface/download/tokenization_internlm2_fast.py.metadata +3 -0
  46. .cache/huggingface/download/tokenizer.model.lock +0 -0
  47. .cache/huggingface/download/tokenizer.model.metadata +3 -0
  48. .cache/huggingface/download/tokenizer_config.json.lock +0 -0
  49. .cache/huggingface/download/tokenizer_config.json.metadata +3 -0
  50. configuration_internvl_chat.py +2 -0
.cache/huggingface/.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ *
.cache/huggingface/download/.gitattributes.lock ADDED
File without changes
.cache/huggingface/download/.gitattributes.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ a6344aac8c09253b3b630fb776ae94478aa0275b
3
+ 1734456881.3204195
.cache/huggingface/download/README.md.lock ADDED
File without changes
.cache/huggingface/download/README.md.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ ed7c68c8ac6e6939903dd362f5e07c93aa80fb34
3
+ 1734456881.3826003
.cache/huggingface/download/added_tokens.json.lock ADDED
File without changes
.cache/huggingface/download/added_tokens.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 35f5893c8e29d6102945a953529819a2d56c62a9
3
+ 1734456881.317275
.cache/huggingface/download/config.json.lock ADDED
File without changes
.cache/huggingface/download/config.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ d30f025f1c4f7968b9e6a37f44379f48af6f82e6
3
+ 1734456879.2454202
.cache/huggingface/download/configuration_intern_vit.py.lock ADDED
File without changes
.cache/huggingface/download/configuration_intern_vit.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 7e630c456eb9cf350e55bf850c3ff72f445a7e17
3
+ 1734497138.1978948
.cache/huggingface/download/configuration_internlm2.py.lock ADDED
File without changes
.cache/huggingface/download/configuration_internlm2.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 282b13b1e2066ecc074ecae87b35a19d251f0ed7
3
+ 1734456881.316092
.cache/huggingface/download/configuration_internvl_chat.py.lock ADDED
File without changes
.cache/huggingface/download/configuration_internvl_chat.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 56c628e15a646dfbb2618c90e0577b7037901b6b
3
+ 1734456879.2253397
.cache/huggingface/download/conversation.py.lock ADDED
File without changes
.cache/huggingface/download/conversation.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 5a771766f21ce3aeeb99b286fb8d188b0038a547
3
+ 1734456887.4415834
.cache/huggingface/download/generation_config.json.lock ADDED
File without changes
.cache/huggingface/download/generation_config.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ d45dc4fdf649b1096e6d30f54fa59c1366ddecfb
3
+ 1734456881.31129
.cache/huggingface/download/inputs_stats.pth.lock ADDED
File without changes
.cache/huggingface/download/inputs_stats.pth.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ e626d3533e1e31ce73e2c5254d1fe12e475228b4e42e4ba71fe93f857f893006
3
+ 1734456905.3427403
.cache/huggingface/download/modeling_intern_vit.py.lock ADDED
File without changes
.cache/huggingface/download/modeling_intern_vit.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 1c5c043a4b860720b3b6e55107e8e6ecf0c573de
3
+ 1734456884.297229
.cache/huggingface/download/modeling_internlm2.py.lock ADDED
File without changes
.cache/huggingface/download/modeling_internlm2.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 7c8c24d873f6ecd152d00fd65371e23ead981e1d
3
+ 1734456882.2199962
.cache/huggingface/download/modeling_internvl_chat.py.lock ADDED
File without changes
.cache/huggingface/download/modeling_internvl_chat.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ c4014b13f436084268a6ba6d332afcd850c4e82c
3
+ 1734456884.3046567
.cache/huggingface/download/outputs_stats.pth.lock ADDED
File without changes
.cache/huggingface/download/outputs_stats.pth.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 48130ed5f93ebe2532287b6326cf06de53a312244e747bc679ad5e3a80c13c0f
3
+ 1734456924.382636
.cache/huggingface/download/preprocessor_config.json.lock ADDED
File without changes
.cache/huggingface/download/preprocessor_config.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ dfd7e50d9d4e67cd679b16b337b419a0c6cfa849
3
+ 1734456882.242597
.cache/huggingface/download/pytorch_model-00001-of-00003.bin.lock ADDED
File without changes
.cache/huggingface/download/pytorch_model-00001-of-00003.bin.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 7de3884aa223d2345aa4421b9328dbb36499a737d6fb750536994a1e39eb04ea
3
+ 1734498642.628777
.cache/huggingface/download/pytorch_model-00002-of-00003.bin.lock ADDED
File without changes
.cache/huggingface/download/pytorch_model-00002-of-00003.bin.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 248cedc1d087825a60a2b8d7ff9e729814c839fc5c5e9382038f12e19c0833d2
3
+ 1734498623.9104054
.cache/huggingface/download/pytorch_model-00003-of-00003.bin.lock ADDED
File without changes
.cache/huggingface/download/pytorch_model-00003-of-00003.bin.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ d4f5c695655e7970bae5e5e47172be6972c39926879cc7858ee5e0894be94ee8
3
+ 1734499219.9553938
.cache/huggingface/download/pytorch_model.bin.index.json.lock ADDED
File without changes
.cache/huggingface/download/pytorch_model.bin.index.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 69a72e05ba6de298afa7ea18aecce1d2976ba76d
3
+ 1734456887.2251036
.cache/huggingface/download/special_tokens_map.json.lock ADDED
File without changes
.cache/huggingface/download/special_tokens_map.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ cbf34a50d27c43ed8d1e2823b800b4e6f66e637a
3
+ 1734456891.408743
.cache/huggingface/download/tokenization_internlm2.py.lock ADDED
File without changes
.cache/huggingface/download/tokenization_internlm2.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ 1be581da37ef678de65f2737493fc0ed7160446e
3
+ 1734456888.3120775
.cache/huggingface/download/tokenization_internlm2_fast.py.lock ADDED
File without changes
.cache/huggingface/download/tokenization_internlm2_fast.py.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ aa0fccbd0f1d029d79e19821f2edcb01b594537c
3
+ 1734456890.3362
.cache/huggingface/download/tokenizer.model.lock ADDED
File without changes
.cache/huggingface/download/tokenizer.model.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ f868398fc4e05ee1e8aeba95ddf18ddcc45b8bce55d5093bead5bbf80429b48b
3
+ 1734497146.2137315
.cache/huggingface/download/tokenizer_config.json.lock ADDED
File without changes
.cache/huggingface/download/tokenizer_config.json.metadata ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 54fe2de7027d92dc6ef070e46905b73b32d022ee
2
+ b8ee4d6000075a260674630d6103897657445fac
3
+ 1734497138.2466145
configuration_internvl_chat.py CHANGED
@@ -64,6 +64,8 @@ class InternVLChatConfig(PretrainedConfig):
64
  self.ps_version = ps_version # pixel shuffle version
65
  self.min_dynamic_patch = min_dynamic_patch
66
  self.max_dynamic_patch = max_dynamic_patch
 
 
67
 
68
  logger.info(f'vision_select_layer: {self.select_layer}')
69
  logger.info(f'ps_version: {self.ps_version}')
 
64
  self.ps_version = ps_version # pixel shuffle version
65
  self.min_dynamic_patch = min_dynamic_patch
66
  self.max_dynamic_patch = max_dynamic_patch
67
+ # By default, we use tie_word_embeddings=False for models of all sizes.
68
+ self.tie_word_embeddings = self.llm_config.tie_word_embeddings
69
 
70
  logger.info(f'vision_select_layer: {self.select_layer}')
71
  logger.info(f'ps_version: {self.ps_version}')