| Constant | Integer value | Description |
|---|---|---|
SIGHUP |
1 | Controlling terminal closed or parent process exited |
SIGINT |
2 | User interrupt, commonly Ctrl+C |
SIGQUIT |
3 | Terminate, typically with a core dump |
SIGILL |
4 | Illegal instruction |
SIGTRAP |
5 | Trace/breakpoint trap |
SIGABRT |
6 | Abort |
SIGIOT |
6 | Alias for SIGABRT |
SIGBUS |
7 | Bus error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const beautify_json = (obj) => { | |
| return JSON.stringify(obj, null, 2) | |
| .replace(/\r+/gms, "") | |
| .replace(/,\n /gms, "\n ,") | |
| .replace(/ *(,( +))/gms, "$2,") | |
| .replace(/\n/gms, "\r\n"); | |
| }; | |
| const beautify_json_aligned_no_stringify = (obj, indent = 0) => { | |
| const indent_str = " ".repeat(indent); |
- npm install -g @opencode/cli@latest --allow-scripts=@opencode/cli
(or
npm install -g @opencode/cli@latestfollowed bynpm config set allow-scripts=@opencode/cli --location=user)
C:\Users\Elad>opencode pair
Open a link to connect. Links work once and expire in 5 minutes.
http://127.0.0.1:12345/auth/connect/abcdefghijklmnop
note: my example will be using Windows installation, but general tips are still useful across-OS.
- open text-editor as admin, and edit your
HOSTSfile, adding:
#--- rustdesk. block relay-server to force rustdesk to only use direct IP.
0.0.0.0 rustdesk.com
0.0.0.0 www.rustdesk.com
0.0.0.0 rs-ny.rustdesk.com
0.0.0.0 rs-sg.rustdesk.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OS | Architecture | Channel | Build_Type | Extension | Filename_No_Extension | Filename_With_Extension | URL | |
|---|---|---|---|---|---|---|---|---|
| android | arm64 | latest | cromite | apk | arm64_ChromePublic | arm64_ChromePublic.apk | https://github.com/uazo/cromite/releases/latest/download/arm64_ChromePublic.apk | |
| android | arm64 | latest | cromite | apk | arm64_SystemWebView | arm64_SystemWebView.apk | https://github.com/uazo/cromite/releases/latest/download/arm64_SystemWebView.apk | |
| android | arm64 | latest | cromite | apk | arm64_SystemWebViewShell | arm64_SystemWebViewShell.apk | https://github.com/uazo/cromite/releases/latest/download/arm64_SystemWebViewShell.apk | |
| android | arm7 | latest | cromite | apk | arm_ChromePublic | arm_ChromePublic.apk | https://github.com/uazo/cromite/releases/latest/download/arm_ChromePublic.apk | |
| android | x64 | latest | cromite | apk | x64_ChromePublic | x64_ChromePublic.apk | https://github.com/uazo/cromite/releases/latest/download/x64_ChromePublic.apk | |
| linux | amd64 | stable | consumer | deb | google-chrome-stable_current_amd64 | google-chrome-stable_current_amd64.deb | https://dl.google.com/linux/direct/google- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chcp 65001 1>nul 2>nul | |
| sc stop mscorsvw | |
| timeout /t 5 | |
| pushd "C:\Windows\Microsoft.NET\Framework64\v4.0.30319" | |
| title executeQueuedItems | |
| start "%~n1" /MAX /ABOVENORMAL /WAIT /B "ngen.exe" executeQueuedItems /verbose |
python 3.12.10
pip install neosr openvino nncf tqdm openvino nncf onnxscript onnx_simplifier onnxruntime onnxsim openvino openvino-dev numpy onnx torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
https://github.com/Phhofm/models/releases/tag/4xNomos2_realplksr_dysample
https://github.com/Phhofm/models/releases/download/4xNomos2_realplksr_dysample/4xNomos2_realplksr_dysample.pth https://github.com/Phhofm/models/releases/download/4xNomos2_realplksr_dysample/4xNomos2_realplksr_dysample.yml
TL;DR
- ONNX is mostly for CUDA (nvidia), for Intel hardware you can use openvino.
- openvino for quite some time uses onnx internally for convertion.
- there are some benefits for pre-optimizations for model files in the "price" of slightly loosing some accuracy.
I will try taking a given model file,
and generate an optimized version,
NewerOlder
