Skip to content

Need trust_remote_code options for DJL inference #4063

@Mavlarn

Description

@Mavlarn

For deepspeed in DJL inference, there is a new options "trust_remote_code". When we deploy some model like Falcon, we need this option. But when I use DeepSpeedModel class to create model object and deploy, it can not pass this option. So I had to use the original way to provide a dir with serving.properties file to deploy with DJL. It will be handy if DJLModel can provide this args.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions