kartikmosaicml commited on
Commit
8d77aba
·
1 Parent(s): 530078e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -86,7 +86,7 @@ import transformers
86
  name = 'mosaicml/mpt-30b'
87
 
88
  config = transformers.AutoConfig.from_pretrained(name, trust_remote_code=True)
89
- config.attn_config['attn_impl'] = 'torch # change this to use triton
90
  config.init_device = 'cpu' # For fast initialization directly on GPU if you have enough memory
91
 
92
  model = transformers.AutoModelForCausalLM.from_pretrained(
 
86
  name = 'mosaicml/mpt-30b'
87
 
88
  config = transformers.AutoConfig.from_pretrained(name, trust_remote_code=True)
89
+ config.attn_config['attn_impl'] = 'torch' # change this to use triton
90
  config.init_device = 'cpu' # For fast initialization directly on GPU if you have enough memory
91
 
92
  model = transformers.AutoModelForCausalLM.from_pretrained(