Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For gramine set write logs to false #547

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

mansishr
Copy link
Collaborator

Gramine doesn't support the use of POSIX semaphores, which is required by Python's multiprocessing package. By default, tensorboard logging is enabled which invokes multiprocessing internally to write logs. Hence, write_logs should be disabled for gramine_ready workspaces.
Another solution might be to create a custom logging function that doesn't use multiprocessing but since we are using Gramine that has it's own way of logging through log_level in manifest, we might as well disable write_logs in plan.

Copy link
Contributor

@igor-davidyuk igor-davidyuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great

@psfoley psfoley merged commit 6877882 into securefederatedai:develop Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants