3131 - uses : actions/checkout@v4
3232 with :
3333 fetch-depth : 0 # Full history for build number
34+ submodules : recursive
3435
3536 - name : Install Metal Toolchain
3637 run : xcodebuild -downloadComponent MetalToolchain || true
@@ -64,31 +65,31 @@ jobs:
6465
6566 - name : Verify binary
6667 run : |
67- ls -lh .build/release/mlx-server
68- file .build/release/mlx-server
69- .build/release/mlx-server --help || true
68+ ls -lh .build/release/SwiftLM
69+ file .build/release/SwiftLM
70+ .build/release/SwiftLM --help || true
7071
7172 - name : Package binary
7273 run : |
7374 mkdir -p release
74- cp .build/release/mlx-server release/
75+ cp .build/release/SwiftLM release/
7576 cp LICENSE README.md release/
7677 cd release
77- tar -czvf ../mlx-server -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz .
78+ tar -czvf ../SwiftLM -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz .
7879
7980 - name : Upload artifact
8081 uses : actions/upload-artifact@v4
8182 with :
82- name : mlx-server -${{ steps.tag.outputs.name }}-macos-arm64
83- path : mlx-server -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz
83+ name : SwiftLM -${{ steps.tag.outputs.name }}-macos-arm64
84+ path : SwiftLM -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz
8485 retention-days : 90
8586
8687 - name : Prepare release notes
8788 id : notes
8889 run : |
8990 CHANGELOG=$(cat /tmp/changelog.txt)
9091 cat > /tmp/release_notes.md << 'RELEASE_EOF'
91- ## mlx-server ${{ steps.tag.outputs.full }}
92+ ## SwiftLM ${{ steps.tag.outputs.full }}
9293
9394 <details open>
9495
@@ -104,25 +105,25 @@ jobs:
104105
105106 ### Download
106107
107- - [macOS Apple Silicon (arm64)](https://github.com/SharpAI/mlx-server /releases/download/${{ steps.tag.outputs.name }}/mlx-server -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz)
108+ - [macOS Apple Silicon (arm64)](https://github.com/SharpAI/SwiftLM /releases/download/${{ steps.tag.outputs.name }}/SwiftLM -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz)
108109
109110 ### Quick Start
110111 ```bash
111- tar -xzf mlx-server -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz
112- ./mlx-server --model mlx-community/Qwen2.5-3B-Instruct-4bit --port 5413
112+ tar -xzf SwiftLM -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz
113+ ./SwiftLM --model mlx-community/Qwen2.5-3B-Instruct-4bit --port 5413
113114 ```
114115
115- > **Note:** Requires `mlx.metallib` next to the binary for GPU compute. See [README](https://github.com/SharpAI/mlx-server #metal-shader-library) for setup.
116+ > **Note:** Requires `mlx.metallib` next to the binary for GPU compute. See [README](https://github.com/SharpAI/SwiftLM #metal-shader-library) for setup.
116117 RELEASE_EOF
117118
118119 - name : Create release
119120 if : ${{ github.event_name == 'push' || github.event.inputs.create_release == 'true' }}
120121 uses : softprops/action-gh-release@v2
121122 with :
122123 tag_name : ${{ steps.tag.outputs.name }}
123- name : " mlx-server ${{ steps.tag.outputs.name }}"
124+ name : " SwiftLM ${{ steps.tag.outputs.name }}"
124125 body_path : /tmp/release_notes.md
125126 files : |
126- mlx-server -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz
127+ SwiftLM -${{ steps.tag.outputs.name }}-macos-arm64.tar.gz
127128 draft : false
128129 prerelease : false
0 commit comments