dyana offers a set of loaders for different file types, with each loader having its own set of arguments. By default, each loader runs in an isolated, offline container.
dyana loaders
. To show the help menu for a specific loader, run dyana help <loader>
.
--extra-requirements
Argument | Description | Default | Required |
---|---|---|---|
--model | Path to the model to profile. | None | yes |
--input | Input for the model. | This is an example sentence. | no |
--low-memory | Perform tokenizer and model initialization without loading weights. | None | no |
This is a common fix for errors related to * timeout: timeout reached, killing container
for larger models.
Argument | Description | Default | Required |
---|---|---|---|
--model | Name of the Ollama model to profile. | None | yes |
--input | Input for the model. | This is an example sentence. | no |
--extra-requirements
Argument | Description | Default | Required |
---|---|---|---|
--adapter | Path to the LoRA adapter to profile. | None | yes |
Argument | Description | Default | Required |
---|---|---|---|
--elf | Path to the executable file to run. | None | yes |
Argument | Description | Default | Required |
---|---|---|---|
--pickle | Path to the python pickle file to deserialize. | None | yes |
--extra-requirements
Argument | Description | Default | Required |
---|---|---|---|
--script | Path to the script to profile. | None | yes |
--extra-dependencies
Argument | Description | Default | Required |
---|---|---|---|
--package | PIP compatible package name or expression. | None | yes |
.js
files, in a controlled, isolated environment.--extra-requirements
Argument | Description | Default | Required |
---|---|---|---|
--script | Path to the script to profile. | None | yes |
--extra-dependencies
Argument | Description | Default | Required |
---|---|---|---|
--package | NPM compatible package name or expression. | None | yes |
Argument | Description | Default | Required |
---|---|---|---|
--url | URL to open. | None | yes |
--screenshot | Save a screenshot of the page. | None | no |
--wait-for | CSS selector to wait for before profiling. | None | no |
--wait-for-timeout | Timeout in seconds for page load and element wait. | None | no |
--performance-log | Enable advanced performance logging. | None | no |