From f39560f056732ae29159c43e8ac54e9584af200c Mon Sep 17 00:00:00 2001 From: amitraj Date: Thu, 25 Jul 2024 08:46:36 +0000 Subject: [PATCH] bug fix Signed-off-by: amitraj --- .github/quic-organization-repolinter.yml | 1 - .../exporter/export_hf_to_cloud_ai_100.py | 2 +- make.bat | 35 ------------------- setup.py | 17 --------- 4 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 make.bat delete mode 100644 setup.py diff --git a/.github/quic-organization-repolinter.yml b/.github/quic-organization-repolinter.yml index 30ab9a066..55f2f0620 100644 --- a/.github/quic-organization-repolinter.yml +++ b/.github/quic-organization-repolinter.yml @@ -27,4 +27,3 @@ jobs: uses: todogroup/repolinter-action@v1 with: config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json" - \ No newline at end of file diff --git a/QEfficient/exporter/export_hf_to_cloud_ai_100.py b/QEfficient/exporter/export_hf_to_cloud_ai_100.py index 959e09989..2c6f4c52e 100644 --- a/QEfficient/exporter/export_hf_to_cloud_ai_100.py +++ b/QEfficient/exporter/export_hf_to_cloud_ai_100.py @@ -449,7 +449,7 @@ def qualcomm_efficient_converter( if model_kv else QEFFCommonLoader.from_pretrained( pretrained_model_name_or_path=(local_model_dir if local_model_dir else model_name), - hf_token=hf_token, + token=hf_token, cache_dir=cache_dir, ) ) diff --git a/make.bat b/make.bat deleted file mode 100644 index 747ffb7b3..000000000 --- a/make.bat +++ /dev/null @@ -1,35 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=source -set BUILDDIR=build - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.https://www.sphinx-doc.org/ - exit /b 1 -) - -if "%1" == "" goto help - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% - -:end -popd diff --git a/setup.py b/setup.py deleted file mode 100644 index b3ec56956..000000000 --- a/setup.py +++ /dev/null @@ -1,17 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. -# SPDX-License-Identifier: BSD-3-Clause -# -# ----------------------------------------------------------------------------- - -import re - -from setuptools import setup - -# Ensure we match the version set in QEfficient/__init__.py -filepath = "QEfficient/__init__.py" -with open(filepath) as version_file: - (version,) = re.findall('__version__ = "(.*)"', version_file.read()) - -setup(version=version)