- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 07:48 AM
Hey Vivian, Thanks for the answer.
I got permission to create clusters for now, Instead of using existing cluster - each job will be linked to new cluster for the run - Its solves the problem of the permissions to install lib on the cluster. ( in the config_job.json instead of using existing passed cluster spec to new_cluster key).
After i managed to install the library i faced a new problem and you might help me with that..
I set an entry point name train - train its a function in my package that gets 2 params -(name, message)
should this entrypoint need to set with setup.py entry_points filed? or inside my init module should i export the function? -- from .file import train?
When i tried to export function that don't get any params its works fine only by exporting the function in the init file -- from .file import print_name
Hope i explained my problem and you can help me,
Thanks!