{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":346138085,"defaultBranch":"main","name":"pytorchvideo","ownerLogin":"facebookresearch","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-03-09T20:39:13.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/16943930?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1683513925.0","currentOid":""},"activityList":{"items":[{"before":"eb04d1b21e08cfd0713164c0907aeb4c98fd83af","after":"1fadaef40dd393ca09680f55582399f4679fc9b7","ref":"refs/heads/main","pushedAt":"2024-03-03T01:58:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"apply Black 2024 style in fbcode (4/16)\n\nSummary:\nFormats the covered files with pyfmt.\n\npaintitblack\n\nReviewed By: aleivag\n\nDifferential Revision: D54447727\n\nfbshipit-source-id: 8844b1caa08de94d04ac4df3c768dbf8c865fd2f","shortMessageHtmlLink":"apply Black 2024 style in fbcode (4/16)"}},{"before":"fae0d89a194a2c1ca99e59eab6eedd40bde38726","after":"eb04d1b21e08cfd0713164c0907aeb4c98fd83af","ref":"refs/heads/main","pushedAt":"2023-10-30T16:50:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Remove uses of torchvision.transforms.functional_tensor and functional_pil\n\nSummary:\nThese modules have been deprecated for a while and we're removing them.\n\nThe public recommended APIs are in `torchvision.transforms.[v2].functional` (v2 is recommended).\n\nReviewed By: vmoens\n\nDifferential Revision: D49643657\n\nfbshipit-source-id: cb684ede4eec4fd8a4bcf4a03f67afc4ae6cdcaa","shortMessageHtmlLink":"Remove uses of torchvision.transforms.functional_tensor and functiona…"}},{"before":"64e5a17ccefcd6b93ad331d1a9c2a130f179ff44","after":"fae0d89a194a2c1ca99e59eab6eedd40bde38726","ref":"refs/heads/main","pushedAt":"2023-09-20T16:19:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Use torchdynamo compatible backward API for Swish (#248)\n\nSummary:\nPull Request resolved: https://github.com/facebookresearch/pytorchvideo/pull/248\n\nTrying to trace a graph that used this Swish function with torchdynamo resulted\nin this error:\n```lang=text\ntorch._dynamo.variables.higher_order_ops: [WARNING] speculate_subgraph: while introspecting the user-defined autograd.Function, we were unable to trace function `trampoline_autograd_bwd` into a single graph.\nThis means that Dynamo was unable to prove safety for this API and will fall back to eager-mode PyTorch, which could lead to a slowdown.\ntorch._dynamo.exc.Unsupported: call_method GetAttrVariable(AutogradFunctionContextVariable(Function), saved_variables) __getitem__ (ConstantVariable(int),) {}\n```\n\nAccording to the modern pytorch tutorials, the attribute that should be used from the\nautograd context is `saved_tensors` instead, which fixes the trace issue I saw.\n\nI used this website for guidance:\nhttps://pytorch.org/docs/stable/generated/torch.autograd.function.FunctionCtx.save_for_backward.html\n\nDifferential Revision: D49398231\n\nfbshipit-source-id: 3627cd12ba7c3b7e4c4087cdb4125a665c09a039","shortMessageHtmlLink":"Use torchdynamo compatible backward API for Swish (#248)"}},{"before":"9cb61ad63893db86ed4d2815d79be76006363786","after":"64e5a17ccefcd6b93ad331d1a9c2a130f179ff44","ref":"refs/heads/main","pushedAt":"2023-08-26T21:34:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Del `(object)` from 200 inc vision/fair/mae_st/util/meters.py\n\nSummary: Python3 makes the use of `(object)` in class inheritance unnecessary. Let's modernize our code by eliminating this.\n\nReviewed By: itamaro\n\nDifferential Revision: D48673863\n\nfbshipit-source-id: 032d6028371f0350252e6b731c74f0f5933c83cd","shortMessageHtmlLink":"Del (object) from 200 inc vision/fair/mae_st/util/meters.py"}},{"before":"54e4ab601e70d860a60ed511a0fe79e0ab7ac247","after":"9cb61ad63893db86ed4d2815d79be76006363786","ref":"refs/heads/main","pushedAt":"2023-07-25T01:34:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Use logging.warning instead of logging.warn\n\nSummary:\nsee https://docs.python.org/3/library/logging.html#logging.warning\n\nquote:\n\n> There is an obsolete function warn which is functionally identical to warning. As warn is deprecated, please do not use it - use warning instead\n\nReviewed By: aleivag\n\nDifferential Revision: D47708572\n\nfbshipit-source-id: 99397adcdc9fae9c7548c85496064f16a4dd57a6","shortMessageHtmlLink":"Use logging.warning instead of logging.warn"}},{"before":"1730313bb5eda307657f971365de7a1359e1a68e","after":"54e4ab601e70d860a60ed511a0fe79e0ab7ac247","ref":"refs/heads/main","pushedAt":"2023-06-13T12:50:32.082Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"replace np.float with float [1]\n\nSummary:\n`numpy.float` has been deprecated and removed in numpy-1.20.0. It was an alias to the builtin `float` and should be safe to replace with `float`.\n\nThe whole change was mechanical with the following one-liner:\n```\nfbgr -sl '\\bnp\\.float\\b' | xargs perl -pi -e 's,\\bnp\\.float\\b,float,g'\n```\n\nDifferential Revision: D46609272\n\nfbshipit-source-id: 3dffc034f3d45a2a06143fca0a93db9b9c4a6feb","shortMessageHtmlLink":"replace np.float with float [1]"}},{"before":"1730313bb5eda307657f971365de7a1359e1a68e","after":"6aa08f7b1c1f77fedd62ef4964c3311c3c4bf219","ref":"refs/heads/haoqifan/ref","pushedAt":"2023-05-08T02:45:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"haooooooqi","name":"Haoqi Fan","path":"/haooooooqi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3500423?s=80&v=4"},"commit":{"message":"add reference","shortMessageHtmlLink":"add reference"}},{"before":null,"after":"1730313bb5eda307657f971365de7a1359e1a68e","ref":"refs/heads/haoqifan/ref","pushedAt":"2023-05-08T02:45:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"haooooooqi","name":"Haoqi Fan","path":"/haooooooqi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3500423?s=80&v=4"},"commit":{"message":"Replace third-party mock with unittest.mock] vision/fair\n\nReviewed By: bottler\n\nDifferential Revision: D45600232\n\nfbshipit-source-id: f41b95c6fca86d241666b54755a128cd33f6dd32","shortMessageHtmlLink":"Replace third-party mock with unittest.mock] vision/fair"}},{"before":"28fe037d212663c6a24f373b94cc5d478c8c1a1d","after":"1730313bb5eda307657f971365de7a1359e1a68e","ref":"refs/heads/main","pushedAt":"2023-05-05T16:43:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Replace third-party mock with unittest.mock] vision/fair\n\nReviewed By: bottler\n\nDifferential Revision: D45600232\n\nfbshipit-source-id: f41b95c6fca86d241666b54755a128cd33f6dd32","shortMessageHtmlLink":"Replace third-party mock with unittest.mock] vision/fair"}},{"before":"f7e7a88a9a04b70cb65a564acfc38538fe71ff7b","after":"28fe037d212663c6a24f373b94cc5d478c8c1a1d","ref":"refs/heads/main","pushedAt":"2023-04-14T23:32:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6422482?s=80&v=4"},"commit":{"message":"Replace hasattr with getattr in vision/fair/pytorchvideo/pytorchvideo/layers/attention.py\n\nSummary:\nThe pattern\n```\nX.Y if hasattr(X, \"Y\") else Z\n```\ncan be replaced with\n```\ngetattr(X, \"Y\", Z)\n```\n\nThe [getattr](https://www.w3schools.com/python/ref_func_getattr.asp) function gives more succinct code than the [hasattr](https://www.w3schools.com/python/ref_func_hasattr.asp) function. Please use it when appropriate.\n\n**This diff is very low risk. Green tests indicate that you can safely Accept & Ship.**\n\nDifferential Revision: D44886897\n\nfbshipit-source-id: f07821a6af6114cf74f9b10125593a19a1b8bdcb","shortMessageHtmlLink":"Replace hasattr with getattr in vision/fair/pytorchvideo/pytorchvideo…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAECsUXGAA","startCursor":null,"endCursor":null}},"title":"Activity · facebookresearch/pytorchvideo"}