-
Notifications
You must be signed in to change notification settings - Fork 506
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
start on kernel warming #726
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ p3 -m voila bqplot.ipynb --VoilaConfiguration.warm_kernel=True --VoilaConfiguration.warm_kernel_preexecute_cell_count=0 --VoilaConfiguration.warm_kernel_preload_count=0 --no-browser
[Voila] Using /var/folders/s3/1mjw0y192zg3450tkkn1yfnm0000gn/T to store connection files
[Voila] Storing connection files in /var/folders/s3/1mjw0y192zg3450tkkn1yfnm0000gn/T/voila__dna4985.
[Voila] Serving static files from /Volumes/MacintoshHD/username/Programs/projects/voila/voila/static.
[Voila] CRITICAL | Enabling kernel warming
[Voila] CRITICAL | Preloading 0 kernels
[Voila] Voilà is running at:
http://localhost:8866/
[Voila] WARNING | Notebook bqplot.ipynb is not trusted
[Voila] Kernel started: cb687d28-b9f4-4d73-95b0-e5cb225744ff
WARNING:tornado.general:404 DELETE /api/kernels/a0d46acf-8d0a-43bf-9edf-aa1d42f11ef0?1601087480270 (::1): Kernel does not exist: a0d46acf-8d0a-43bf-9edf-aa1d42f11ef0
[Voila] WARNING | Kernel does not exist: a0d46acf-8d0a-43bf-9edf-aa1d42f11ef0
WARNING:tornado.access:404 DELETE /api/kernels/a0d46acf-8d0a-43bf-9edf-aa1d42f11ef0?1601087480270 (::1) 205.59ms
[Voila] CRITICAL | Done warming cells
[Voila] CRITICAL | Executing cell: 0
[Voila] CRITICAL | Executing cell: 1
[Voila] CRITICAL | Executing cell: 2 |
preexecute 3 instances, 1 cell each λ p3 -m voila bqplot.ipynb --VoilaConfiguration.warm_kernel=True --VoilaConfiguration.warm_kernel_preexecute_cell_count=1 --VoilaConfiguration.warm_kernel_preload_count=3 --no-browser
[Voila] Using /var/folders/s3/1mjw0y192zg3450tkkn1yfnm0000gn/T to store connection files
[Voila] Storing connection files in /var/folders/s3/1mjw0y192zg3450tkkn1yfnm0000gn/T/voila_wp_zlc5y.
[Voila] Serving static files from /Volumes/MacintoshHD/username/Programs/projects/voila/voila/static.
[Voila] CRITICAL | Enabling kernel warming
[Voila] CRITICAL | Preloading 3 kernels
[Voila] Voilà is running at:
http://localhost:8866/
[Voila] WARNING | Notebook bqplot.ipynb is not trusted
[Voila] Kernel started: fa6ff1ff-9956-49d6-ac06-b76c00ac0738
[Voila] WARNING | Notebook bqplot.ipynb is not trusted
[Voila] Kernel started: 069f8be3-e166-4d46-8624-9fb51efc6134
[Voila] WARNING | Notebook bqplot.ipynb is not trusted
[Voila] Kernel started: 4c4075c5-4fc2-4dfd-8ab2-4600d913f3bf
[Voila] CRITICAL | Warming cell: 0
[Voila] CRITICAL | Done warming cells
[Voila] CRITICAL | Warming cell: 0
[Voila] CRITICAL | Done warming cells
[Voila] CRITICAL | Warming cell: 0
[Voila] CRITICAL | Done warming cells
[Voila] CRITICAL | Skipping reexecution of pre-warmed cell: 0
[Voila] CRITICAL | Executing cell: 1
[Voila] WARNING | Notebook bqplot.ipynb is not trusted
[Voila] CRITICAL | Executing cell: 2 |
@SylvainCorlay @davidbrochart promising results, a single hot kernel preexecuting all cells on the left, a non-hot kernel on the right. The hot kernel is refilled as its used so rapid refresh exhausts the pool (since I set it to only 1 instance). |
…nd, zmq exhausts open files which makes me suspect something is failing to shut off correctly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.