Horace Ho

Results 31 comments of Horace Ho

@ChinChangYang Benchmark of `multi-coreml-backend` on M2: ``` % ./katago benchmark -config ../configs/misc/coreml_example.cfg -model /opt/homebrew/Cellar/katago/1.11.0/share/katago/g170-b40c256x2-s5095420928-d1229425124.bin.gz 2022-09-05 14:18:03+0800: Running with following config: allowResignation = true coremlDeviceToUseThread0 = 0 coremlDeviceToUseThread1 = 1 lagBuffer...

@ChinChangYang Congratulations on the great work on CoreML! Any chance you also publish the documentation of how to build and run the project within Xcode? I am thinking of porting...

By default SwiftKey loads with the extra height.

```bash ls -al ~/Library/Application\ Support/Sequel\ Pro/Data/ ```

Here is an example to illustrate how `dismissActiveNotification` does not work: ``` - (void)saveToAlbum { [TSMessage showNotificationWithTitle:NSLocalizedString(@"Saving...", nil) subtitle:self.displayName type:TSMessageNotificationTypeMessage]; ALAssetsLibrary* library = [[ALAssetsLibrary alloc] init]; [library writeVideoAtPathToSavedPhotosAlbum:[NSURL fileURLWithPath:self.name] completionBlock:^(NSURL...

Try switch the compiler to `llvm`: ``` brew install llvm libomp find /opt/homebrew/ -name clang export CC=/opt/homebrew//Cellar/llvm/17.0.6_1/bin/clang ``` and then ``` pip install insightface==0.7.3 ```

Benchmark result of my Apple M1 MacBook Air (2020) macOS Ventura 13.0.1: ``` ./katago benchmark -model kata1-b40c256-s11840935168-d2898845681.bin.gz -config ../../../../../../configs/misc/coreml_example.cfg 2022-11-27 12:14:44+0800: Running with following config: allowResignation = true coremlDeviceToUseThread0 =...

Apple M2 MacBook Air (2022) macOS Ventura 13.0.1: ``` ./katago benchmark -model kata1-b40c256-s11840935168-d2898845681.bin.gz -config ../../../../../../configs/misc/coreml_example.cfg 2022-11-29 12:24:09+0800: Running with following config: allowResignation = true coremlDeviceToUseThread0 = 0 coremlDeviceToUseThread1 = 100...

Just FYI, `json_object` is not supported for `gtp-4` model anyway: > Error code: 400 - {'error': {'message': "Invalid parameter: 'response_format' of type 'json_object' is not supported with this model.", 'type':...

For `gtp-4` model, the following prompt produces a JSON output: ``` response = client.chat.completions.create( messages = [ { "role": "user", "content": "What are the first five letters in English? Answer...