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
Explicitly overriding $TMP* like this is probably not a good idea, Galaxy defaults to tmp space in the job directory, and admins often override this as needed for particular destinations or tools.
I see Ludwig has this option to disable multithreading, which is exposed in the tool as an option for reproducibility purposes. But if Ludwig has an option for controlling the number of threads, I don't see it. What may happen is it gets scheduled on a node with 64 cores but is only allocated a fraction of those, assumes it can use them all, and blows up. If there is any way to pass in the number of cores, that would be great, otherwise we might have to get creative in scheduling.
Minor, but ${dataset.element_identifier} is typically the dataset name I believe? So this can result in some weirdness when creating those symlinks, but should be safe at least since they are quoted.
Also minor but lot of those pwd calls can probably just be replaced by ., unless Ludwig changes the cwd internally.
This might fail under Pulsar, I am not sure if there is a "preferred" way of looking at tool stdout like this but the IUC channel probably has an answer.
Regarding the multithreading: Ludwig uses PyTorch underneath the hood and PyTorch uses torch.get_num_threads() and torch.get_num_interop_threads() to return the number of physical CPU cores available to use PyTorch CPU threading. The Ludwig parameter disable_parallel_threads sets the use or not of multithreading in PyTorch set_multihreading_enabled.
There is some alternatives to pass the number of Cores, if we see necessary.
Regarding the tool_stdout, Searching at IUC I've found some discussions and PRs, but nothing that could answer the question. Also looking the Galaxy codebase, I've found this test using the same path that could indicate it is ok to use it?
yaml.safe_dump() incorporated
format = "auto" changed on Ludwig_visualize.xml
Regarding the extra_files_path, couldn't find an explanation for it.
ludwig_model was replaced to html format.
Regarding the Unzip control: Not sure how to address this properly inside Galaxy, based on the fact that the tabular data has the file_path as a column and this could break things?
Comments from: natefoo
Explicitly overriding $TMP* like this is probably not a good idea, Galaxy defaults to tmp space in the job directory, and admins often override this as needed for particular destinations or tools.
I see Ludwig has this option to disable multithreading, which is exposed in the tool as an option for reproducibility purposes. But if Ludwig has an option for controlling the number of threads, I don't see it. What may happen is it gets scheduled on a node with 64 cores but is only allocated a fraction of those, assumes it can use them all, and blows up. If there is any way to pass in the number of cores, that would be great, otherwise we might have to get creative in scheduling.
Minor, but ${dataset.element_identifier} is typically the dataset name I believe? So this can result in some weirdness when creating those symlinks, but should be safe at least since they are quoted.
Also minor but lot of those pwd calls can probably just be replaced by ., unless Ludwig changes the cwd internally.
This might fail under Pulsar, I am not sure if there is a "preferred" way of looking at tool stdout like this but the IUC channel probably has an answer.
Should this be a yaml.safe_dump()?
Quoting construction in ludwig_visualize.yml is a bit creative but I think ok, but if an IUC person has a look at that as well that would be great.
Comments from: bgruening
The tests could also use some asserts, as the simsize comparison is not very strict
the
format="auto"
on outputs should be avoided if possible. It will disable certain features in workflows.Is there any reason you need to use
extra_files_path
?Comments from: bernt-matthias
Use
.
instead ofpwd
element_identifier
needs to be sanitized (see here for an example)is
ludwig_model
a proper Galaxy datatype?if you unzip here
Galaxy-Ludwig/tools/ludwig_evaluate.xml
Line 16 in 00f7da5
Seems that the tool uses multithreading but does not allow any control over it. This will lead to problems.
It would be great to add min and max to numeric parameters
typo: 'randonness'
The text was updated successfully, but these errors were encountered: