Commit 86d634c3 authored by zhuwenwen's avatar zhuwenwen
Browse files

update utils.py

parent 112588c2
......@@ -30,7 +30,7 @@ def get_model_architecture(
os.environ['LLAMA_NN'] = '0'
else:
os.environ['LLAMA_NN'] = '1'
if architectures == ['BloomForCausalLM']:
if architectures == ['BloomForCausalLM'] or os.getenv('LM_NN') == '0':
os.environ['LM_NN'] = '0'
else:
os.environ['LM_NN'] = '1'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment