Open xinyudong93 opened 1 month ago
Hi, thanks for raising an issue!
This is a question best placed in our forums. We try to reserve the github issues for feature requests and bug reports.
To get the best help I'd suggest sharing as much technical information as possible including all relevant error information e.g. full stack trace, observed memory utilization; and relevant technical information e.g. hardware being used.
To help debug if it's related to your setup or the model, you can try running with a small model and see if it's successful.
System Info
I'm using AWS sagemaker to implement a token classification model using phi3
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I got the OOM error message, when I try to import phi3-mini for token classification, even I use 1 sample per batch, it still exists.
tokenizer = AutoTokenizer.from_pretrained('microsoft/Phi-3-mini-4k-instruct',max_seq_length = 96)
Expected behavior
Can you help me to solve it or suggest what might be the problems.