Submitting job: /common/home/users/d/dh.huang.2023/code/rapget-translation/scripts/eval-mac.sh Current Directory: /common/home/users/d/dh.huang.2023/code/rapget-translation Mon Aug 26 11:15:31 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.90.07 Driver Version: 550.90.07 CUDA Version: 12.4 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA L40 On | 00000000:01:00.0 Off | 0 | | N/A 34C P8 35W / 300W | 1MiB / 46068MiB | 0% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ +-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | No running processes found | +-----------------------------------------------------------------------------------------+ Linux lexicon 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Thu Jun 6 09:41:19 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux NAME="Rocky Linux" VERSION="8.10 (Green Obsidian)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="8.10" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:8:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" SUPPORT_END="2029-05-31" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8" ROCKY_SUPPORT_PRODUCT_VERSION="8.10" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.10" Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 2 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 25 Model: 1 Model name: AMD EPYC 7763 64-Core Processor Stepping: 1 CPU MHz: 2450.000 CPU max MHz: 3529.0520 CPU min MHz: 1500.0000 BogoMIPS: 4890.34 Virtualization: AMD-V L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 32768K NUMA node0 CPU(s): 0-127 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd amd_ppin brs arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm MemTotal: 527669564 kB Current Directory: /common/home/users/d/dh.huang.2023/code/rapget-translation Evaluating microsoft/Phi-3.5-mini-instruct [nltk_data] Downloading package wordnet to [nltk_data] /common/home/users/d/dh.huang.2023/nltk_data... [nltk_data] Package wordnet is already up-to-date! [nltk_data] Downloading package punkt to [nltk_data] /common/home/users/d/dh.huang.2023/nltk_data... [nltk_data] Package punkt is already up-to-date! [nltk_data] Downloading package omw-1.4 to [nltk_data] /common/home/users/d/dh.huang.2023/nltk_data... [nltk_data] Package omw-1.4 is already up-to-date! [nltk_data] Downloading package wordnet to [nltk_data] /common/home/users/d/dh.huang.2023/nltk_data... [nltk_data] Package wordnet is already up-to-date! [nltk_data] Downloading package punkt to [nltk_data] /common/home/users/d/dh.huang.2023/nltk_data... [nltk_data] Package punkt is already up-to-date! [nltk_data] Downloading package omw-1.4 to [nltk_data] /common/home/users/d/dh.huang.2023/nltk_data... [nltk_data] Package omw-1.4 is already up-to-date! `flash-attention` package not found, consider installing for better performance: No module named 'flash_attn'. Current `flash-attention` does not support `window_size`. Either upgrade or use `attn_implementation='eager'`. loading env vars from: /common/home/users/d/dh.huang.2023/common2/code/rapget-translation/.env workding dir: /common/home/users/d/dh.huang.2023/common2/code/rapget-translation adding /common/home/users/d/dh.huang.2023/common2/code/rapget-translation to sys.path loading: /common/home/users/d/dh.huang.2023/common2/code/rapget-translation/eval_modules/calc_repetitions.py loading /common/home/users/d/dh.huang.2023/common2/code/rapget-translation/llm_toolkit/translation_utils.py microsoft/Phi-3.5-mini-instruct llama-factory/saves/Phi-3.5-mini-instruct False 1 results/mac-results_fine_tuned.csv CUDA is available, we have found 1 GPU(s) NVIDIA L40 CUDA version: 12.1 Evaluating model: microsoft/Phi-3.5-mini-instruct on cuda (0) GPU = NVIDIA L40. Max memory = 44.309 GB. 0.0 GB of memory reserved. loading model: microsoft/Phi-3.5-mini-instruct with adapter: None Loading checkpoint shards: 0%| | 0/2 [00:00 You are a helpful assistant that translates Chinese to English.<|end|> <|user|> You will be given a Chinese sentence to translate. If it is an incomplete sentence, or if you are unsure about the meaning, simply copy the input text as your output. Do not output any additional sentence such as explanation or reasoning. Chinese: 老耿端起枪,眯缝起一只三角眼,一搂扳机响了枪,冰雹般的金麻雀劈哩啪啦往下落,铁砂子在柳枝间飞迸着,嚓嚓有声。 English:<|end|> <|assistant|> Old Geng picked up his shotgun, squinted, and pulled the trigger. Two sparrows crashed to the ground like hailstones as shotgun pellets tore noisily through the branches.<|endoftext|> -------------------------------------------------- prompt: <|system|> You are a helpful assistant that translates Chinese to English.<|end|> <|user|> You will be given a Chinese sentence to translate. If it is an incomplete sentence, or if you are unsure about the meaning, simply copy the input text as your output. Do not output any additional sentence such as explanation or reasoning. Chinese: 老耿端起枪,眯缝起一只三角眼,一搂扳机响了枪,冰雹般的金麻雀劈哩啪啦往下落,铁砂子在柳枝间飞迸着,嚓嚓有声。 English:<|end|> <|assistant|> (1) GPU = NVIDIA L40. Max memory = 44.309 GB. 7.119 GB of memory reserved. found 6 checkpoints: ['checkpoint-35', 'checkpoint-70', 'checkpoint-105', 'checkpoint-140', 'checkpoint-175', 'checkpoint-210'] Running from epoch 1 to 6 Epoch 1 loading adapter: llama-factory/saves/Phi-3.5-mini-instruct/checkpoint-35 0%| | 0/1133 [00:00 model, tokenizer = load_model( ^^^^^^^^^^^ File "/common/home/users/d/dh.huang.2023/common2/code/rapget-translation/llm_toolkit/llm_utils.py", line 99, in load_model adapter_name = model.load_adapter(adapter_name_or_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/common/home/users/d/dh.huang.2023/.conda/envs/llm-perf-bench/lib/python3.11/site-packages/transformers/integrations/peft.py", line 176, in load_adapter adapter_config_file = find_adapter_config_file( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/common/home/users/d/dh.huang.2023/.conda/envs/llm-perf-bench/lib/python3.11/site-packages/transformers/utils/peft_utils.py", line 88, in find_adapter_config_file adapter_cached_filename = cached_file( ^^^^^^^^^^^^ File "/common/home/users/d/dh.huang.2023/.conda/envs/llm-perf-bench/lib/python3.11/site-packages/transformers/utils/hub.py", line 466, in cached_file raise EnvironmentError( OSError: Incorrect path_or_model_id: 'llama-factory/saves/Phi-3.5-mini-instruct/best_checkpoint'. Please provide either the path to a local folder or the repo_id of a model on the Hub. srun: error: lexicon: task 0: Exited with exit code 1 srun: Terminating StepId=80154.0 Job ID: 80154 Cluster: crimson User/Group: dh.huang.2023/dh.huang.2023 State: FAILED (exit code 1) Nodes: 1 Cores per node: 10 CPU Utilized: 03:11:34 CPU Efficiency: 9.88% of 1-08:19:50 core-walltime Job Wall-clock time: 03:13:59 Memory Utilized: 4.18 GB Memory Efficiency: 1.63% of 256.00 GB