zetavg commited on
Commit
98f12d5
1 Parent(s): 8b0ae10

fix while imported with a different package name

Browse files
Files changed (1) hide show
  1. llama_lora/dynamic_import.py +1 -1
llama_lora/dynamic_import.py CHANGED
@@ -2,4 +2,4 @@ import importlib
2
 
3
 
4
  def dynamic_import(module):
5
- return importlib.import_module(module, package='llama_lora')
 
2
 
3
 
4
  def dynamic_import(module):
5
+ return importlib.import_module(module, package=__package__)