Closed viclafargue closed 1 month ago
@viclafargue seems like the test ran into an issue in the pytest in some jobs:
=================================== FAILURES ===================================
________________________ test_serialize_before_training ________________________
client = <Client: 'tcp://127.0.0.1:45687' processes=1 threads=1, memory=251.77 GiB>
def test_serialize_before_training(client):
X, y = make_regression(n_samples=1000, n_features=20, random_state=0)
X, y = da.from_array(X), da.from_array(y)
model = LinearRegression(client=client)
> pickled_model = pickle.dumps(model)
test_dask_serialization.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cuml.dask.linear_model.linear_regression.LinearRegression object at 0x7fca696b4510>
def __getstate__(self):
> internal_model = self._get_internal_model().result()
E AttributeError: 'NoneType' object has no attribute 'result'
/opt/conda/envs/test/lib/python3.11/site-packages/cuml/dask/common/base.py:60: AttributeError
@viclafargue seems like the test ran into an issue in the pytest in some jobs:
That's really strange, might possibly be missing something, but isn't there an issue with the CI?
Attention: Patch coverage is 0%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 67.15%. Comparing base (
ef7a61d
) to head (39af9c2
).
Files with missing lines | Patch % | Lines |
---|---|---|
python/cuml/cuml/dask/common/base.py | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
/merge
Partially answers https://github.com/rapidsai/cuml/issues/6046