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

[REQUEST] Initialize Warp upon import #421

Open
shi-eric opened this issue Jan 9, 2025 · 0 comments
Open

[REQUEST] Initialize Warp upon import #421

shi-eric opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@shi-eric
Copy link
Contributor

shi-eric commented Jan 9, 2025

Description

import warp as wp should automatically initialize Warp.

Currently, wp.init() is called from functions that require Warp to be initialized.

Note that some configuration options in Warp must be set before initialization:

  • warp.config.quiet is used to minimize the printouts when Warp initializes
  • warp.config.kernel_cache_dir is used to set the kernel cache prior to initialization, although it can be changed after initialization using now-undocumented means
  • warp.config.enable_mempools_at_init is used to disable memory pools at initialization

Context

User experience?

@shi-eric shi-eric added the enhancement New feature or request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant