class_docstr: Test memory efficient FP16 implementation.
class_docstr_tok: ["Test","memory","efficient","FP16","implementation","."]
code: def test_unsupported(self):
      with self.assertRaises(RuntimeError):
          # SGD unsupported currently
          testing_utils.train_model(
              dict(
                  task="integration_tests:candidate",
                  model="transformer/ranker",
                  optimizer="sgd",
                  fp16=True,
                  fp16_impl="mem_efficient",
              )
          )
  
file_path: ParlAI/tests/test_mem_efficient_fp16.py
imports: import os
  import unittest
  import parlai.utils.testing
label_desc: Use image node_id 2 for calling the TestMemEfficientFP16 obj's underlying member method code with example usage: obj.test_unsupported() without return types