Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Curio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jim Wallace
Curio
Commits
d42a052d
Commit
d42a052d
authored
1 year ago
by
Abhinav Jain
Browse files
Options
Downloads
Patches
Plain Diff
cleanup ci script
parent
fd1d3c06
No related branches found
No related tags found
1 merge request
!15
Add interface for using generic CoreML LLMs
Pipeline
#116077
failed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-14
15 additions, 14 deletions
.gitlab-ci.yml
with
15 additions
and
14 deletions
.gitlab-ci.yml
+
15
−
14
View file @
d42a052d
...
...
@@ -6,9 +6,7 @@ stages:
# - archive
# - deploy
build-macOS
:
stage
:
build
.compile_models
:
&compile_models
script
:
-
xcrun coremlcompiler compile Sources/SwiftNLP/Resources/all-MiniLM-L6-v2.mlpackage/ Sources/SwiftNLP/Models
-
xcrun coremlcompiler generate Sources/SwiftNLP/Resources/all-MiniLM-L6-v2.mlpackage/ --language Swift Sources/SwiftNLP/Resources
...
...
@@ -16,6 +14,12 @@ build-macOS:
-
xcrun coremlcompiler compile Sources/SwiftNLP/Resources/float32_model.mlpackage/ Sources/SwiftNLP/Models
-
xcrun coremlcompiler generate Sources/SwiftNLP/Resources/float32_model.mlpackage/ --language Swift Sources/SwiftNLP/Resources
-
mv Sources/SwiftNLP/Resources/float32_model.swift Sources/SwiftNLP/2.\ Encoding
build-macOS
:
stage
:
build
script
:
-
*compile_models
-
swift build
tags
:
...
...
@@ -23,25 +27,20 @@ build-macOS:
test-macOS
:
stage
:
test
script
:
-
xcrun coremlcompiler compile Sources/SwiftNLP/Resources/all-MiniLM-L6-v2.mlpackage/ Sources/SwiftNLP/Models
-
xcrun coremlcompiler generate Sources/SwiftNLP/Resources/all-MiniLM-L6-v2.mlpackage/ --language Swift Sources/SwiftNLP/Resources
-
mv Sources/SwiftNLP/Resources/all-MiniLM-L6-v2.swift Sources/SwiftNLP/2.\ Encoding
-
xcrun coremlcompiler compile Sources/SwiftNLP/Resources/float32_model.mlpackage/ Sources/SwiftNLP/Models
-
xcrun coremlcompiler generate Sources/SwiftNLP/Resources/float32_model.mlpackage/ --language Swift Sources/SwiftNLP/Resources
-
mv Sources/SwiftNLP/Resources/float32_model.swift Sources/SwiftNLP/2.\ Encoding
-
swift test -c release -Xswiftc -enable-testing
# - swift test --sanitize=address -c release -Xswiftc -enable-testing
# - swift test --sanitize=thread -c release -Xswiftc -enable-testing
-
*compile_models
-
swift test -c release -Xswiftc -enable-testing
tags
:
-
macOS
build-linux
:
stage
:
build
script
:
-
swiftly install latest
-
*compile_models
-
swift build -c release -Xswiftc -cross-module-optimization
tags
:
-
linux
...
...
@@ -50,8 +49,10 @@ build-linux:
test-linux
:
stage
:
test
script
:
-
swift test -c release -Xswiftc -enable-testing
-
*compile_models
-
swift test -c release -Xswiftc -enable-testing
# - swift test --sanitize=address -c release -Xswiftc -enable-testing
# - swift test --sanitize=thread -c release -Xswiftc -enable-testing
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment