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

bash prompt_script.sh #2

Open
masterj7874 opened this issue Oct 24, 2023 · 9 comments
Open

bash prompt_script.sh #2

masterj7874 opened this issue Oct 24, 2023 · 9 comments

Comments

@masterj7874
Copy link

No such file or directory: 'log/confidence/rte_ent_deberta_base.json'

@luohongyin
Copy link
Owner

This could be solved by mkdir confidence in the EntST/ folder.

@masterj7874
Copy link
Author

It worked when I added "/log/confidence". However, I ran into another issue:
usage: python prompt_cst.py [-h] [--domain DOMAIN] [--train-model TRAIN_MODEL] [--train-size TRAIN_SIZE] [--ft-mode FT_MODE] [--exp-id EXP_ID] [--eval-mode EVAL_MODE] [--model-type-str MODEL_TYPE_STR]
python prompt_cst.py: error: argument --train-model: expected one argument

@luohongyin
Copy link
Owner

Could you try deleting line 49 --train-mode $train_mode \ from the prompt_script.sh file?

@masterj7874
Copy link
Author

masterj7874 commented Oct 26, 2023

I deleted both --train-mode $train_mode \ and --train-model $train_model, then it worked. However, I ran into what it seems to be CUDA-related error as the following:
RuntimeError: CUDA error: device-side assert triggered
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Thank you for your support in advance.

@luohongyin
Copy link
Owner

Hi, I think this might because of your torch installation. Please check with torch.cuda.is_available()

@masterj7874
Copy link
Author

torch.cuda.is_available() returns True. I believe torch installation is properly done on my end. Could it be something else?

@luohongyin
Copy link
Owner

Sorry for the delayed response. What is the version of your pytorch?

@masterj7874
Copy link
Author

It's 2.0.1.

@luohongyin
Copy link
Owner

Thanks, let me test pytorch 2 and get back to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants