"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "3ca18d6d09ee0d1610a400ead6f6041394f66421"
Unverified Commit c69ea5ef authored by Sam Shleifer's avatar Sam Shleifer Committed by GitHub
Browse files

[CI] Don't test apex (#6021)

parent a884b7fa
......@@ -55,9 +55,8 @@ def test_train_mbart_cc25_enro_script():
if CUDA_AVAILABLE:
gpus = 1 # torch.cuda.device_count()
else:
bash_script = bash_script.replace("--fp16", "")
gpus = 0
bash_script = bash_script.replace("--fp16", "")
testargs = (
["finetune.py"]
+ bash_script.split()
......
......@@ -43,7 +43,7 @@ CHEAP_ARGS = {
"student_decoder_layers": 1,
"val_check_interval": 1.0,
"output_dir": "",
"fp16": CUDA_AVAILABLE,
"fp16": False, # TODO(SS): set this to CUDA_AVAILABLE if ci installs apex or start using native amp
"no_teacher": False,
"fp16_opt_level": "O1",
"gpus": 1 if CUDA_AVAILABLE else 0,
......
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