alessandro trinca tornidor commited on
Commit
b16d3cb
1 Parent(s): e6dfe78

chore: bump to version 1.2.4

Browse files
.idea/inspectionProfiles/Project_Default.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
.idea/lisa_on_cuda.iml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module version="4">
3
+ <component name="PyDocumentationSettings">
4
+ <option name="format" value="GOOGLE" />
5
+ <option name="myDocStringFormat" value="Google" />
6
+ </component>
7
+ </module>
.idea/misc.xml CHANGED
@@ -1,4 +1,7 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="Poetry (samgis_core) (2)" project-jdk-type="Python SDK" />
 
 
 
4
  </project>
 
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Poetry (lisa_on_cuda)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="Poetry (lisa_on_cuda)" project-jdk-type="Python SDK" />
7
  </project>
.idea/snyk.project.settings.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="SnykProjectSettingsState">
4
+ <option name="additionalParameters" value="--command=/Users/trincuz/Library/Caches/pypoetry/virtualenvs/lisa-on-cuda-5S2HbGkr-py3.10/bin/python" />
5
+ </component>
6
+ </project>
lisa_on_cuda/llava/train/train.py CHANGED
@@ -138,7 +138,7 @@ def get_peft_state_maybe_zero_3(named_params, bias):
138
  lora_bias_names.add(bias_name)
139
  elif "bias" in k:
140
  maybe_lora_bias[k] = t
141
- for k, t in maybe_lora_bias:
142
  if bias_name in lora_bias_names:
143
  to_return[bias_name] = t
144
  else:
 
138
  lora_bias_names.add(bias_name)
139
  elif "bias" in k:
140
  maybe_lora_bias[k] = t
141
+ for k, t in maybe_lora_bias.items():
142
  if bias_name in lora_bias_names:
143
  to_return[bias_name] = t
144
  else: