Update config for T4 Ampere devices
Browse filesAdd conditionnal or advice to change for those support flash 2
- config.json +2 -2
config.json
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
"architectures": [
|
18 |
"InternLM2ForCausalLM"
|
19 |
],
|
20 |
-
"attn_implementation": "
|
21 |
"auto_map": {
|
22 |
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
23 |
"AutoModel": "modeling_internlm2.InternLM2ForCausalLM",
|
@@ -139,6 +139,6 @@
|
|
139 |
"torch_dtype": "bfloat16",
|
140 |
"transformers_version": "4.37.2",
|
141 |
"use_bfloat16": true,
|
142 |
-
"use_flash_attn":
|
143 |
}
|
144 |
}
|
|
|
17 |
"architectures": [
|
18 |
"InternLM2ForCausalLM"
|
19 |
],
|
20 |
+
"attn_implementation": "default",
|
21 |
"auto_map": {
|
22 |
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
23 |
"AutoModel": "modeling_internlm2.InternLM2ForCausalLM",
|
|
|
139 |
"torch_dtype": "bfloat16",
|
140 |
"transformers_version": "4.37.2",
|
141 |
"use_bfloat16": true,
|
142 |
+
"use_flash_attn": false
|
143 |
}
|
144 |
}
|