Repository files navigation
install torch environment
conda create -y --name torch3118 python=3.11.8
conda activate torch3118
install pip dependencies (on M1 Mac)
pip install -r requirements.txt
in shell download the model initially: python install.py
conda activate torch3118
python app.py
in a webbrowser call: http://localhost:5001
install manually (optional)
conda install pytorch torchvision torchaudio -c pytorch-nightly
pip install Flask==2.0.3
pip install Flask-WTF==0.15.1
pip install Werkzeug==2.0.3
pip install "sympy==1.13.1,<1.13.3"
pip install --upgrade --quiet huggingface_hub
pip install mlx==0.17.3
pip install mlx-lm==0.18.2
pip install transformers==4.44.2
pip install langchain-community==0.0.34
pip install langchain-core==0.1.46
pip install langchain-text-splitters==0.0.1
load dependencies into environment (all there is to do)
pip install -r requirements.txt
save dependencies, already saved
pip freeze > requirements.txt
About
llm llama 3 mlx pipeline run as flask server
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.