Working on using Phi-3 with PyTorch in multiple environments
Local: MacBook Pro 16-inch 2023 w/ M2 Pro & 32 GB RAM (Typical Footprint: ~16 GB in RAM)
Remote: Adroit (Typical Footprint: ~9 GB in GPU)
You'll have to update *_PHI_PATH to match wherever you've downloaded Phi-3
I'm using an Anaconda environment with:
- python==3.11
- torch==2.2.1 (-c pytorch -c nvidia)
- transformers==4.40 (pip)
When using GPU:
- accelerate==0.29.3 (pip)
- flash-attn==2.5.8 (pip)