-
Couldn't load subscription status.
- Fork 1.8k
Description
mlc_chat convert_weight --model-type ${MODEL_TYPE} ./dist/models/${MODEL_NAME}/ --quantization $QUANTIZATION -o dist/$MODEL_NAME/
[2024-02-15 11:19:53] INFO auto_config.py:115: Found model configuration: dist/models/MiniCPM-V/config.json
Error Message:
raise_last_ffi_error
raise py_err
tvm._ffi.base.TVMError: Traceback (most recent call last):
4: _ZN3tvm7runtime13PackedFun
3: tvm::runtime::TypedPackedFunc<tvm::RelayExpr (tvm::RelayExpr, tvm::runtime::ObjectRef)>::AssignTypedLambda<tvm::RelayExpr ()(tvm::RelayExpr, tvm::runtime::ObjectRef)>(tvm::RelayExpr ()(tvm::RelayExpr, tvm::runtime::ObjectRef), std::__cxx11::basic_string<char, std::char_traits, std::allocator >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}::operator()(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*) const
2: tvm::relax::reshape(tvm::RelayExpr, tvm::runtime::ObjectRef)
1: tvm::relax::ConvertNewShapeToExpr(tvm::RelayExpr const&, tvm::runtime::ObjectRef const&)
0: _ZN3tvm7runtime6deta
File "/workspace/tvm/src/relax/op/tensor/manipulate.cc", line 675
TVMError: Check failed: (_len != nullptr) is false: Reshape only expects the input new shape to be either an Expr or an Array of PrimExprs. However, the given new shape is [[1, 1152, 1, 1]]
[11:19:55] /workspace/tvm/src/relax/ir/block_builder.cc:65: Warning: BlockBuilder destroyed with remaining blocks!