Skip to content
New issue

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

Please release version 0.22.0 and 0.23.0 of mleap-spring-boot on dockerhub #857

Open
ronandoolan2 opened this issue Jun 28, 2023 · 5 comments

Comments

@ronandoolan2
Copy link
Contributor

Hi,

Only up to version 0.21.0 is released on dockerhub, could you please release the latest version?

Alternatively could you add a dockerfile for building mleap, or better instructions?
I have
sbt : 1.4.9
java: 11
scala: 2.12.13

Yet still get an error when trying to build mleap.

Thanks,
Ronan

@ronandoolan2
Copy link
Contributor Author

[info] welcome to sbt 1.4.9 (Ubuntu Java 11.0.19)
[info] loading settings for project mleap-build from plugins.sbt ...
[info] loading project definition from /home/ronan/Workspace/mleap/project
[info] loading settings for project mleap from build.sbt,version.sbt ...
[info] loading settings for project mleap-base from build.sbt ...
[info] loading settings for project bundle-ml from build.sbt ...
[info] loading settings for project bundle-hdfs from build.sbt ...
[info] loading settings for project mleap-tensor from build.sbt ...
[info] loading settings for project mleap-core from build.sbt ...
[info] loading settings for project mleap-runtime from build.sbt ...
[info] loading settings for project mleap-avro from build.sbt ...
[info] loading settings for project mleap-spark-base from build.sbt ...
[info] loading settings for project mleap-spark-testkit from build.sbt ...
[info] loading settings for project mleap-spark from build.sbt ...
[info] loading settings for project mleap-spark-extension from build.sbt ...
[info] loading settings for project mleap-tensorflow from build.sbt ...
[info] loading settings for project mleap-xgboost-runtime from build.sbt ...
[info] loading settings for project mleap-xgboost-spark from build.sbt ...
[info] loading settings for project mleap-serving from build.sbt ...
[info] loading settings for project mleap-executor from build.sbt ...
[info] loading settings for project mleap-executor-testkit from build.sbt ...
[info] loading settings for project mleap-executor-tests from build.sbt ...
[info] loading settings for project mleap-repository-s3 from build.sbt ...
[info] loading settings for project mleap-grpc from build.sbt ...
[info] loading settings for project mleap-grpc-server from build.sbt ...
[info] loading settings for project mleap-benchmark from build.sbt ...
[info] loading settings for project mleap-spring-boot from build.sbt ...
[info] loading settings for project mleap-databricks-runtime-fat from build.sbt ...
[info] loading settings for project mleap-databricks-runtime from build.sbt ...
[info] loading settings for project mleap-databricks-runtime-testkit from build.sbt ...
[info] resolving key references (29576 settings) ...
[info] set current project to mleap (in build file:/home/ronan/Workspace/mleap/)
[info] Installing the s3:// URLStreamHandler via java.net.URL.setURLStreamHandlerFactory
[info] Creating a new Ivy URLHandlerDispatcher to handle s3:// URLs
[warn] there's a key that's not used by any other settings/tasks:
[warn]
[warn] * mleap-xgboost-spark / test / javaOptions
[warn] +- /home/ronan/Workspace/mleap/mleap-xgboost-spark/build.sbt:3
[warn]
[warn] note: a setting might still be used by a command; to exclude a key from this lintUnused check
[warn] either append it to Global / excludeLintKeys or call .withRank(KeyRanks.Invisible) on the key
[info] Executing in batch mode. For better performance use sbt's shell
[info] compiling 28 Scala sources to /home/ronan/Workspace/mleap/bundle-ml/target/scala-2.12/classes ...
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:6:11: object bundle is not a member of package ml
[error] import ml.bundle._
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:293:55: not found: type Bundle
[error] implicit val bundleBundleInfoFormat: RootJsonFormat[Bundle] = jsonFormat6(Bundle.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:292:50: not found: type Model
[error] implicit val bundleModelFormat: RootJsonFormat[Model] = jsonFormat2(Model.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:291:49: not found: type Node
[error] implicit val bundleNodeFormat: RootJsonFormat[Node] = jsonFormat2(Node.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:285:51: not found: type Attributes
[error] implicit val bundleAttributesFormat: JsonFormat[Attributes] = new JsonFormat[Attributes] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:271:47: not found: type Format
[error] implicit val bundleFormatFormat: JsonFormat[Format] = new JsonFormat[Format] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:244:46: not found: type Value
[error] implicit val bundleValueFormat: JsonFormat[Value] = new JsonFormat[Value] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:207:45: type List takes type parameters
[error] implicit val bundleListFormat: JsonFormat[List] = new JsonFormat[List] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:157:47: not found: type Tensor
[error] implicit val bundleTensorFormat: JsonFormat[Tensor] = new JsonFormat[Tensor] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:120:47: not found: type Scalar
[error] implicit val bundleScalarFormat: JsonFormat[Scalar] = new JsonFormat[Scalar] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:105:50: not found: type NodeShape
[error] implicit val bundleNodeShapeFormat: JsonFormat[NodeShape] = new JsonFormat[NodeShape] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:103:47: not found: type Socket
[error] implicit val bundleSocketFormat: JsonFormat[Socket] = jsonFormat2(Socket.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:102:46: not found: type Field
[error] implicit val bundleFieldFormat: JsonFormat[Field] = jsonFormat2(Field.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:101:49: not found: type DataType
[error] implicit val bundleDataTypeFormat: JsonFormat[DataType] = jsonFormat2(DataType.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:99:50: not found: type DataShape
[error] implicit val bundleDataShapeFormat: JsonFormat[DataShape] = jsonFormat3(DataShape.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:84:54: not found: type DataShapeType
[error] implicit val bundleDataShapeTypeFormat: JsonFormat[DataShapeType] = new JsonFormat[DataShapeType] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:83:52: not found: type TensorShape
[error] implicit val bundleTensorShapeFormat: JsonFormat[TensorShape] = jsonFormat1(TensorShape.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:82:56: not found: type TensorDimension
[error] implicit val bundleTensorDimensionFormat: JsonFormat[TensorDimension] = jsonFormat2(TensorDimension.apply)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/json/JsonSupport.scala:31:50: not found: type BasicType
[error] implicit val bundleBasicTypeFormat: JsonFormat[BasicType] = new JsonFormat[BasicType] {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/BundleFile.scala:98:84: object bundle is not a member of package ml
[error] Try(new String(Files.readAllBytes(bundleJson), "UTF-8").parseJson.convertTo[ml.bundle.Bundle]).
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:133:29: object bundle is not a member of package ml
[error] def fromBundle(bundle: ml.bundle.Bundle): BundleInfo = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/BundleFile.scala:99:22: missing argument list for method fromBundle in object BundleInfo
[error] Unapplied methods are only converted to functions when a function type is expected.
[error] You can make this conversion explicit by writing fromBundle _ or fromBundle(_) instead of fromBundle.
[error] map(BundleInfo.fromBundle)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/BundleWriter.scala:20:40: object bundle is not a member of package ml
[error] meta: Option[ml.bundle.Attributes] = None) {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/BundleWriter.scala:23:22: object bundle is not a member of package ml
[error] def meta(value: ml.bundle.Attributes): BundleWriter[Context, Transformer] = copy(meta = Some(value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:122:52: object bundle is not a member of package ml
[error] meta: Option[ml.bundle.Attributes] = None): Bundle[Transformer] = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Attributes.scala:87:28: object bundle is not a member of package ml
[error] def fromBundle(attrs: ml.bundle.Attributes): Attributes = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Attributes.scala:106:20: object bundle is not a member of package ml
[error] def asBundle: ml.bundle.Attributes = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:274:28: object bundle is not a member of package ml
[error] case class Value(value: ml.bundle.Value) {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Attributes.scala:111:8: object bundle is not a member of package ml
[error] ml.bundle.Attributes(attrs)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:156:39: object bundle is not a member of package ml
[error] meta: Option[ml.bundle.Attributes]) {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:157:20: object bundle is not a member of package ml
[error] def asBundle: ml.bundle.Bundle = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:158:8: object bundle is not a member of package ml
[error] ml.bundle.Bundle(uid = uid.toString,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:158:26: reassignment to val
[error] ml.bundle.Bundle(uid = uid.toString,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:159:12: reassignment to val
[error] name = name,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:160:14: reassignment to val
[error] format = format.asBundle,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:161:15: reassignment to val
[error] version = version,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:162:17: reassignment to val
[error] timestamp = timestamp,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Bundle.scala:163:12: reassignment to val
[error] meta = meta
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Model.scala:3:8: object bundle is not a member of package ml
[error] import ml.bundle
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Model.scala:13:25: not found: value bundle
[error] def fromBundle(model: bundle.Model): Model = Model(op = model.op,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Model.scala:34:17: not found: value bundle
[error] def asBundle: bundle.Model = bundle.Model(op = op,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Model.scala:34:32: not found: value bundle
[error] def asBundle: bundle.Model = bundle.Model(op = op,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Model.scala:34:48: reassignment to val
[error] def asBundle: bundle.Model = bundle.Model(op = op,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Model.scala:35:16: reassignment to val
[error] attributes = Some(attributes.asBundle))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Node.scala:11:27: object bundle is not a member of package ml
[error] def fromBundle(node: ml.bundle.Node): Node = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:42:28: object bundle is not a member of package ml
[error] def fromBundle(shape: ml.bundle.NodeShape): NodeShape = NodeShape(inputs = shape.inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Node.scala:35:20: object bundle is not a member of package ml
[error] def asBundle: ml.bundle.Node = ml.bundle.Node(name = name,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Node.scala:35:37: object bundle is not a member of package ml
[error] def asBundle: ml.bundle.Node = ml.bundle.Node(name = name,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Node.scala:35:54: reassignment to val
[error] def asBundle: ml.bundle.Node = ml.bundle.Node(name = name,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Node.scala:36:11: reassignment to val
[error] shape = Some(shape.asBundle))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:3:11: object bundle is not a member of package ml
[error] import ml.bundle.Socket
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:72:42: not found: type Socket
[error] case class NodeShape private(inputs: Seq[Socket],
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:73:43: not found: type Socket
[error] outputs: Seq[Socket],
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:74:55: not found: type Socket
[error] inputLookup: Map[String, Socket],
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:75:56: not found: type Socket
[error] outputLookup: Map[String, Socket]) {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:26:25: not found: type Socket
[error] def apply(inputs: Seq[Socket],
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:27:26: not found: type Socket
[error] outputs: Seq[Socket]): NodeShape = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:80:20: object bundle is not a member of package ml
[error] def asBundle: ml.bundle.NodeShape = ml.bundle.NodeShape(inputs = inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:80:42: object bundle is not a member of package ml
[error] def asBundle: ml.bundle.NodeShape = ml.bundle.NodeShape(inputs = inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:80:66: reassignment to val
[error] def asBundle: ml.bundle.NodeShape = ml.bundle.NodeShape(inputs = inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:81:13: reassignment to val
[error] outputs = outputs)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:89:22: not found: type Socket
[error] def standardInput: Socket = input(NodeShape.standardInputPort)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:139:28: not found: type Socket
[error] def input(port: String): Socket = inputLookup(port)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:97:23: not found: type Socket
[error] def standardOutput: Socket = output(NodeShape.standardOutputPort)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:146:29: not found: type Socket
[error] def output(port: String): Socket = outputLookup(port)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:131:23: object bundle is not a member of package ml
[error] def bundleShape: ml.bundle.NodeShape = ml.bundle.NodeShape(inputs = inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:131:45: object bundle is not a member of package ml
[error] def bundleShape: ml.bundle.NodeShape = ml.bundle.NodeShape(inputs = inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:131:69: reassignment to val
[error] def bundleShape: ml.bundle.NodeShape = ml.bundle.NodeShape(inputs = inputs,
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:132:13: reassignment to val
[error] outputs = outputs)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:153:38: not found: type Socket
[error] def getInput(port: String): Option[Socket] = inputLookup.get(port)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:160:39: not found: type Socket
[error] def getOutput(port: String): Option[Socket] = outputLookup.get(port)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:171:18: not found: value Socket
[error] val socket = Socket(port, name)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/NodeShape.scala:186:18: not found: value Socket
[error] val socket = Socket(port, name)
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:4:11: object bundle is not a member of package ml
[error] import ml.bundle.{BasicType, DataShape, DataType, List, Scalar, Tensor}
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:29:52: not found: type Tensor
[error] def tensorValue(tensor: mleap.tensor.Tensor[_]): Tensor = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/tensor/TensorSerializer.scala:4:11: object bundle is not a member of package ml
[error] import ml.bundle.{BasicType, Tensor, TensorDimension, TensorShape}
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/tensor/TensorSerializer.scala:27:40: not found: type Tensor
[error] def toProto[T](t: tensor.Tensor[T]): Tensor = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:33:27: not found: type Scalar
[error] def scalarValue(scalar: Scalar): Value = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:34:14: object bundle is not a member of package ml
[error] Value(ml.bundle.Value(ml.bundle.Value.V.S(scalar)))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:34:30: object bundle is not a member of package ml
[error] Value(ml.bundle.Value(ml.bundle.Value.V.S(scalar)))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:42:52: not found: value Scalar
[error] def boolean(value: Boolean): Value = scalarValue(Scalar(b = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:42:59: not found: value b
[error] def boolean(value: Boolean): Value = scalarValue(Scalar(b = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:49:46: not found: value Scalar
[error] def byte(value: Byte): Value = scalarValue(Scalar(i = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:49:53: not found: value i
[error] def byte(value: Byte): Value = scalarValue(Scalar(i = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:56:48: not found: value Scalar
[error] def short(value: Short): Value = scalarValue(Scalar(i = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:56:55: not found: value i
[error] def short(value: Short): Value = scalarValue(Scalar(i = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:63:44: not found: value Scalar
[error] def int(value: Int): Value = scalarValue(Scalar(i = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:63:51: not found: value i
[error] def int(value: Int): Value = scalarValue(Scalar(i = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:70:46: not found: value Scalar
[error] def long(value: Long): Value = scalarValue(Scalar(l = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:70:53: not found: value l
[error] def long(value: Long): Value = scalarValue(Scalar(l = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:77:48: not found: value Scalar
[error] def float(value: Float): Value = scalarValue(Scalar(f = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:77:55: not found: value f
[error] def float(value: Float): Value = scalarValue(Scalar(f = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:84:50: not found: value Scalar
[error] def double(value: Double): Value = scalarValue(Scalar(d = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:84:57: not found: value d
[error] def double(value: Double): Value = scalarValue(Scalar(d = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:91:50: not found: value Scalar
[error] def string(value: String): Value = scalarValue(Scalar(s = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:91:57: not found: value s
[error] def string(value: String): Value = scalarValue(Scalar(s = value))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:98:58: not found: value Scalar
[error] def byteString(value: ByteString): Value = scalarValue(Scalar(bs = protobuf.ByteString.copyFrom(value.bytes)))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:98:65: not found: value bs
[error] def byteString(value: ByteString): Value = scalarValue(Scalar(bs = protobuf.ByteString.copyFrom(value.bytes)))
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:105:32: not found: type BasicType
[error] def anyAsType(value: Any, t: BasicType): Value = {
[error] ^
[error] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/dsl/Value.scala:107:12: not found: value BasicType
[error] case BasicType.BYTE => byte(value.asInstanceOf[Byte])
[error] ^
[warn] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/serializer/ModelSerializer.scala:46:37: case classes should have a non-implicit parameter list; adapting to 'case class JsonFormatModelSerializer()(...)'
[warn] case class JsonFormatModelSerializer(implicit hr: HasBundleRegistry) extends FormatModelSerializer {
[warn] ^
[warn] /home/ronan/Workspace/mleap/bundle-ml/src/main/scala/ml/combust/bundle/serializer/ModelSerializer.scala:58:38: case classes should have a non-implicit parameter list; adapting to 'case class ProtoFormatModelSerializer()(...)'
[warn] case class ProtoFormatModelSerializer(implicit hr: HasBundleRegistry) extends FormatModelSerializer {
[warn] ^
[warn] two warnings found
[error] 100 errors found
[error] (bundle-ml / Compile / compileIncremental) Compilation failed
[error] Total time: 34 s, completed Jun 28, 2023, 11:05:20 AM

@jsleight
Copy link
Contributor

I'll look into the dockerhub at some point (we changed who does the releases and I was not aware we even had a dockerhub artifact).

For your specific error I think you need to initialize the submodules of the mleap repo which contain the bundle logic.

@ronandoolan2
Copy link
Contributor Author

Thanks that's great,

Could you please add the steps for initializing the submodules of the repo to the readme

@ronandoolan2
Copy link
Contributor Author

ronandoolan2 commented Jun 28, 2023

@cappaberra
Copy link
Contributor

cappaberra commented Mar 7, 2024

Bumping this again. ☝️

I ran into the need for the latest (v0.23.1 as of this writing) docker image. Assuming the necessary versions of Scala, sbt, Java, Docker, etc. are installed already, I used the following commands to build the docker image:

git clone https://github.com/combust/mleap.git; cd mleap
git checkout v0.23.1
sbt mleap-serving/docker:stage
cd mleap-serving/target/docker/stage
docker build -t mleap-image:v0.23.1 .

In order for us to build this directly from DockerHub, @jsleight, can you please work on getting the latest (and ideally all missing tagged versions) into there?

Thank you in advance!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants