letify 2.10.3__tar.gz → 2.10.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {letify-2.10.3 → letify-2.10.4}/PKG-INFO +1 -1
- {letify-2.10.3 → letify-2.10.4}/docs/SPEC.md +2 -0
- {letify-2.10.3 → letify-2.10.4}/letify/__init__.py +1 -1
- {letify-2.10.3 → letify-2.10.4}/letify/protocol/worker.py +7 -2
- {letify-2.10.3 → letify-2.10.4}/letify-core/Cargo.lock +2 -2
- {letify-2.10.3 → letify-2.10.4}/letify-core/Cargo.toml +1 -1
- {letify-2.10.3 → letify-2.10.4}/letify-ext/package-lock.json +2 -2
- {letify-2.10.3 → letify-2.10.4}/letify-ext/package.json +1 -1
- {letify-2.10.3 → letify-2.10.4}/pyproject.toml +1 -1
- {letify-2.10.3 → letify-2.10.4}/tests/test_data_streaming.py +30 -0
- {letify-2.10.3 → letify-2.10.4}/.github/workflows/ci.yml +0 -0
- {letify-2.10.3 → letify-2.10.4}/.github/workflows/docs.yml +0 -0
- {letify-2.10.3 → letify-2.10.4}/.github/workflows/publish-crates.yml +0 -0
- {letify-2.10.3 → letify-2.10.4}/.github/workflows/publish.yml +0 -0
- {letify-2.10.3 → letify-2.10.4}/.github/workflows/reserve-crates.yml +0 -0
- {letify-2.10.3 → letify-2.10.4}/.gitignore +0 -0
- {letify-2.10.3 → letify-2.10.4}/.researchtree +0 -0
- {letify-2.10.3 → letify-2.10.4}/CLAUDE.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/LICENSE +0 -0
- {letify-2.10.3 → letify-2.10.4}/PROJECT.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/COMPONENT.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/INTENT.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/NETWORK.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/01-getting-started.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/02-providers.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/03-execution-modes.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/04-environments-and-data.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/05-concurrency.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/06-cost.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/07-troubleshooting.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/08-releasing.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/01-/354/213/234/354/236/221/355/225/230/352/270/260.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/02-/355/224/204/353/241/234/353/260/224/354/235/264/353/215/224.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/03-/354/213/244/355/226/211-/353/260/251/354/213/235.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/04-/355/231/230/352/262/275/352/263/274-/353/215/260/354/235/264/355/204/260.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/05-/353/217/231/354/213/234-/354/213/244/355/226/211.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/06-/353/271/204/354/232/251.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/07-/353/254/270/354/240/234-/355/225/264/352/262/260.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/08-/353/246/264/353/246/254/354/212/244.md" +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/guide/ko/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/locales/README_ko.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/docs/mkdocs.yml +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/.letify.example +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/00_smoke.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/01_sweep.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/02_resume.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/03_watch.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/README_ko.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/common.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/examples/nvfp4-lora/recipe.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/cli.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/config/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/config/inventory.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/config/login.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/config/schema.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/config/secrets.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/config/writer.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/cache.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/env.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/exit.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/function.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/instance.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/reduce.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/declare/replicas.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/errors.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/install.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/launcher.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/paths.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/protocol/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/protocol/codec.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/protocol/driver.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/protocol/handle.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/protocol/wire.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/base.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/colab.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/colab_files.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/colab_keepalive.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/elice.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/kaggle.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/kaggle_adapter.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/local.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/modal.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/modal_adapter.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/naming.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/shell.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/tunnel.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/providers/usage.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/client.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/cuda.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/executor.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/frames.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/guard.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/tensor.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/trace.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/remoting/device/value.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/render.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/bootstrap.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/broker.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/channel.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/control.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/lease.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/pool.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/session.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/takeover.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/telemetry.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/runtime/workers.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/backends/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/backends/drive.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/backends/filesystem.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/backends/google_auth.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/backends/layout.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/backends/objects.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/cas.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/handoff.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/pathdata.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/sendorder.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/store/volume.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/stubs.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/tools.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/__init__.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/agent.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/announce.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/link.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/nat.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/pipeline.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/portmap.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/probe.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/quic.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/rendezvous.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/setup.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/sshopts.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify/transport/strategies.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/.gitignore +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/build.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/letify/Cargo.toml +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/letify/LICENSE +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/letify/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/letify/src/lib.rs +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/letify-quic/Cargo.toml +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/letify-quic/src/main.rs +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-core/rust-toolchain.toml +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/.vscodeignore +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/LICENSE +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/README.md +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/media/icon.svg +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/src/cli.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/src/extension.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/src/history.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/src/model.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/src/poll.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/src/render.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/test/cli.test.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/test/manifest.test.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/test/model.test.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/test/regressions.test.ts +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify-ext/tsconfig.json +0 -0
- {letify-2.10.3 → letify-2.10.4}/letify_providers.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/scripts/sync-main.sh +0 -0
- {letify-2.10.3 → letify-2.10.4}/scripts/version.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/conftest.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/fake_kaggle_adapter.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/fake_modal_adapter.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_cli.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_cli_output.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_colab_keepalive.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_config.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_core.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_data.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_declare.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_device.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_device_compile.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_distributed.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_drive_handoff.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_drive_store.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_editor_sessions.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_elice.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_frames.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_install.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_kaggle.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_kaggle_cookie.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_kaggle_link.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_link_log.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_notebook.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_parallel_placement.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_paths.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_portmap.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_protocol.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_providers.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_punch_sockets.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_quic.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_remoting.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_render.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_run_control.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_run_takeover.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_runtime.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_shell_workers.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_ship.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_store.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_strategies.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_stubs.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_transport.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_tunnel_setup.py +0 -0
- {letify-2.10.3 → letify-2.10.4}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: letify
|
|
3
|
-
Version: 2.10.
|
|
3
|
+
Version: 2.10.4
|
|
4
4
|
Summary: Declarations that become infrastructure.
|
|
5
5
|
Project-URL: Homepage, https://github.com/DarkPyonix/letify
|
|
6
6
|
Project-URL: Documentation, https://github.com/DarkPyonix/letify/tree/main/docs
|
|
@@ -1552,6 +1552,8 @@ A file is complete when both of these hold:
|
|
|
1552
1552
|
|
|
1553
1553
|
Rule 1 is what makes the rule safe. A writer that pauses between two writes to a file it still holds open leaves the size and the time unchanged, so rule 2 on its own would call a half-written file complete and send it; with the descriptor still open, rule 1 refuses it. A file that is never found complete, because the body holds it open until the end or the call returns first, is not sent by the background path at all, and the final write-back below collects it as it always has.
|
|
1554
1554
|
|
|
1555
|
+
The worker walks an output with `os.walk`, which works the same whether or not the output already holds files placed for the call, because the listing the data patch answers is an iterator like the one the standard library returns. A poll that raises ends the background write-back for the rest of the call, so a walk that fails on an output holding placed files delivers nothing until the call returns. A file the background write-back has delivered stays on the client when the client process is stopped by SIGTERM or SIGINT before the call returns, because each file is renamed into place complete and nothing removes it on the way out.
|
|
1556
|
+
|
|
1555
1557
|
Each file found complete is hashed and placed into the file blob cache exactly as the final write-back places one, except that it is copied rather than renamed, because the body may still write the next version of it at the output path.
|
|
1556
1558
|
|
|
1557
1559
|
A path written more than once during a call, such as a checkpoint overwritten on every epoch, is one relative path with a new digest each time it is found complete. The background write-back answers this by keeping the digest it last sent for that path: a poll that reports a different digest for a path already sent starts a fresh transfer for the new digest, and does not wait for or cancel one already in flight for an older digest. The two transfers are not ordered against each other: neither waits for the other, and neither is cancelled when a newer one starts. The local file after both finish is whichever one's `os.replace` ran last, and because `os.replace` is atomic, a reader never sees a half-written file either way. This matches the rule Writing back already states for two calls writing back to the same local path: the last transfer to finish wins, and no transfer is required to finish before a newer one for the same path is allowed to start.
|
|
@@ -1567,11 +1567,16 @@ class _Scandir:
|
|
|
1567
1567
|
"""What the patched ``os.scandir`` answers: real entries, then the pending ones."""
|
|
1568
1568
|
|
|
1569
1569
|
def __init__(self, entries, close):
|
|
1570
|
-
self._entries = entries
|
|
1570
|
+
self._entries = iter(entries)
|
|
1571
1571
|
self._close = close
|
|
1572
1572
|
|
|
1573
1573
|
def __iter__(self):
|
|
1574
|
-
return
|
|
1574
|
+
return self
|
|
1575
|
+
|
|
1576
|
+
def __next__(self):
|
|
1577
|
+
# ``os.walk`` calls ``next`` on what ``os.scandir`` answers, so an object that is
|
|
1578
|
+
# only iterable breaks every walk of a directory inside a running call.
|
|
1579
|
+
return next(self._entries)
|
|
1575
1580
|
|
|
1576
1581
|
def __enter__(self):
|
|
1577
1582
|
return self
|
|
@@ -138,11 +138,11 @@ dependencies = [
|
|
|
138
138
|
|
|
139
139
|
[[package]]
|
|
140
140
|
name = "letify"
|
|
141
|
-
version = "2.10.
|
|
141
|
+
version = "2.10.4"
|
|
142
142
|
|
|
143
143
|
[[package]]
|
|
144
144
|
name = "letify-quic"
|
|
145
|
-
version = "2.10.
|
|
145
|
+
version = "2.10.4"
|
|
146
146
|
dependencies = [
|
|
147
147
|
"quinn",
|
|
148
148
|
"rcgen",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "letify-status",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "letify-status",
|
|
9
|
-
"version": "2.10.
|
|
9
|
+
"version": "2.10.4",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@types/node": "^18.19.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "letify-status",
|
|
3
3
|
"displayName": "letify Status",
|
|
4
4
|
"description": "letify quota and GPU activity in the status bar, read from the letify CLI.",
|
|
5
|
-
"version": "2.10.
|
|
5
|
+
"version": "2.10.4",
|
|
6
6
|
"publisher": "darkpyonix",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE",
|
|
8
8
|
"repository": {
|
|
@@ -1934,3 +1934,33 @@ def test_skipped_files_do_not_enter_the_progress_line(project, monkeypatch) -> N
|
|
|
1934
1934
|
)
|
|
1935
1935
|
pathdata.write_back(Runtime(), Collector(), "/rt/blobs")
|
|
1936
1936
|
assert totals == [0], totals
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
def test_a_file_written_during_a_local_call_reaches_the_client_before_the_call_returns(
|
|
1940
|
+
launcher_from, project
|
|
1941
|
+
) -> None:
|
|
1942
|
+
"""Spec "Writing back": the background write-back delivers each completed file of an
|
|
1943
|
+
output directory that already holds files, while the call still runs.
|
|
1944
|
+
"""
|
|
1945
|
+
let = streaming(launcher_from)
|
|
1946
|
+
root = project / "selfplay"
|
|
1947
|
+
root.mkdir()
|
|
1948
|
+
(root / "selfplay-000000.pt").write_bytes(b"\x01" * 4096)
|
|
1949
|
+
|
|
1950
|
+
@let.function(device=let.providers.lab.CPU, host=letify.remote)
|
|
1951
|
+
def train(directory: Path, held: float) -> str:
|
|
1952
|
+
import time as clock
|
|
1953
|
+
|
|
1954
|
+
(directory / "selfplay-000001.pt").write_bytes(b"\x02" * 4096)
|
|
1955
|
+
clock.sleep(held)
|
|
1956
|
+
(directory / "selfplay-000002.pt").write_bytes(b"\x03" * 4096)
|
|
1957
|
+
clock.sleep(held)
|
|
1958
|
+
return "done"
|
|
1959
|
+
|
|
1960
|
+
thread, outcome = in_a_thread(lambda: train(root, HELD_S))
|
|
1961
|
+
try:
|
|
1962
|
+
wait_until(lambda: (root / "selfplay-000001.pt").is_file(), timeout=HELD_S - 2.0)
|
|
1963
|
+
assert thread.is_alive()
|
|
1964
|
+
finally:
|
|
1965
|
+
thread.join(timeout=120)
|
|
1966
|
+
assert outcome.get("value") == "done", outcome
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|