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

atkgen forking HF tokenizer despite being non-parallel #750

Open
leondz opened this issue Jun 19, 2024 · 0 comments
Open

atkgen forking HF tokenizer despite being non-parallel #750

leondz opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working probes Content & activity of LLM probes

Comments

@leondz
Copy link
Owner

leondz commented Jun 19, 2024

probes.atkgen.Tox:   0%|                                                                                                                                                  | 0/5 [00:00<?, ?it/s]huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...                | 1/10 [00:02<00:23,  2.60s/it]
To disable this warning, you can either:
        - Avoid using `tokenizers` before the fork if possible
        - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
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)
probes.atkgen.Tox:  20%|███████████████████████████▌                                                                                       

This shouldn't happen - atkgen isn't parallelisable, so the attack model (gpt2 here) shouldn't get forked

linking #109

@leondz leondz added bug Something isn't working probes Content & activity of LLM probes labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working probes Content & activity of LLM probes
Projects
None yet
Development

No branches or pull requests

1 participant