Not able to install pytorch/torch on mac M2 Air

pip install torch ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch

my python and pip version are as follows: Python 3.12.0 pip 23.3.2

Looking for help to solve this issue. I am using venv on vs code, also working on llm models and need to use it.

At first i tried installing requirements.txt using pip installl -r requirements.txt It contains the following:

pypdf langchain torch accelerate bitsandbytes transformers sentence_transformer faiss_cpu chainlit huggingface_hub

It is throwing error