ryugyosoft commited on
Commit
c871c19
·
verified ·
1 Parent(s): 30fdb62

onw 0.15.3: finished downloads turn into a Load button

Browse files
Files changed (5) hide show
  1. CHANGELOG.md +4 -0
  2. CHANGELOG_en.md +4 -0
  3. onw/__init__.py +1 -1
  4. onw/manager.py +2 -2
  5. pyproject.toml +1 -1
CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@
5
  日付は日本時間です。各版は Hugging Face の `ryugyosoft/onw` にタグ(`v0.4.2` 以降)付きで残っています。
6
  onw ウィンドウは、新しい版があるとこのファイルから変更点を表示します(`## v…` の見出しで区切っています)。
7
 
 
 
 
 
8
  ## v0.15.2 (2026-10-06)
9
  - onw ウィンドウ:「モデル」タブでモデルをロードしても、「サーバー」タブの「使うモデル」の欄が前に選んでいたモデルのままだった
10
  問題を修正。ロード中のモデルが変わったら、欄もそのモデルに合わせます(自分で選び直した分はそのまま残します)。
 
5
  日付は日本時間です。各版は Hugging Face の `ryugyosoft/onw` にタグ(`v0.4.2` 以降)付きで残っています。
6
  onw ウィンドウは、新しい版があるとこのファイルから変更点を表示します(`## v…` の見出しで区切っています)。
7
 
8
+ ## v0.15.3 (2026-10-06)
9
+ - onw ウィンドウの「モデル」タブで、ダウンロードが終わっても「100%」のまま「ロード」に切り替わらなかった問題を修正(完了した
10
+ ダウンロードを、まだダウンロード中として扱っていました。「サーバー」タブからはロードできていました)。
11
+
12
  ## v0.15.2 (2026-10-06)
13
  - onw ウィンドウ:「モデル」タブでモデルをロードしても、「サーバー」タブの「使うモデル」の欄が前に選んでいたモデルのままだった
14
  問題を修正。ロード中のモデルが変わったら、欄もそのモデルに合わせます(自分で選び直した分はそのまま残します)。
CHANGELOG_en.md CHANGED
@@ -4,6 +4,10 @@
4
 
5
  Dates are JST. Every version is on Hugging Face `ryugyosoft/onw`, tagged from `v0.4.2` on.
6
 
 
 
 
 
7
  ## v0.15.2 (2026-10-06)
8
  - onw window: loading a model from the Models tab left the Server tab's model picker on the model chosen before. When the
9
  loaded model changes, the picker now follows it (a choice made there by hand still stays).
 
4
 
5
  Dates are JST. Every version is on Hugging Face `ryugyosoft/onw`, tagged from `v0.4.2` on.
6
 
7
+ ## v0.15.3 (2026-10-06)
8
+ - onw window, Models tab: a finished download stayed at "100%" instead of turning into a Load button (it was still treated
9
+ as downloading; loading from the Server tab worked).
10
+
11
  ## v0.15.2 (2026-10-06)
12
  - onw window: loading a model from the Models tab left the Server tab's model picker on the model chosen before. When the
13
  loaded model changes, the picker now follows it (a choice made there by hand still stays).
onw/__init__.py CHANGED
@@ -2,4 +2,4 @@
2
 
3
  A small engine that runs LLMs entirely on the Intel NPU: static segment graphs + host-managed state.
4
  """
5
- __version__ = "0.15.2"
 
2
 
3
  A small engine that runs LLMs entirely on the Intel NPU: static segment graphs + host-managed state.
4
  """
5
+ __version__ = "0.15.3"
onw/manager.py CHANGED
@@ -137,7 +137,7 @@ class Manager:
137
  m["state"] = self._state_of(repo, path, info, status, dl)
138
  if m["state"] == "ready" and app.outdated(repo, path):
139
  m["state"], m["note"] = "outdated", T("新しい版があります(「更新」で変わったファイルだけ取り直します)")
140
- if dl and dl["repo"] == repo:
141
  m["progress"] = dl["frac"]
142
  m["note"] = T("ダウンロード中 {0}・ウィンドウを閉じても続きます", dl["text"])
143
  elif dl and dl.get("done") == repo and dl.get("error"):
@@ -179,7 +179,7 @@ class Manager:
179
  def _state_of(key, path, info, status, dl):
180
  if info and info.get("model") == key:
181
  return "live" if status == "running" else ("loading" if status == "loading" else "failed")
182
- if dl and dl["repo"] == key:
183
  return "downloading"
184
  if path:
185
  return "ready"
 
137
  m["state"] = self._state_of(repo, path, info, status, dl)
138
  if m["state"] == "ready" and app.outdated(repo, path):
139
  m["state"], m["note"] = "outdated", T("新しい版があります(「更新」で変わったファイルだけ取り直します)")
140
+ if dl and dl["repo"] == repo and not dl.get("done"):
141
  m["progress"] = dl["frac"]
142
  m["note"] = T("ダウンロード中 {0}・ウィンドウを閉じても続きます", dl["text"])
143
  elif dl and dl.get("done") == repo and dl.get("error"):
 
179
  def _state_of(key, path, info, status, dl):
180
  if info and info.get("model") == key:
181
  return "live" if status == "running" else ("loading" if status == "loading" else "failed")
182
+ if dl and dl["repo"] == key and not dl.get("done"): # (a finished download is just there: ready)
183
  return "downloading"
184
  if path:
185
  return "ready"
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
 
5
  [project]
6
  name = "onw"
7
- version = "0.15.2"
8
  description = "Ore no NPU ga konna ni ugoku wake nai - LLMs entirely on the Intel NPU"
9
  readme = "README.md"
10
  license = {text = "Apache-2.0"}
 
4
 
5
  [project]
6
  name = "onw"
7
+ version = "0.15.3"
8
  description = "Ore no NPU ga konna ni ugoku wake nai - LLMs entirely on the Intel NPU"
9
  readme = "README.md"
10
  license = {text = "Apache-2.0"}