helix
No long description provided.
Installation
dagger install github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71Entrypoint
Return Type
Helix Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
func (m *MyModule) Example() *dagger.Helix {
return dag.
Helix()
}@function
def example() -> dagger.Helix:
return (
dag.helix()
)@func()
example(): Helix {
return dag
.helix()
}Types
Helix 🔗
service() 🔗
Return Type
Service !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| outputPath | Directory ! | - | No description provided |
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
servicefunc (m *MyModule) Example(outputPath ) {
return dag.
Helix().
Service(outputPath)
}@function
def example(output_path: ) -> :
return (
dag.helix()
.service(output_path)
)@func()
example(outputPath: ): {
return dag
.helix()
.service(outputPath)
}client() 🔗
Return Type
Container ! Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
clientfunc (m *MyModule) Example() {
return dag.
Helix().
Client()
}@function
def example() -> :
return (
dag.helix()
.client()
)@func()
example(): {
return dag
.helix()
.client()
}generate() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| outputPath | Directory ! | - | No description provided |
| prompt | StringKind ! | - | No description provided |
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
generatefunc (m *MyModule) Example(outputPath , prompt ) {
return dag.
Helix().
Generate(outputPath, prompt)
}@function
def example(output_path: , prompt: ) -> :
return (
dag.helix()
.generate(output_path, prompt)
)@func()
example(outputPath: , prompt: ): {
return dag
.helix()
.generate(outputPath, prompt)
}nvidiaSmi() 🔗
example usage: “dagger call nvidia-smi”
Return Type
StringKind ! Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
nvidia-smifunc (m *MyModule) Example() {
return dag.
Helix().
NvidiaSmi()
}@function
def example() -> :
return (
dag.helix()
.nvidia_smi()
)@func()
example(): {
return dag
.helix()
.nvidiaSmi()
}