Skip to content

Commit

Permalink
fixed the venv issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Cranial-XIX committed Dec 25, 2023
1 parent a73c497 commit f78abd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libero/lifelong/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
os.environ["TOKENIZERS_PARALLELISM"] = "false"
import sys
import json
import multiprocessing
import pprint
import time
from pathlib import Path
Expand Down Expand Up @@ -265,4 +266,7 @@ def main(hydra_cfg):


if __name__ == "__main__":
# Set the multiprocessing start method to 'spawn'
if multiprocessing.get_start_method(allow_none=True) != "spawn":
multiprocessing.set_start_method("spawn", force=True)
main()

0 comments on commit f78abd6

Please sign in to comment.