some cleanup and for job specific names for circleci

This commit is contained in:
Richard Guo 2023-05-10 16:40:24 -04:00
parent 23e748d1c2
commit 0534ab59ec
3 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ orbs:
python: circleci/python@1.2
jobs:
build-linux:
build-py-linux:
docker:
- image: circleci/python:3.8
steps:
@ -35,7 +35,7 @@ jobs:
paths:
- "*.whl"
build-macos:
build-py-macos:
macos:
xcode: "14.2.0"
resource_class: macos.m1.large.gen1
@ -66,7 +66,7 @@ jobs:
paths:
- "*.whl"
build-windows:
build-py-windows:
executor:
name: win/default
steps:
@ -132,13 +132,13 @@ jobs:
workflows:
version: 2
build-deploy:
build-py-deploy:
jobs:
- build-linux
- build-macos
- build-windows
- build-py-linux
- build-py-macos
- build-py-windows
- store-and-upload-wheels:
requires:
- build-windows
- build-linux
- build-macos
- build-py-windows
- build-py-linux
- build-py-macos

View File

@ -114,6 +114,7 @@ class GPT4All():
@staticmethod
def download_model(model_filename, model_path):
# TODO: Find good way of safely removing file that got interrupted.
def get_download_url(model_filename):
return f"https://gpt4all.io/models/{model_filename}"

View File

@ -41,4 +41,3 @@ def prompt_unloaded_llama():
response = response.strip()
assert response == "LLAMA ERROR: prompt won't work with an unloaded model!"