Skip to content

Commit

Permalink
updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
matt200-ok committed Dec 20, 2024
1 parent ae8b093 commit 7078606
Show file tree
Hide file tree
Showing 26 changed files with 49 additions and 763 deletions.
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 copywasm && 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 copywasm && yarn build
working-directory: binding/web
# ************ REMOVE AFTER RELEASE ***************

- name: Install dependencies
run: yarn install
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.2'
PUBLISH_VERSION = '1.2.3'
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.2'
implementation 'ai.picovoice:picollm-android:1.2.3'

// Espresso UI Testing
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
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.2'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.3/binding/ios/picoLLM-iOS.podspec'
end

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

This file was deleted.

2 changes: 1 addition & 1 deletion binding/ios/PicoLLMDialog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public class Llama3ChatDialog: BasePicoLLMDialog {

/// Dialog helper for `llama-3.2-1b-instruct` and `llama-3.2-3b-instruct`.
public class Llama32ChatDialog: Llama3ChatDialog {

}

/// Dialog helper for `gemma-2b-it` and `gemma-7b-it`.
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.2'
s.version = '1.2.3'
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.2" }
s.source = { :git => "https://github.com/Picovoice/picollm.git", :tag => "picoLLM-iOS-v1.2.3" }
s.ios.deployment_target = '16.0'
s.swift_version = '5.0'
s.vendored_frameworks = 'lib/ios/PvPicoLLM.xcframework'
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.2",
"version": "1.2.3",
"description": "Picovoice picoLLM Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
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.2",
version="1.2.3",
author="Picovoice",
author_email="[email protected]",
description="picoLLM Inference Engine",
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.2",
"version": "1.2.3",
"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.2'
implementation 'ai.picovoice:picollm-android:1.2.3'
}
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.2'
implementation 'ai.picovoice:picollm-android:1.2.3'
}
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.2'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.3/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.2'
pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.3/binding/ios/picoLLM-iOS.podspec'
end
16 changes: 0 additions & 16 deletions demo/ios/Completion/Podfile.lock

This file was deleted.

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.2",
"version": "1.2.3",
"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.2",
"@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.

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.2
../../binding/python/dist/picollm-1.2.3-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.2",
version="1.2.3",
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.2"],
install_requires=["picollm==1.2.3"],
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.2",
"version": "1.2.3",
"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.2"
"@picovoice/picollm-web": "../../binding/web"
},
"devDependencies": {
"http-server": "^14.0.0"
Expand Down
Loading

0 comments on commit 7078606

Please sign in to comment.