aws / aws/amazon-sagemaker-examples
[Bug Report] All fine tunes for Mistral 7b using sagemaker jumpstart are currently failing.
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
All fine tunes for Mistral 7b using sagemaker jumpstart are currently failing with:
"ImportError: cannot import name 'insecure_hashlib' from 'huggingface_hub.utils' (/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/init.py)"
After changing nothing on my end fine tuning started to fail after many previous successful fine tunes.
**To reproduce**
Try to fine tune any model using the guides here:
https://aws.amazon.com/blogs/machine-learning/fine-tune-and-deploy-mistral-7b-with-amazon-sagemaker-jumpstart/
Contributor guide
Research direction
Start with the linked AWS fine-tuning guide and the traceback path huggingface_hub/utils/init.py; reproduce a Mistral 7B fine-tune in SageMaker JumpStart and inspect the installed package versions. Done means the fine-tune completes without the reported ImportError and the verified dependency or environment resolution is recorded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, huggingface, jupyter-notebook, python
- Domain
- cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100