Run the Device lab on a Google Pixel with a Tensor chip

Aperta
#41 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
android, react-native, typescript
Ambito
mobile, testing

Direzione di ricerca

Install the newest preview APK and follow docs/devices.md, section 1, to verify its SHA-256. Run the Device lab on a Tensor Pixel and submit the report with File it on GitHub; if the lab fails, report the error and device details here. Done when reports from two different Tensor Pixel models pass validation and are linked to this issue, ideally one Pixel 6 or 7 and one Pixel 8 or later.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

device-lab

Why

Before the model download, Hermit warns Pixel owners that the model runs on the processor only and replies will be slow (HM-ONB-03.slowPhoneCpu), though Hermit runs the model on the processor on every phone. Reports from Tensor phones show whether that warning is fair (ROADMAP.md, Now: the Device lab).

What to do

What these reports show: the warning comes from forcedOntoCpu() in packages/model/src/floor.ts. Reports also show how often the lab pauses for heat on these phones (run.thermalPauses). Pixel 6 and Pixel 7 (Tensor G1 and G2) lack the i8mm processor feature that Hermit's plan checks, and Pixel 8 and later have it, so reports from both groups help. On the download screen you may see the warning: continue.

  1. Install the newest preview APK from https://github.com/DojoCodingLabs/hermit/releases and check its SHA-256 against the release notes, as docs/devices.md, section 1, explains.
  2. Open Hermit and let it download its model once (about 530 MB; Wi-Fi is best).
  3. Turn battery saver off, and let the phone cool down if it's warm.
  4. Open Settings, then Device lab, and tap Start the lab (in Spanish: Ajustes, Laboratorio del teléfono, Empezar la prueba). Keep Hermit open on that screen until it ends: leaving the screen stops the lab. docs/devices.md says it runs for about 10 minutes on a mid-range phone.
  5. Read the report. If you're happy to share it, tap File it on GitHub, sign in, tick the box that says the report contains no personal data, and submit the Device report form. If the report is too long for a link, the app copies it and opens an empty form: paste it into the Report field.
  6. Wait for the workflow's comment on your report issue. Then comment here with a link to it, plus anything worth knowing, such as a phone case, charging, or other apps open.
  7. If the lab stops with an error, there is no report. Comment here with the message it showed, the phone model, its memory and its Android version.

Done when

  • Reports from at least two different Pixel models with a Tensor chip passed the check and are linked here, ideally one Pixel 6 or 7 and one Pixel 8 or later.

How to check

Before you file, you can run the same check yourself. Tap Copy in the lab, save the text as report.json on a computer, and run this from a clone of the repository. It needs only Node 24.9 or later, no install:

node scripts/devices/validate.mjs report.json

It prints valid: report.json, or what is wrong. Your phone shows up in the device table in docs/devices.md after a maintainer merges the device-data branch.

Keep in mind

  • Nothing is sent on its own. The report leaves the phone only when you file it, copy it or share it.
  • A report holds device and benchmark facts only. Keep personal details out of the form's Notes field and out of this issue: GitHub issues are public and show your account.
  • File the report exactly as the app made it. The check refuses any field the schema doesn't list (docs/devices/schema.json).
  • Hermit is pre-alpha. If something else breaks, file it with the Bug report form.
Lingua principale
TypeScript
Stelle
11
Fork
0
Merge medio
10m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DojoCodingLabs/hermit

Tutte le issue di DojoCodingLabs/hermit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.