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)
Using PyTorch 2 and torch.compile in the following way:
I get the following warning:
and embedding text doesn't work anymore.
Any ideas for fix?