# Transformer Version train vs. Sagemaker

**URL:** <https://discuss.huggingface.co/t/transformer-version-train-vs-sagemaker/9979>\
**Category:** Amazon SageMaker\
**Created:** [September 14, 2021, 12:38pm UTC](https://discuss.huggingface.co/t/transformer-version-train-vs-sagemaker/9979 "2021-09-14T12:38:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marlon89](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@marlon89](https://discuss.huggingface.co/u/marlon89)\
**Post date:** [September 14, 2021, 12:38pm UTC](https://discuss.huggingface.co/t/transformer-version-train-vs-sagemaker/9979/1 "2021-09-14T12:38:12Z")

</div>

Hello everyone,

I fine tuned a pretrained Bert model locally using Tranformers Version 4.9.1. Anyways Sagemaker just allows versions til 4.6 Can this cause problems when I want to deploy my model on Sagemaker?

---

<div class="post-metadata">

**Author:** ![philschmid](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/philschmid/32/38022_2.png) [@philschmid](https://discuss.huggingface.co/u/philschmid)\
**Post date:** [September 14, 2021, 12:54pm UTC](https://discuss.huggingface.co/t/transformer-version-train-vs-sagemaker/9979/2 "2021-09-14T12:54:06Z")

</div>

Hello @marlon89,

No, your transformers `4.9.1` trained BERT should be compatible with SageMaker and `4.6.1`.
