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

poetry: Fix deps and poetry lock after python 3.12 upgrade #76

Merged
merged 5 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.gpu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvidia/cuda:11.7.0-cudnn8-runtime-ubuntu22.04
FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
Expand Down
4 changes: 4 additions & 0 deletions baselines/NER/docile_train_NER_multilabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from pathlib import Path

import numpy as np
import pyarrow
import torch
import torchmetrics
from data_collator import MyMLDataCollatorForTokenClassification
Expand Down Expand Up @@ -636,6 +637,9 @@ def prepare_hf_dataset(


if __name__ == "__main__":
# https://github.com/huggingface/datasets/issues/6396#issuecomment-1806955672
pyarrow.PyExtensionType.set_auto_load(True)

parser = argparse.ArgumentParser()
parser.add_argument(
"--docile_path",
Expand Down
4 changes: 4 additions & 0 deletions baselines/NER/docile_train_NER_multilabel_layoutLMv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from pathlib import Path

import numpy as np
import pyarrow
import torch
import torchmetrics
from data_collator import MyLayoutLMv3MLDataCollatorForTokenClassification
Expand Down Expand Up @@ -687,6 +688,9 @@ def prepare_hf_dataset(


if __name__ == "__main__":
# https://github.com/huggingface/datasets/issues/6396#issuecomment-1806955672
pyarrow.PyExtensionType.set_auto_load(True)

parser = argparse.ArgumentParser()
parser.add_argument(
"--docile_path",
Expand Down
Loading
Loading