We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
platform freebsd12 -- Python 3.7.10, pytest-4.5.0, py-1.9.0, pluggy-0.13.1 rootdir: /disk-samsung/freebsd-ports/misc/py-xgboost/work-py37/xgboost-1.4.1 plugins: hypothesis-5.49.0, forked-1.0.2, xdist-1.32.0 collected 292 items / 2 errors / 2 skipped / 288 selected =========================================================================================== ERRORS =========================================================================================== ______________________________________________________________________ ERROR collecting tests/distributed/test_basic.py ______________________________________________________________________ tests/distributed/test_basic.py:8: in <module> dtrain = xgb.DMatrix('../../demo/data/agaricus.txt.train') /usr/local/lib/python3.7/site-packages/xgboost/core.py:433: in inner_f return f(**kwargs) /usr/local/lib/python3.7/site-packages/xgboost/core.py:544: in __init__ enable_categorical=enable_categorical, /usr/local/lib/python3.7/site-packages/xgboost/data.py:559: in dispatch_data_backend return _from_uri(data, missing, feature_names, feature_types) /usr/local/lib/python3.7/site-packages/xgboost/data.py:499: in _from_uri ctypes.byref(handle))) /usr/local/lib/python3.7/site-packages/xgboost/core.py:210: in _check_call raise XGBoostError(py_str(_LIB.XGBGetLastError())) E xgboost.core.XGBoostError: [13:38:11] /wrkdirs/usr/ports/devel/dmlc-core/work/dmlc-core-0.3-123-gb3a4c71/src/io/local_filesys.cc:104: LocalFileSystem.ListDirectory ../../demo/data error: No such file or directory E Stack trace: E [bt] (0) 0x856daad1f <dmlc::LogMessageFatal::~LogMessageFatal()+0x6f> at /usr/local/lib/libxgboost.so E [bt] (1) 0x85700ca66 <dmlc::io::LocalFileSystem::ListDirectory(dmlc::io::URI const&, std::__1::vector<dmlc::io::FileInfo, std::__1::allocator<dmlc::io::FileInfo> >*)+0x196> at /usr/local/lib/libdmlc.so E [bt] (2) 0x856ffc8de <dmlc::io::InputSplitBase::ConvertToURIs(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+0x23e> at /usr/local/lib/libdmlc.so E [bt] (3) 0x856ffba65 <dmlc::io::InputSplitBase::InitInputFileInfo(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)+0x45> at /usr/local/lib/libdmlc.so E [bt] (4) 0x856ffb843 <dmlc::io::InputSplitBase::Init(dmlc::io::FileSystem*, char const*, unsigned long, bool)+0xd3> at /usr/local/lib/libdmlc.so E [bt] (5) 0x856ff2635 <dmlc::io::LineSplitter::LineSplitter(dmlc::io::FileSystem*, char const*, unsigned int, unsigned int)+0xd5> at /usr/local/lib/libdmlc.so E [bt] (6) 0x856ff1a50 <dmlc::InputSplit::Create(char const*, char const*, unsigned int, unsigned int, char const*, bool, int, unsigned long, bool)+0x2c0> at /usr/local/lib/libdmlc.so E [bt] (7) 0x856ff1782 <dmlc::InputSplit::Create(char const*, unsigned int, unsigned int, char const*)+0x22> at /usr/local/lib/libdmlc.so ___________________________________________________________________ ERROR collecting tests/python-gpu/test_large_input.py ____________________________________________________________________ ImportError while importing test module '/disk-samsung/freebsd-ports/misc/py-xgboost/work-py37/xgboost-1.4.1/tests/python-gpu/test_large_input.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/python-gpu/test_large_input.py:3: in <module> import cupy as cp E ModuleNotFoundError: No module named 'cupy' ====================================================================================== warnings summary ====================================================================================== tests/python/test_ranking.py:139 /disk-samsung/freebsd-ports/misc/py-xgboost/work-py37/xgboost-1.4.1/tests/python/test_ranking.py:139: PytestAssertRewriteWarning: assertion is always true, perhaps remove parentheses? assert (set(cv.keys()) == {'test-ndcg-mean', 'train-ndcg-mean', 'test-ndcg-std', /usr/local/lib/python3.7/site-packages/_pytest/mark/structures.py:324 /usr/local/lib/python3.7/site-packages/_pytest/mark/structures.py:324 /usr/local/lib/python3.7/site-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.mgpu - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, -- Docs: https://docs.pytest.org/en/latest/warnings.html !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ======================================================================= 2 skipped, 3 warnings, 2 error in 6.39 seconds ======================================================================= *** Error code 2
How to test without CUDA?
The text was updated successfully, but these errors were encountered:
You should ignore all tests under the diretory tests/python-gpu, as they depend on the existence of CUDA.
tests/python-gpu
Sorry, something went wrong.
No branches or pull requests
How to test without CUDA?
The text was updated successfully, but these errors were encountered: