danielgross / teleprompter

MIT License
326 stars 39 forks source link

add note about running in terminal, not iTerm #3

Open scottleibrand opened 1 year ago

scottleibrand commented 1 year ago

... to avoid https://github.com/sveinbjornt/hear/issues/15

When running in iTerm, hear gives Abort trap: 6, but that doesn't get trapped, so the resulting error is an attempted fork loop:

Starting ./hear
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
    - Avoid using `tokenizers` before the fork if possible
    - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
Starting ./hear
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
    - Avoid using `tokenizers` before the fork if possible
    - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
Starting ./hear

etc.

n2nco commented 1 year ago

Case it helps anyone reading, this applies to running Teleprompter in VS Code integrated terminal - same error:

image