{ "owner": "NVIDIA", "repo": "DeepLearningExamples", "number": 1272, "html_url": "https://github.com/NVIDIA/DeepLearningExamples/issues/1272", "is_pull_request": false, "state": "closed", "state_reason": "completed", "title": "[BERT/PyTorch]TypeError: gelu(): argument 'approximate' must be str, not bool", "author": "XianzheMa", "created_at": "2023-03-08T12:24:27Z", "updated_at": "2023-03-08T15:08:00Z", "closed_at": "2023-03-08T15:07:59Z", "labels": [ "bug" ], "milestone": null, "comments_count": 1, "reactions": { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "resolution_days": 0.11, "fix": { "closing_commit": null, "linked_prs": [], "best_guess_fix_commit": null, "has_fix": false }, "fetched_at": "2026-07-28T12:22:03.646479+00:00", "comments": [ { "author": "sharathts", "created_at": "2023-03-08T15:07:59Z", "body": "Yes, that change is need with >=22.01 containers.\r\n\r\nThis repo [uses](https://github.com/NVIDIA/DeepLearningExamples/blob/master/PyTorch/LanguageModeling/BERT/Dockerfile#L13) 21.11 and hence `approximate=True`" } ] }