Skip to content

armgit / PS5LM

Public Imported from GitHub
0

llama.cpp on a jailbroken PS5: run any GGUF model natively on the console, starting with Qwen 3.8

App: the speed on Home as measured, without easing

Mert Cobanovaeb40d2f3888
diff --git a/ps5/app/dashboard.cpp b/ps5/app/dashboard.cpp
index de005de..27c5a17 100644
--- a/ps5/app/dashboard.cpp
+++ b/ps5/app/dashboard.cpp
@@ -561,9 +561,6 @@ void Dashboard::update(const hui::InputFrame & raw, float dt, ui::Feedback & fee
rows_y_.update(dt, 22.0f);
dock_x_.target = (float) page_;
dock_x_.update(dt, 18.0f);
- const bool decision = !live_.decision.empty();
- hero_.target = decision ? live_.prompt_tps : live_.gen_tps;
- hero_.update(dt, 6.0f);
}
void Dashboard::update_home(const hui::InputFrame & input, ui::Feedback & feedback) {
@@ -1080,11 +1077,11 @@ void Dashboard::draw_home(gfx::DrawList & l) const {
big = std::max(0.0f, live_.load_progress) * 100.0f;
unit = "% on the GPU";
} else if (decision) {
- big = hero_.value;
+ big = live_.prompt_tps; // as measured, once a second: an eased number flickers on a TV
unit = "tokens read per second";
known = live_.prompt_tps > 0;
} else {
- big = hero_.value;
+ big = live_.gen_tps;
unit = "tokens per second";
known = live_.gen_tps > 0;
if (!known) {
diff --git a/ps5/app/dashboard.hpp b/ps5/app/dashboard.hpp
index 39b57e7..7cee394 100644
--- a/ps5/app/dashboard.hpp
+++ b/ps5/app/dashboard.hpp
@@ -119,7 +119,6 @@ class Dashboard {
float page_age_ = 10; // seconds since the page changed
hui::tween::Spring dock_x_; // the current tab's marker
hui::tween::Spring rows_y_; // the focused row's highlight, on the Models and Settings pages
- hui::tween::Spring hero_; // the speed the Home page shows, eased
// Models.
int section_ = kLocal;