From f7d67778a0a7a219d7e46848e2e3943e777a2ec7 Mon Sep 17 00:00:00 2001 From: Yee Kit Date: Fri, 26 Jan 2024 17:26:18 +0800 Subject: [PATCH] Fixed torch dependencies --- backend/pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/pyproject.toml b/backend/pyproject.toml index dcf3e5d..9ad587a 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -19,13 +19,11 @@ transformers = "^4.35.2" torch = [ { url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" }, { url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" }, - { url = "https://download.pytorch.org/whl/cpu/torch-2.1.1-cp311-none-macosx_11_0_arm64.whl", markers = "sys_platform == 'darwin'" }, ] ## For GPU version: Windows and Linux and MacOS (arm64) # torch = [ # { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" }, # { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" }, -# { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1-cp311-none-macosx_11_0_arm64.whl", markers = "sys_platform == 'darwin'" }, # ] docx2txt = "^0.8"