mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	Merge branch 'master' into compilade/refactor-kv-cache
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| .PHONY: build | ||||
|  | ||||
| build: | ||||
| 	xcodebuild -scheme batched_swift -destination "generic/platform=macOS" -derivedDataPath build | ||||
| 	rm -f ./batched_swift | ||||
| 	ln -s ./build/Build/Products/Debug/batched_swift ./batched_swift | ||||
| 	xcodebuild -scheme llama-batched-swift -destination "generic/platform=macOS" -derivedDataPath build | ||||
| 	rm -f ./llama-batched-swift | ||||
| 	ln -s ./build/Build/Products/Debug/llama-batched-swift ./llama-batched-swift | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
| import PackageDescription | ||||
|  | ||||
| let package = Package( | ||||
|     name: "batched_swift", | ||||
|     name: "llama-batched-swift", | ||||
|     platforms: [.macOS(.v12)], | ||||
|     dependencies: [ | ||||
|         .package(name: "llama", path: "../../"), | ||||
| @@ -13,7 +13,7 @@ let package = Package( | ||||
|         // Targets are the basic building blocks of a package, defining a module or a test suite. | ||||
|         // Targets can depend on other targets in this package and products from dependencies. | ||||
|         .executableTarget( | ||||
|             name: "batched_swift", | ||||
|             name: "llama-batched-swift", | ||||
|             dependencies: ["llama"], | ||||
|             path: "Sources", | ||||
|             linkerSettings: [.linkedFramework("Foundation"), .linkedFramework("AppKit")] | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| This is a swift clone of `examples/batched`. | ||||
|  | ||||
| $ `make` | ||||
| $ `./batched_swift MODEL_PATH [PROMPT] [PARALLEL]` | ||||
| $ `./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Francis Couture-Harpin
					Francis Couture-Harpin