Cached model files can't be referred in docker container on AWS Lambda
### System Info


{
  "errorMessage": "Can't load tokenizer for 'model_name'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'model_name' is the correct path to a directory containing all relevant files for a BlenderbotTokenizer tokenizer.",
  "errorType": "OSError",
  "requestId": "",
  "stackTrace": [
    "  File \"/var/lang/lib/python3.9/importlib/__init__.py\", line 127, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n",
    "  File \"<frozen importlib._bootstrap>\", line 1030, in _gcd_import\n",
    "  File \"<frozen importlib._bootstrap>\", line 1007, in _find_and_load\n",
    "  File \"<frozen importlib._bootstrap>\", line 986, in _find_and_load_unlocked\n",
    "  File \"<frozen importlib._bootstrap>\", line 680, in _load_unlocked\n",
    "  File \"<frozen importlib._bootstrap_external>\", line 850, in exec_module\n",
    "  File \"<frozen importlib._bootstrap>\", line 228, in _call_with_frames_removed\n",
    "  File \"/var/task/app.py\", line 22, in <module>\n    tokenizer = BlenderbotTokenizer.from_pretrained(MODEL_NM,local_files_only=True)\n",
    "  File \"/var/task/transformers/tokenization_utils_base.py\", line 1761, in from_pretrained\n    raise EnvironmentError(\n"
  ]
}



### Who can help?

_No response_

### Information

- [ ] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

I am pretty sure cached model files are included in my image and TRANSFORMERS_CACHE is also set properly when building the image.
I can see that my model files exist in container through log output:
```
models--xxxxxxx : ['blobs', 'refs', 'snapshots']
TRANSFORMERS_CACHE = ./parent_dir_for_model/
```

Code is simply like this, and it works well on my local python 3.10 environment (can automatically go for the path defined in `TRANSFORMERS_CACHE` without trying to download) .

```
tokenizer = BlenderbotTokenizer.from_pretrained(path,local_files_only=True)
model = BlenderbotForConditionalGeneration.from_pretrained(path,local_files_only=True)
```

My version of transformers is 4.24.
I suspect something wrong about the compatibility with Lambda python3.9 runtime?

### Expected behavior

Cached model files should be loaded properly based on the path defined by `TRANSFORMERS_CACHE` .