Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

[Bug]: #104

Open
robinsonmhj opened this issue Nov 16, 2023 · 2 comments
Open

[Bug]: #104

robinsonmhj opened this issue Nov 16, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@robinsonmhj
Copy link

Notebook with bug

LLM_finetuning_and_batch_inference.ipynb

What happened?

Get the following errors while running the following cell
trainer = HuggingFaceTrainer( trainer_init_per_worker=trainer_init_per_worker, scaling_config=ScalingConfig(num_workers=num_workers, use_gpu=use_gpu), datasets={ "train": train_dataset, "evaluation": validation_dataset, }, run_config=RunConfig( checkpoint_config=CheckpointConfig( num_to_keep=1, checkpoint_score_attribute="eval_loss", checkpoint_score_order="min", ), ), preprocessor=batch_preprocessor, )

image

Environment info

ray 2.8 python3.9

Issue Severity

High: It blocks me from completing my task.

@robinsonmhj robinsonmhj added the bug Something isn't working label Nov 16, 2023
@robinsonmhj
Copy link
Author

@kamil-kaczmarek is it possible to update the document or rewrite the function using ray 2.8?

@kamil-kaczmarek
Copy link
Collaborator

Hi @robinsonmhj, thanks for pointing this out.

We introduced new, simpler API in Ray 2.7, including unified Torch based Trainers.

Have a look at new integration with Transformers, that will help you navigate the transition.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants