mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	common: Include torch package for s390x (#13699)
* common: update requirements.txt to include pytorch nightly for s390x Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * common: fix torch installation via pip for s390x Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> --------- Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
		| @@ -1,3 +1,7 @@ | ||||
| -r ./requirements-convert_legacy_llama.txt | ||||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||||
| torch~=2.2.1 | ||||
| torch~=2.2.1; platform_machine != "s390x" | ||||
|  | ||||
| # torch s390x packages can only be found from nightly builds | ||||
| --extra-index-url https://download.pytorch.org/whl/nightly | ||||
| torch>=0.0.0.dev0; platform_machine == "s390x" | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| -r ./requirements-convert_legacy_llama.txt | ||||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||||
| torch~=2.2.1 | ||||
| torch~=2.2.1; platform_machine != "s390x" | ||||
|  | ||||
| # torch s390x packages can only be found from nightly builds | ||||
| --extra-index-url https://download.pytorch.org/whl/nightly | ||||
| torch>=0.0.0.dev0; platform_machine == "s390x" | ||||
|   | ||||
| @@ -1,2 +1,4 @@ | ||||
| -r ./requirements-convert_hf_to_gguf.txt | ||||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||||
| # torch s390x packages can only be found from nightly builds | ||||
| --extra-index-url https://download.pytorch.org/whl/nightly | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aaron Teo
					Aaron Teo