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
We want to add SAM2 from https://github.com/facebookresearch/sam2?tab=readme-ov-file#download-checkpoints to TorchBench so that it can be included as part of PT2 OSS benchmark run.
cc @kit1980 Let's take this opportunity to follow @xuzhao9 documentation in https://github.com/pytorch/benchmark/blob/main/torchbenchmark/models/ADDING_MODELS.md to add the model.
cc @cpuhrsch
The text was updated successfully, but these errors were encountered:
cc @josephgreer
Sorry, something went wrong.
In particular we'd need the backbone models with the various configurations checkpoints loaded via
https://github.com/pytorch/ao/blob/522f5b854a278ee9e68e80bf8213e19c9da4e547/examples/sam2_amg_server/server.py#L472-L480
It's sufficient to use the resulting model for a particular task to exercise this. For example https://github.com/pytorch/ao/blob/522f5b854a278ee9e68e80bf8213e19c9da4e547/examples/sam2_amg_server/server.py#L294 on some example shape such as https://github.com/pytorch/ao/blob/522f5b854a278ee9e68e80bf8213e19c9da4e547/examples/sam2_amg_server/server.py#L63 after instantiating an instance via https://github.com/pytorch/ao/blob/522f5b854a278ee9e68e80bf8213e19c9da4e547/examples/sam2_amg_server/server.py#L478-L480
huydhn
No branches or pull requests
We want to add SAM2 from https://github.com/facebookresearch/sam2?tab=readme-ov-file#download-checkpoints to TorchBench so that it can be included as part of PT2 OSS benchmark run.
cc @kit1980 Let's take this opportunity to follow @xuzhao9 documentation in https://github.com/pytorch/benchmark/blob/main/torchbenchmark/models/ADDING_MODELS.md to add the model.
cc @cpuhrsch
The text was updated successfully, but these errors were encountered: