You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Ultimately we want to remove all the docs under https://www.internalfb.com/intern/wiki/TorchX_internal/TorchX and consolidate it all in the staticdocs wiki.
This diff moves the info from https://www.internalfb.com/intern/wiki/TorchX_internal/TorchX/Authoring_Components/ into the custom components wiki page. I didn't include which components to try since it includes fb specific components and this isn't a fb-specific page, just added that they should check existing components before trying to create a custom one.
Reviewed By: hstonec
Differential Revision: D63643250
Copy file name to clipboardExpand all lines: docs/source/custom_components.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,23 @@ and launch it via two different schedulers.
19
19
20
20
See the [Quickstart Guide](quickstart.md) for installation and basic usage.
21
21
22
+
23
+
## Builtins
24
+
25
+
Before writing a custom component, check if any of the builtin components satisfy your needs. TorchX provides a number of builtin components with premade images. You can discover them via:
26
+
27
+
```sh
28
+
torchx builtins
29
+
```
30
+
31
+
You can use these either from the CLI, from a pipeline or programmatically like
32
+
you would any other component.
33
+
34
+
```sh
35
+
torchx run utils.echo --msg "Hello :)"
36
+
```
37
+
38
+
22
39
## Hello World
23
40
24
41
Lets start off with writing a simple "Hello World" python app. This is just a
0 commit comments