30 Commits

Author SHA1 Message Date
Charles Frye
d3975d7a29 allow longer lines (#1131)
* increment line limit to 81

* increment line length to 82

* increment line length to 83

* increment line length to 84

* increment line length to 85

* increment line length to 86

* increment line length to 87

* increment line length to 88
2025-04-15 21:47:22 -07:00
Erik Bernhardsson
d6d2592085 Remove note about app being called stub (#767) 2024-06-11 20:59:21 -04:00
Erik Bernhardsson
7c44e24085 stub -> app (#709)
* stub -> app

* Add notes

* ruff

* fix ungrammatical a app

* Fix broken link
2024-04-19 18:24:56 -04:00
Michael Waskom
0a3012cc1a Fix usage of deprecated secret= kwarg (#571)
* Fix usage of deprecated secret= kwarg

* Run black
2024-02-02 19:12:34 -05:00
Eric Zhang
e6204fbf37 Fix CI and pin black version (#567) 2024-01-26 16:36:28 -05:00
Eric Zhang
8db92de1b5 Fix failing synthetic monitors (#535)
* Fix algolia_indexer synthetic monitor

* Fix db_to_sheet

* Fix dbt_duckdb

* Remove dbt_sqlite

This depends on meltano, an example that is currently not tested,
and it also looks up an NFS.

* Fix mini_dalle_slackbot

* Fix news_summarizer

* Fix dreambooth_app

* Fix instructor

* Fix webscraper

* Fix a bunch of "huggingface" secrets

* Fix db_to_sheet

* Revert changes to environment_name

* Remove unused import for lints

* Fix TGI synmon token

* Fix TEI and TGI-Mixtral

- TEI: Issue with HuggingFace secrets again
- TGI-Mixtral: https://github.com/huggingface/text-generation-inference/issues/1342
2024-01-03 15:26:30 -05:00
Erik Bernhardsson
ef7dee39cf Fix deprecations of run_inside (#528) 2023-12-21 09:10:12 -05:00
Erik Bernhardsson
37716250ee Change all is_inside to run_inside (#475)
* Change all is_inside to run_inside

* use images not assigned to the stub in some cases
2023-11-08 18:57:15 -05:00
Erik Bernhardsson
1389d77789 Update examples to use .remote (#408) 2023-08-19 23:06:56 +02:00
Jonathon Belotti
32c111007a Remove modal.NetworkFileSystem model loading usage (pt-2) (#383) 2023-07-30 13:53:49 -04:00
Erik Bernhardsson
47969824a9 SharedVolume -> NetworkFileSystem (#354) 2023-07-05 17:38:25 -04:00
Erik Bernhardsson
caa87e5869 Update to latest SharedVolume syntax (#353) 2023-07-03 17:48:10 -04:00
Jonathon Belotti
08cbee6281 fix: example reliability sweep (#328) 2023-05-16 11:51:29 -04:00
Elias Freider
8324e6f8f7 Update deprecated decorators without args to always use () in examples (#269) 2023-04-06 10:26:34 +02:00
Jonathon Belotti
4fdcdf7e37 address example errors & flakiness (#242) 2023-03-05 15:08:13 -05:00
Elias Freider
c01ef3a054 Updated black cuasing some reformatting (#218) 2023-02-06 16:13:33 +01:00
Jonathon Belotti
ef3da859b1 black formatter line length reduction (#209) 2023-01-27 17:10:21 -05:00
Elias Freider
e3b2d769a1 Adjust examples to use new CLI + local entrypoints (#172)
* Adjustments for cli

* Updating some more examples

* Use local entrypoints
2023-01-17 14:35:16 +01:00
Eric Zhang
48811b1cf7 Update image builder commands to take args lists (#167)
Found all of these via an exhaustive search for the regex
`pip_install|apt_install|conda_install|run_commands`.

See <https://github.com/modal-labs/modal-client/pull/149>.
2022-12-23 10:34:20 -06:00
Akshat Bubna
9050932f1e gpu=True -> gpu="any" (#158) 2022-12-20 19:47:00 +05:30
Jonathon Belotti
62838f7ab4 more api updates for https://github.com/modal-labs/modal-client/pull/97 (#137) 2022-12-08 16:30:42 -05:00
Erik Bernhardsson
8cdb8d05a5 Prefix all stub names with example- (#88)
* set all stub names to example-

* black
2022-11-06 22:04:46 -05:00
Akshat Bubna
c027d507e0 Add and run pre-commit hooks (#57) 2022-10-13 00:44:59 -04:00
Erik Bernhardsson
af848ce3c4 Fix misc examples (#36) 2022-10-03 11:58:39 -04:00
Erik Bernhardsson
ec91754e3e Pytest (#31)
* pytest, part 1

* black

* Fix deprecated .ref

* Black & Flake

* Fix pytest

* Fix meltano
2022-10-03 10:37:26 -04:00
Akshat Bubna
c095a22206 Remove integration-test: false from examples (#28) 2022-09-27 16:28:49 -04:00
Jonathon Belotti
da1759c767 covid-19 datasette example (#26) 2022-09-26 13:59:12 -04:00
Erik Bernhardsson
d6856f3d3a Update deprecated image names (#17)
Co-authored-by: Erik Bernhardsson <erik@modal.com>
2022-09-19 11:46:52 -04:00
Eric Zhang
e827ccf593 Re-organize top-level headings in example docs 2022-09-05 21:14:16 +00:00
Elias Freider
7ba5ef50f3 Adds existing examples from private repo 2022-08-24 10:12:13 +02:00