Open shadowcz007 opened 1 year ago
@shadowcz007 I am seeing same error. how did you resolve it?
Could you give the whole call stack?
I was able to help @Regmas2 resolve the issue by creating a new conda venv, followed by:
pip install torch==1.13.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117 pip install --upgrade Pillow pip install -e .
Afterwards everything worked.
I resolved my issue with a reinstalling torch with cuda support same as above!
I checked out the index you provided but 1.13.1+cu117 is not in the list
(flexgen) C:\Users\35934>pip install torch==1.13.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117 Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117 ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: 2.0.0, 2.0.0+cu117, 2.0.1, 2.0.1+cu117) ERROR: No matching distribution found for torch==1.13.1+cu117
[notice] A new release of pip available: 22.3.1 -> 23.1.2 [notice] To update, run: C:\Users\35934\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmp06xly_hd prepare_metadata_for_build_wheel /tmp/tmpozbnb1uw Check the logs for full command output. (gh_FlexGen) r730ub20@r730ub20-M0:~/llm_dev/FlexGen$
pip install -e . always failed!!!
Hey, I am still getting the same error. I have tried installing different Torch versions with CUDA, but I have been unlucky. Could someone please recommend some other solutions?
AttributeError: 'OptLM' object has no attribute 'weight_home'