Mattt

Results 266 comments of Mattt

Hi @raulmabe-labhouse. This looks like an error produced by the model. If you go to replicate.com, you should see a failed prediction on your dashboard. If you share the prediction...

Hi @yan5xu. Thanks for reporting this. It was our intention for context cancellation to return without an error. Can you share what error is being produced?

@yan5xu Thank you for clarifying. If the error happens because the context is canceled for the original HTTP request for the stream, I think it's reasonable to bubble that up....

@alexfredo My understanding is that the instructions for building from source should work on WSL2. Can you give that a try?

@alexfredo I'm glad you were able to install the CLI that way. It looks like the issue you're seeing now has to do with the `open_file_explorer` method: https://github.com/cbh123/youtune/blob/68c00b7619c98ef4fd24e50a33c043c77e6f1ee1/tune.py#L109-L118 @cbh123 Can...

@jlewi Support for listing deployments landed in [v0.8.0](https://github.com/replicate/cli/releases/tag/v0.8.0). Adding a `--filter` option seems like a nice touch. In the meantime, you can filter with `jq`: ```shell replicate deployments list |...

Hi @jbilcke-hf. Thanks for writing in. I believe that warning relates to [this code](https://github.com/replicate/replicate-javascript/blob/fa38a54e08220ab1e4f835c318c9e142a4cd9439/lib/util.js#L92-L106) which dynamically requires `node:crypto` as needed. Is your project is using Webpack or Turbopack? Can you...

Hi @danny-hunt. Sorry for all the noise. You should be able to suppress this by adding the following to your `webpack.config.{js,ts}` file: ```diff ignoreWarnings: [ + { + module: /replicate/,...

Hi @cdreier @AnwarChakhar. Sorry for the confusion. The method you're looking for is [`CreatePredictionWithModel`](https://github.com/replicate/replicate-go/blob/972c92e610e32559c8b2587daed99290209c9e41/model.go#L169).

Closing this as resolved. @cdreier Let me know if you're having any problems with this, and I'll be happy to take a look.