Charles Frye
25df86cddd
adds a simple example for Cls.with_options ( #1462 )
...
* adds a simple example for cls_with_options
* ignore mypy, add links, add more keywords
2026-01-29 11:31:10 -08:00
Charles Frye
312f81e739
you should be using uv ( #1392 )
...
* switches to uv_pip_install everywhere
* update install args for uv
* deactivate testing
2025-11-10 17:33:45 -08:00
Andrew Hinh
2ff876d56b
Make Modal app naming consistent ( #1310 )
...
* make app naming consistent
* update ref; ignore misc
* fix name errors
2025-08-01 16:17:44 -07:00
Charles Frye
0fc009c269
removes fetch_stock_prices ( #1168 )
2025-05-08 20:06:05 -07:00
Charles Frye
0ae4bb1d6a
pin versions ( #1091 )
2025-03-05 18:48:15 -08:00
Charles Frye
0f55fae4e2
make relative modal.com links global, standardize formatting ( #1089 )
...
* make relative modal.com links global, standardize formatting
* fix double slash in hello_world
2025-03-05 17:23:08 -08:00
Charles Frye
95435c0287
remove unneeded frontmatter and update formatting ( #1081 )
2025-02-24 12:37:24 -08:00
Charles Frye
aed9f34da2
slight re-org ( #850 )
2024-08-20 23:25:42 +00:00
Cathy Zhou
9169b610f2
Example for Dynamic Batching ( #840 )
2024-08-20 11:20:42 -04:00
Charles Frye
29dbb7b3c6
fix parsing for stock tickers, update text ( #846 )
2024-08-17 17:59:04 -07:00
Eric Zhang
b77149b29d
Fix basic_grid_search.py ( #793 )
...
This resolves #792 .
2024-06-21 16:53:59 -04: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
Neville Li
875049804e
Delete youtube_face_detection.mp4 ( #684 )
2024-04-09 12:11:35 -04:00
Erik Bernhardsson
c2f0295c94
Remove the Youtube face detection example ( #620 )
2024-03-04 15:30:51 -05:00
Eric Zhang
702cc03b67
Don't deploy youtube_face_detection ( #536 )
...
Not sure why we're deploying this example right now in synmon.
2024-01-03 15:26:11 -05:00
Erik Bernhardsson
45c58a2ef8
run_inside -> imports ( #525 )
2023-12-15 22:32:14 -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
Jonathon Belotti
8a473b005f
Fix failing examples ( #478 )
2023-10-26 12:10:27 -04:00
Eric Zhang
07930dcf08
Apply pytube patch to youtube_face_detection.py ( #430 )
...
This fixes the regex issue that hasn't been fixed in pytube yet, since they aren't maintaining the library.
2023-08-30 12:49:29 -04:00
Jonathon Belotti
7d32e54f6b
fix: a bunch of deprecated API usages ( #420 )
2023-08-26 12:30:09 -04:00
Erik Bernhardsson
1389d77789
Update examples to use .remote ( #408 )
2023-08-19 23:06:56 +02:00
Eric Zhang
d5a0fe8e24
Fix pytube regex issue ( #406 )
2023-08-14 19:18:25 -04:00
Jonathon Belotti
32c111007a
Remove modal.NetworkFileSystem model loading usage (pt-2) ( #383 )
2023-07-30 13:53:49 -04:00
Jonathon Belotti
5790c12497
remove 'shared volume' term, replace with new term ( #366 )
2023-07-18 22:31:57 -04:00
Jonathon Belotti
87171708cc
run more examples under gvisor ( #365 )
2023-07-17 17:08:14 -04:00
Jonathon Belotti
978c87d01b
fix typo in runtimes ( #363 )
2023-07-16 22:31:25 -04:00
Jonathon Belotti
adf9289c40
run some examples under gvisor ( #360 )
2023-07-14 10:30:20 -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
ab14ace081
Example reliability updates ( #344 )
2023-06-14 10:35:50 -04:00
Akshat Bubna
59dbcdf0c6
Fix some old examples ( #321 )
2023-05-11 14:55:12 -04:00
Jonathon Belotti
42dbd259c9
fix: PyTube 'main' is totally broken right now, awaiting PR merge ( #302 )
2023-05-02 21:28:24 -04:00
Jonathon Belotti
fe4856a275
Youtube example reliability, and some maintenance ( #294 )
2023-04-26 11:32:26 -04:00
Elias Freider
8324e6f8f7
Update deprecated decorators without args to always use () in examples ( #269 )
2023-04-06 10:26:34 +02: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
2fef3fafee
Fix examples running as cli tools ( #194 )
...
Adds a few more `local_entrypoint`s and updates the metadata to include optional `cmd` field for overriding the `modal run <module>` way of running the example as a test (the old `args` is still appended to the command, for convenience in the base case)
2023-01-25 15:40:12 +01: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
Erik Bernhardsson
852dad02fe
revert accidental commit with gpu ( #160 )
2022-12-20 16:27:45 -05:00
Akshat Bubna
9050932f1e
gpu=True -> gpu="any" ( #158 )
2022-12-20 19:47:00 +05:30
Jonathon Belotti
045fa33a8f
use context-manager form of BytesIO to get autoclose ( #149 )
2022-12-16 14:44:40 -05:00
Erik Bernhardsson
3a085e3512
update stable diffusion docs ( #144 )
...
* update stable diffusion docs
* Add output image
2022-12-13 17:50:35 -05:00
Jonathon Belotti
27c0a2e810
Update 1-10 examples code for github.com/modal-labs/modal-client/pull/97 ( #136 )
2022-12-08 15:11:45 -05:00
Eric Zhang
e7afc42100
More copyediting of examples ( #126 )
2022-12-02 13:38:11 -05:00
Eric Zhang
9edce608db
Copy-editing of examples ( #125 )
2022-12-02 13:11:31 -05:00
Erik Bernhardsson
be35e96527
use stub.function instead of stub.generator ( #124 )
2022-12-01 13:55:31 -05:00
Erik Bernhardsson
a3d6d9471f
Misc updates to basic grid search ( #120 )
2022-11-30 18:51:23 -05:00
Jonathon Belotti
3480787536
Various fixes: Increase a timeout; exclude some ex's from synmon; specify args ( #97 )
2022-11-09 21:14:03 -05:00