Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.2.2 #74

Merged
merged 13 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# ************ REMOVE AFTER RELEASE ***************
- name: build local binding
run: yarn install && yarn build
working-directory: binding/nodejs
# ************ REMOVE AFTER RELEASE ***************

- name: Install dependencies
run: yarn install

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
.venv\Scripts\activate
echo PATH=$PATH >> $GITHUB_ENV

# ************ REMOVE AFTER RELEASE ***************
- name: build local binding
run: |
python3 -m pip install setuptools wheel
python3 -m setup sdist bdist_wheel
working-directory: binding/python
# ************ REMOVE AFTER RELEASE ***************

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/web-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************ REMOVE AFTER RELEASE ***************
- name: build local binding
run: yarn install && yarn build
working-directory: binding/web
# ************ REMOVE AFTER RELEASE ***************

- name: Install dependencies
run: yarn install

Expand All @@ -43,5 +49,11 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************ REMOVE AFTER RELEASE ***************
- name: build local binding
run: yarn install && yarn build
working-directory: binding/web
# ************ REMOVE AFTER RELEASE ***************

- name: Install dependencies
run: yarn install
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
2 changes: 1 addition & 1 deletion binding/android/PicoLLM/picollm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

ext {
PUBLISH_GROUP_ID = 'ai.picovoice'
PUBLISH_VERSION = '1.2.0'
PUBLISH_VERSION = '1.2.2'
PUBLISH_ARTIFACT_ID = 'picollm-android'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.code.gson:gson:2.10'

implementation 'ai.picovoice:picollm-android:1.2.0'
implementation 'ai.picovoice:picollm-android:1.2.2'

// Espresso UI Testing
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand Down
3 changes: 3 additions & 0 deletions binding/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
4 changes: 2 additions & 2 deletions binding/ios/PicoLLMAppTest/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ source 'https://cdn.cocoapods.org/'
platform :ios, '16.0'

target 'PicoLLMAppTest' do
pod 'picoLLM-iOS', '~> 1.2.0'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec'
end

target 'PicoLLMAppTestUITests' do
pod 'picoLLM-iOS', '~> 1.2.0'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec'
end
16 changes: 0 additions & 16 deletions binding/ios/PicoLLMAppTest/Podfile.lock

This file was deleted.

3 changes: 3 additions & 0 deletions binding/ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
4 changes: 2 additions & 2 deletions binding/ios/picoLLM-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'picoLLM-iOS'
s.module_name = 'PicoLLM'
s.version = '1.2.0'
s.version = '1.2.2'
s.license = {:type => 'Apache 2.0'}
s.summary = 'picoLLM Inference Engine'
s.description =
Expand All @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
DESC
s.homepage = 'https://github.com/Picovoice/picollm/tree/master/binding/ios'
s.author = { 'Picovoice' => '[email protected]' }
s.source = { :git => "https://github.com/Picovoice/picollm.git", :tag => "picoLLM-iOS-v1.2.0" }
s.source = { :git => "https://github.com/Picovoice/picollm.git", :tag => "picoLLM-iOS-v1.2.2" }
s.ios.deployment_target = '16.0'
s.swift_version = '5.0'
s.vendored_frameworks = 'lib/ios/PvPicoLLM.xcframework'
Expand Down
3 changes: 3 additions & 0 deletions binding/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
2 changes: 1 addition & 1 deletion binding/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/picollm-node",
"version": "1.2.1",
"version": "1.2.2",
"description": "Picovoice picoLLM Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions binding/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
2 changes: 1 addition & 1 deletion binding/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

setuptools.setup(
name="picollm",
version="1.2.1",
version="1.2.2",
author="Picovoice",
author_email="[email protected]",
description="picoLLM Inference Engine",
Expand Down
3 changes: 3 additions & 0 deletions binding/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ picoLLM Inference Engine on Web supports the following open-weight models. The m
- Llama-3
- `llama-3-8b`
- `llama-3-8b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
2 changes: 1 addition & 1 deletion binding/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "picoLLM Inference Engine is a highly accurate and cross-platform SDK optimized for running compressed large language models.",
"author": "Picovoice Inc",
"license": "Apache-2.0",
"version": "1.2.0",
"version": "1.2.2",
"keywords": [
"web",
"ai",
Expand Down
2 changes: 1 addition & 1 deletion demo/android/Chat/picollm-chat-demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ dependencies {
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'

implementation 'ai.picovoice:picollm-android:1.2.0'
implementation 'ai.picovoice:picollm-android:1.2.2'
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'com.google.code.gson:gson:2.8.9'

implementation 'ai.picovoice:picollm-android:1.2.0'
implementation 'ai.picovoice:picollm-android:1.2.2'
}
3 changes: 3 additions & 0 deletions demo/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
3 changes: 3 additions & 0 deletions demo/c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
2 changes: 1 addition & 1 deletion demo/ios/Chat/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/'
platform :ios, '16.0'

target 'PicoLLMChatDemo' do
pod 'picoLLM-iOS', '~> 1.2.0'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec'
end
16 changes: 0 additions & 16 deletions demo/ios/Chat/Podfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion demo/ios/Completion/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/'
platform :ios, '16.0'

target 'PicoLLMCompletionDemo' do
pod 'picoLLM-iOS', '~> 1.2.0'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec'
end
16 changes: 0 additions & 16 deletions demo/ios/Completion/Podfile.lock

This file was deleted.

3 changes: 3 additions & 0 deletions demo/ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
3 changes: 3 additions & 0 deletions demo/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
4 changes: 2 additions & 2 deletions demo/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/picollm-node-demo",
"version": "1.2.1",
"version": "1.2.2",
"description": "Picovoice PicoLLM Node.js chat and completion demos",
"scripts": {
"chat": "node chat.js",
Expand All @@ -19,7 +19,7 @@
"author": "Picovoice Inc.",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/picollm-node": "~1.2.1",
"@picovoice/picollm-node": "../../binding/nodejs",
"commander": "^6.1.0",
"prettier": "^2.6.2"
},
Expand Down
18 changes: 0 additions & 18 deletions demo/nodejs/yarn.lock

This file was deleted.

3 changes: 3 additions & 0 deletions demo/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ picoLLM Inference Engine supports the following open-weight models. The models a
- `llama-3-8b-instruct`
- `llama-3-70b`
- `llama-3-70b-instruct`
- Llama-3.2
- `llama3.2-1b-instruct`
- `llama3.2-3b-instruct`
- Mistral
- `mistral-7b-v0.1`
- `mistral-7b-instruct-v0.1`
Expand Down
2 changes: 1 addition & 1 deletion demo/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
picollm==1.2.1
../../binding/python/dist/picollm-1.2.2-py3-none-any.whl
4 changes: 2 additions & 2 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@

setuptools.setup(
name="picollmdemo",
version="1.2.1",
version="1.2.2",
author="Picovoice",
author_email="[email protected]",
description="picoLLM Inference Engine demos",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/picollm",
packages=["picollmdemo"],
install_requires=["picollm==1.2.1"],
install_requires=["picollm==1.2.2"],
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
4 changes: 2 additions & 2 deletions demo/web/chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "picollm-web-chat-demo",
"version": "1.2.0",
"version": "1.2.2",
"description": "A demo to show how to create a picoLLM inference engine on a web worker and have a back-and-forth conversation with the LLM, similar to ChatGPT.",
"main": "index.js",
"private": true,
Expand All @@ -16,7 +16,7 @@
"author": "Picovoice Inc",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/picollm-web": "~1.2.0"
"@picovoice/picollm-web": "../../binding/web"
},
"devDependencies": {
"http-server": "^14.0.0"
Expand Down
Loading
Loading