instadeepai / instadeepai/winnow

Update the getting_started_with_winnow notebook

Open
#215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
11
Forks
2
Avg merge
1d 8h
Merged PRs (30d)
1

Description

Summary:

Update the getting_started_with_winnow.ipynb notebook to be compatible with the latest version of Winnow and make sure it can run on Google Colab.

Additional Notes:

The current version fails on Google Colab with:

ImportError                               Traceback (most recent call last)
[/tmp/ipykernel_4389/2835199764.py](https://localhost:8080/#) in <cell line: 0>()
     10 from huggingface_hub import list_repo_files, snapshot_download
     11 
---> 12 from winnow.calibration.calibration_features import (
     13     BeamFeatures,
     14     CalibrationFeatures,

14 frames
[/usr/local/lib/python3.12/dist-packages/numpy/_core/strings.py](https://localhost:8080/#) in <module>
     20 from numpy._core.multiarray import _vec_string
     21 from numpy._core.overrides import array_function_dispatch, set_module
---> 22 from numpy._core.umath import (
     23     _center,
     24     _expandtabs,

ImportError: cannot import name '_center' from 'numpy._core.umath' (/usr/local/lib/python3.12/dist-packages/numpy/_core/umath.py)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open getting_started_with_winnow.ipynb and reproduce the failure in Google Colab, starting with the installation and import cells around winnow.calibration.calibration_features. Update the notebook for the latest Winnow and compatible dependencies, then run its cells end to end to confirm it completes without the reported NumPy ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, numpy, python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.