Skip to content

[Bug] Runtime error in google colab #1554

Closed
@borisalmonacid

Description

@borisalmonacid

What happened?

This file https://github.com/oumi-ai/oumi/blob/main/notebooks/Oumi%20-%20Finetuning%20Tutorial.ipynb

In google colab get the following error message:

Image


ValueError Traceback (most recent call last)
in <cell line: 0>()
----> 1 from oumi.builders import build_tokenizer
2 from oumi.core.configs import ModelParams
3 from oumi.datasets import PromptResponseDataset
4
5 # Initialize the dataset

10 frames
/usr/local/lib/python3.11/dist-packages/numpy/random/_pickle.py in
----> 1 from .mtrand import RandomState
2 from ._philox import Philox
3 from ._pcg64 import PCG64, PCG64DXSM
4 from ._sfc64 import SFC64
5

numpy/random/mtrand.pyx in init numpy.random.mtrand()

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Steps to reproduce the bug

1.- open in google colab this file https://github.com/oumi-ai/oumi/blob/main/notebooks/Oumi%20-%20Finetuning%20Tutorial.ipynb

2.- run the project

System Info

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageThis issue needs review by the core team.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions