Skip to content

Validate QLoRA vs LoRA comparison fix - #592

Closed
albertoperdomo2 wants to merge 7 commits into
openshift-psap:mainfrom
albertoperdomo2:mistral_qlora_lora_comparison
Closed

albertoperdomo2 wants to merge 7 commits into
openshift-psap:mainfrom
albertoperdomo2:mistral_qlora_lora_comparison

Conversation

@albertoperdomo2

Copy link
Copy Markdown
Collaborator

No description provided.

@psap-forge-bot

Copy link
Copy Markdown

Jenkins Job #1691

🔴 Test of 'rhoai test test_ci' failed after 00 hours 52 minutes 51 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

# RHOAI: run fine_tuning test test_ci
PR_POSITIONAL_ARGS: ibm_lora_qlora_models
PR_POSITIONAL_ARG_0: fine_tuning-perf-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

• Link to the Rebuild page.

Failure indicator:

/logs/artifacts/000_test_ci/000__matbenchmarking/FAILURE | MatrixBenchmark benchmark failed.
/logs/artifacts/000_test_ci/000__matbenchmarking/qlora/000__qlora/002__fms_fine_tuning/000__fine_tuning__run_fine_tuning_job/FAILURE | [000__fine_tuning__run_fine_tuning_job] ./run_toolbox.py from_config fine_tuning run_fine_tuning_job --extra={'name': 'qlora', 'model_name': 'mistral-7b-v0.3-gptq', 'dataset_name': 'alpaca_data.json', 'gpu': 4, 'dataset_replication': 0.5, 'pod_count': 1, 'hyper_parameters': {'fp16': True, 'gradient_accumulation_steps': 4, 'gradient_checkpointing': False, 'lora_alpha': 16, 'max_seq_length': 1024, 'max_steps': -1, 'num_train_epochs': 1, 'packing': False, 'peft_method': 'lora', 'per_device_train_batch_size': 16, 'r': 4, 'torch_dtype': 'float16', 'use_flash_attn': True, 'warmup_ratio': 0.03, 'auto_gptq': ['triton_v2'], 'target_modules': ['all-linear']}, 'dataset_transform': 'convert_alpaca.py'} --> 2
/logs/artifacts/000_test_ci/000__matbenchmarking/qlora/000__qlora/002__fms_fine_tuning/FAILURE | CalledProcessError: Command 'set -o errexit;set -o pipefail;set -o nounset;set -o errtrace;ARTIFACT_DIR="/logs/artifacts/000_test_ci/000__matbenchmarking/qlora/000__qlora/002__fms_fine_tuning" ./run_toolbox.py from_config fine_tuning run_fine_tuning_job --extra="{'name': 'qlora', 'model_name': 'mistral-7b-v0.3-gptq', 'dataset_name': 'alpaca_data.json', 'gpu': 4, 'dataset_replication': 0.5, 'pod_count': 1, 'hyper_parameters': {'fp16': True, 'gradient_accumulation_steps': 4, 'gradient_checkpointing': False, 'lora_alpha': 16, 'max_seq_length': 1024, 'max_steps': -1, 'num_train_epochs': 1, 'packing': False, 'peft_method': 'lora', 'per_device_train_batch_size': 16, 'r': 4, 'torch_dtype': 'float16', 'use_flash_attn': True, 'warmup_ratio': 0.03, 'auto_gptq': ['triton_v2'], 'target_modules': ['all-linear']}, 'dataset_transform': 'convert_alpaca.py'}"' returned non-zero exit status 2.
Traceback (most recent call last):
  File "/opt/topsail/src/projects/fine_tuning/testing/test_finetuning.py", line 141, in _run_test
    run.run_toolbox_from_config("fine_tuning", "run_fine_tuning_job",
  File "/opt/topsail/src/projects/core/library/run.py", line 49, in run_toolbox_from_config
    return run(f'{cmd_env} ./run_toolbox.py from_config {group} {command} {_dict_to_run_toolbox_args(kwargs)}', **run_kwargs)
  File "/opt/topsail/src/projects/core/library/run.py", line 105, in run
    proc = subprocess.run(command, **args)

[...]

[Test ran on the internal Perflab CI]

@psap-forge-bot

Copy link
Copy Markdown

Jenkins Job #1692

🟢 Test of 'rhoai test test_ci' succeeded after 04 hours 01 minutes 34 seconds. 🟢

• Link to the test results.

• Link to the reports index.

Test configuration:

# RHOAI: run fine_tuning test test_ci
PR_POSITIONAL_ARGS: ibm_lora_qlora_models
PR_POSITIONAL_ARG_0: fine_tuning-perf-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

• Link to the Rebuild page.

[Test ran on the internal Perflab CI]

@psap-forge-bot

Copy link
Copy Markdown

Jenkins Job #1693

🟢 Test of 'rhoai test test_ci' succeeded after 02 hours 09 minutes 45 seconds. 🟢

• Link to the test results.

• Link to the reports index.

Test configuration:

# RHOAI: run fine_tuning test test_ci
PR_POSITIONAL_ARGS: ibm_lora_qlora_models
PR_POSITIONAL_ARG_0: fine_tuning-perf-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

• Link to the Rebuild page.

[Test ran on the internal Perflab CI]

@albertoperdomo2
albertoperdomo2 force-pushed the mistral_qlora_lora_comparison branch from 7793ee2 to 70043ec Compare January 8, 2025 08:02
@openshift-ci

openshift-ci Bot commented Jan 8, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from albertoperdomo2. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@psap-forge-bot

psap-forge-bot Bot commented Jan 8, 2025

Copy link
Copy Markdown

Jenkins Job #1821

🔴 Test of 'rhoai test test_ci' failed after 00 hours 18 minutes 32 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

# RHOAI: run fine_tuning test test_ci
PR_POSITIONAL_ARGS: ibm_lora_qlora_models
PR_POSITIONAL_ARG_0: fine_tuning-perf-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

• Link to the Rebuild page.

Failure indicator:

/logs/artifacts/000_test_ci/001__matbenchmarking/FAILURE | MatrixBenchmark benchmark failed.
/logs/artifacts/000_test_ci/001__matbenchmarking/qlora/000__qlora/001__prepare_data/000__storage__download_to_pvc/FAILURE | [000__storage__download_to_pvc] ./run_toolbox.py from_config storage download_to_pvc --extra={'source': 'dmf://rhoai/mistral-7b-v0.3-gptq', 'storage_dir': '/model', 'name': 'mistral-7b-v0.3-gptq', 'image': 'quay.io/modh/fms-hf-tuning:v2.0.1', 'creds': '/tmp/secrets/dmf.token'} --> 2


[Test ran on the internal Perflab CI]

@psap-forge-bot

psap-forge-bot Bot commented Jan 9, 2025

Copy link
Copy Markdown

Jenkins Job #1827

🟢 Test of 'rhoai test test_ci' succeeded after 00 hours 50 minutes 21 seconds. 🟢

• Link to the test results.

• Link to the reports index.

Test configuration:

# RHOAI: run fine_tuning test test_ci
PR_POSITIONAL_ARGS: ibm_lora_qlora_models
PR_POSITIONAL_ARG_0: fine_tuning-perf-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

• Link to the Rebuild page.

[Test ran on the internal Perflab CI]

@albertoperdomo2
albertoperdomo2 force-pushed the mistral_qlora_lora_comparison branch from c97ebb3 to 27f5f0b Compare January 9, 2025 14:01
@albertoperdomo2

albertoperdomo2 commented Jan 9, 2025 •

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models

@psap-forge-bot

psap-forge-bot Bot commented Jan 9, 2025

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test pre_cleanup_ci' failed after 00 hours 00 minutes 00 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

Failure indicator: Empty. (See run.log)

@albertoperdomo2

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models

@psap-forge-bot

psap-forge-bot Bot commented Jan 9, 2025

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test pre_cleanup_ci' failed after 00 hours 00 minutes 04 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

Failure indicator: Empty. (See run.log)

@albertoperdomo2

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models cluster_rhoai_h100

@psap-forge-bot

psap-forge-bot Bot commented Jan 9, 2025

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test pre_cleanup_ci' failed after 00 hours 00 minutes 03 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models
PR_POSITIONAL_ARG_2: cluster_rhoai_h100

Failure indicator: Empty. (See run.log)

@albertoperdomo2
albertoperdomo2 force-pushed the mistral_qlora_lora_comparison branch from b50700c to df21709 Compare January 9, 2025 16:01
@albertoperdomo2

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models

@psap-forge-bot

psap-forge-bot Bot commented Jan 9, 2025

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test pre_cleanup_ci' failed after 00 hours 00 minutes 03 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

Failure indicator: Empty. (See run.log)

@albertoperdomo2
albertoperdomo2 force-pushed the mistral_qlora_lora_comparison branch from df21709 to cc82c0f Compare January 10, 2025 11:48
@albertoperdomo2

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models

@psap-forge-bot

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test prepare_ci' failed after 00 hours 12 minutes 34 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

Failure indicator:

/logs/artifacts/001__prepare2/001__prepare_data/000__storage__download_to_pvc/FAILURE | [000__storage__download_to_pvc] ./run_toolbox.py from_config storage download_to_pvc --extra={'source': 'https://raw.githubusercontent.com/gururise/AlpacaDataCleaned/main/alpaca_data.json', 'storage_dir': '/dataset', 'name': 'alpaca_data.json'} --> 2


@albertoperdomo2
albertoperdomo2 force-pushed the mistral_qlora_lora_comparison branch from cc82c0f to 8b93a37 Compare January 10, 2025 15:17
@albertoperdomo2

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models

@psap-forge-bot

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test test_ci' failed after 00 hours 00 minutes 22 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

Failure indicator:

/logs/artifacts/001__matbenchmarking/FAILURE | MatrixBenchmark benchmark failed.
/logs/artifacts/001__matbenchmarking/qlora/000__qlora/FAILURE | KeyError: 'secondary_nic_count'
Traceback (most recent call last):
  File "/opt/topsail/src/projects/fine_tuning/testing/test_finetuning.py", line 537, in matbench_run_one
    failed = _run_test([None], test_config) \
  File "/opt/topsail/src/projects/fine_tuning/testing/test_finetuning.py", line 104, in _run_test
    if secondary_nic_count := test_settings.pop("secondary_nic_count"):
KeyError: 'secondary_nic_count'

/logs/artifacts/001__matbenchmarking/qlora_1/000__qlora/FAILURE | KeyError: 'secondary_nic_count'

[...]

@albertoperdomo2
albertoperdomo2 force-pushed the mistral_qlora_lora_comparison branch from 8b93a37 to 5dc805c Compare January 10, 2025 15:46
@albertoperdomo2

Copy link
Copy Markdown
Collaborator Author

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models

@psap-forge-bot

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test test_ci' failed after 00 hours 33 minutes 24 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models

Failure indicator:

/logs/artifacts/001__matbenchmarking/FAILURE | MatrixBenchmark benchmark failed.
/logs/artifacts/001__matbenchmarking/qlora_1/000__qlora/003__fms_fine_tuning/000__fine_tuning__run_fine_tuning_job/FAILURE | [000__fine_tuning__run_fine_tuning_job] ./run_toolbox.py from_config fine_tuning run_fine_tuning_job --extra={'name': 'qlora', 'pod_count': 1, 'model_name': 'mistral-7b-v0.3', 'dataset_name': 'alpaca_data.json', 'gpu': 8, 'dataset_replication': 0.5, 'hyper_parameters': {'gradient_accumulation_steps': 4, 'gradient_checkpointing': False, 'lora_alpha': 16, 'max_seq_length': 2048, 'max_steps': -1, 'num_train_epochs': 1, 'packing': False, 'peft_method': 'lora', 'per_device_train_batch_size': 4, 'r': 4, 'use_flash_attn': True, 'warmup_ratio': 0.03, 'target_modules': ['all-linear']}, 'dataset_transform': 'convert_alpaca.py', 'dataset_response_template': '\n### Label:'} --> 2
/logs/artifacts/001__matbenchmarking/qlora_1/000__qlora/003__fms_fine_tuning/FAILURE | CalledProcessError: Command 'set -o errexit;set -o pipefail;set -o nounset;set -o errtrace;ARTIFACT_DIR="/logs/artifacts/001__matbenchmarking/qlora_1/000__qlora/003__fms_fine_tuning" ./run_toolbox.py from_config fine_tuning run_fine_tuning_job --extra="{'name': 'qlora', 'pod_count': 1, 'model_name': 'mistral-7b-v0.3', 'dataset_name': 'alpaca_data.json', 'gpu': 8, 'dataset_replication': 0.5, 'hyper_parameters': {'gradient_accumulation_steps': 4, 'gradient_checkpointing': False, 'lora_alpha': 16, 'max_seq_length': 2048, 'max_steps': -1, 'num_train_epochs': 1, 'packing': False, 'peft_method': 'lora', 'per_device_train_batch_size': 4, 'r': 4, 'use_flash_attn': True, 'warmup_ratio': 0.03, 'target_modules': ['all-linear']}, 'dataset_transform': 'convert_alpaca.py', 'dataset_response_template': '\n### Label:'}"' returned non-zero exit status 2.
Traceback (most recent call last):
  File "/opt/topsail/src/projects/fine_tuning/testing/test_finetuning.py", line 156, in _run_test
    run.run_toolbox_from_config("fine_tuning", "run_fine_tuning_job",
  File "/opt/topsail/src/projects/core/library/run.py", line 49, in run_toolbox_from_config
    return run(f'{cmd_env} ./run_toolbox.py from_config {group} {command} {_dict_to_run_toolbox_args(kwargs)}', **run_kwargs)
  File "/opt/topsail/src/projects/core/library/run.py", line 105, in run
    proc = subprocess.run(command, **args)

[...]

@kpouget

kpouget commented Jan 10, 2025

Copy link
Copy Markdown
Contributor

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models gpu
/skip pre_cleanup_ci

@kpouget

kpouget commented Jan 10, 2025

Copy link
Copy Markdown
Contributor

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models gpu
/only prepare_ci test_ci

@psap-forge-bot

Copy link
Copy Markdown

🔴 Test of 'fine_tuning test test_ci' failed after 00 hours 25 minutes 56 seconds. 🔴

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models
PR_POSITIONAL_ARG_2: gpu
exec_list._only_: True
exec_list.prepare_ci: True
exec_list.test_ci: True

Failure indicator:

/logs/artifacts/001__matbenchmarking/FAILURE | MatrixBenchmark benchmark failed.


@kpouget

kpouget commented Jan 10, 2025

Copy link
Copy Markdown
Contributor

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models gpu
/only prepare_ci test_ci

@kpouget

kpouget commented Jan 10, 2025

Copy link
Copy Markdown
Contributor

/test jump-ci rhoai-4xh100 fine_tuning ibm_lora_qlora_models gpu
/only test_ci

@psap-forge-bot

Copy link
Copy Markdown

🟢 Test of 'fine_tuning test test_ci' succeeded after 00 hours 53 minutes 28 seconds. 🟢

• Link to the test results.

• Link to the reports index.

Test configuration:

PR_POSITIONAL_ARGS: jump-ci
PR_POSITIONAL_ARG_1: ibm_lora_qlora_models
PR_POSITIONAL_ARG_2: gpu
exec_list._only_: True
exec_list.test_ci: True

@albertoperdomo2
albertoperdomo2 deleted the mistral_qlora_lora_comparison branch January 13, 2025 08:47
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

Successfully merging this pull request may close these issues.

2 participants