Running AI Script on Azure VM

Dilosen 0 Reputation points
2024-01-05T09:33:38.4066667+00:00

Hi All

I am new to Azure and would like to run a phyton script using Diablo-GPT, call it app.py - In the script I have defined some endpoints for frontend interaction.

I am having an issue with deploying said script, let alone the requirements.txt

I have tried multiple versions of torch, but it seems that its not deploying. I am not sure what to do, i have searched fourms, asked GPTs etc. but seem to be returning to the same point: unable to install torch

Here is the error I recieve from Github regarding the deployment:

Run pip install -r requirements.txt
Collecting flask (from -r requirements.txt (line 1))
  Downloading flask-3.0.0-py3-none-any.whl.metadata (3.6 kB)
Collecting transformers (from -r requirements.txt (line 2))
  Downloading transformers-4.36.2-py3-none-any.whl.metadata (126 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.8/126.8 kB 2.5 MB/s eta 0:00:00
Collecting numpy (from -r requirements.txt (line 3))
  Downloading numpy-1.26.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 8.1 MB/s eta 0:00:00
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement torch==3.8.1 (from versions: none)
ERROR: No matching distribution found for torch==3.8.1
Error: Process completed with exit code 1.
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,646 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.