def test_init_hfhub_codellama_cpu(
    tiny_codellama_model: PreTrainedModel,
    tiny_llama_tokenizer: PreTrainedTokenizerBase,
    tmp_path: Path,
):
    """CPU-only version of the test for convenience."""
    test_init_hfhub_codellama(
        device='cpu',
        attn_impl='torch',
        tiny_llama_tokenizer=tiny_llama_tokenizer,
        tiny_codellama_model=tiny_codellama_model,
        tmp_path=tmp_path,
    )
CPU-only version of the test for convenience.
tests/models/hf/test_hf_codellama_gen.py